================================================ WARNING: lock held when returning to user space! syzkaller #0 Not tainted syzkaller #0 Not tainted ------------------------------------------------ udevd/5815 is leaving the kernel with locks still held! 1 lock held by udevd/5815: #0: ffffffff8dfc8140 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:300 [inline] #0: ffffffff8dfc8140 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:838 [inline] #0: ffffffff8dfc8140 (rcu_read_lock){....}-{1:3}, at: __pte_offset_map+0x29/0x200 mm/pgtable-generic.c:290 BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:323 in_atomic(): 0, irqs_disabled(): 0, non_block: 0, pid: 5815, name: udevd preempt_count: 0, expected: 0 RCU nest depth: 1, expected: 0 INFO: lockdep is turned off. CPU: 1 UID: 0 PID: 5815 Comm: udevd Not tainted syzkaller #0 PREEMPT_{RT,(full)} Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/18/2026 Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 __might_resched+0x329/0x480 kernel/sched/core.c:9162 might_alloc include/linux/sched/mm.h:323 [inline] slab_pre_alloc_hook mm/slub.c:4520 [inline] slab_alloc_node mm/slub.c:4875 [inline] kmem_cache_alloc_noprof+0x78/0x680 mm/slub.c:4905 alloc_filename fs/namei.c:142 [inline] do_getname+0x2e/0x250 fs/namei.c:182 getname include/linux/fs.h:2526 [inline] class_filename_constructor include/linux/fs.h:2553 [inline] do_sys_openat2+0xca/0x200 fs/open.c:1363 do_sys_open fs/open.c:1370 [inline] __do_sys_openat fs/open.c:1386 [inline] __se_sys_openat fs/open.c:1381 [inline] __x64_sys_openat+0x138/0x170 fs/open.c:1381 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x15f/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f3e83cad407 Code: 48 89 fa 4c 89 df e8 38 aa 00 00 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 1a 5b c3 0f 1f 84 00 00 00 00 00 48 8b 44 24 10 0f 05 <5b> c3 0f 1f 80 00 00 00 00 83 e2 39 83 fa 08 75 de e8 23 ff ff ff RSP: 002b:00007ffc50ea6100 EFLAGS: 00000202 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f3e83bbf880 RCX: 00007f3e83cad407 RDX: 0000000000080000 RSI: 00007ffc50ea6270 RDI: ffffffffffffff9c RBP: 0000000000000008 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 00005581680747f5 R13: 00005581680747f5 R14: 0000000000000001 R15: 000055816808f140 ------------[ cut here ]------------ Voluntary context switch within RCU read-side critical section! WARNING: kernel/rcu/tree_plugin.h:332 at rcu_note_context_switch+0xcac/0xf40 kernel/rcu/tree_plugin.h:332, CPU#1: udevd/5815 Modules linked in: CPU: 1 UID: 0 PID: 5815 Comm: udevd Tainted: G W syzkaller #0 PREEMPT_{RT,(full)} Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/18/2026 RIP: 0010:rcu_note_context_switch+0xcac/0xf40 kernel/rcu/tree_plugin.h:332 Code: 00 41 c6 45 00 00 48 8b 3d 81 8d e2 0d 48 81 c4 b8 00 00 00 5b 41 5c 41 5d 41 5e 41 5f 5d e9 9b 60 ff ff 48 8d 3d 84 56 e6 0d <67> 48 0f b9 3a e9 1b f4 ff ff 90 0f 0b 90 45 84 e4 0f 84 ea f3 ff RSP: 0018:ffffc900042277b0 EFLAGS: 00010002 RAX: 0000000000000000 RBX: ffff8880380c5c40 RCX: 0000000080000002 RDX: 0000000000000000 RSI: ffffffff8ba845c0 RDI: ffffffff8f90b6b0 RBP: dffffc0000000000 R08: ffffffff8f8d40f7 R09: 1ffffffff1f1a81e R10: dffffc0000000000 R11: fffffbfff1f1a81f R12: 0000000000000000 R13: ffff8880380c5c40 R14: ffff8880b873c980 R15: ffff8880380c6104 FS: 00007f3e83bbf880(0000) GS:ffff888125fb7000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055817049c0f0 CR3: 00000000316b0000 CR4: 00000000003526f0 Call Trace: __schedule+0x297/0x54f0 kernel/sched/core.c:7043 __schedule_loop kernel/sched/core.c:7267 [inline] schedule+0x164/0x360 kernel/sched/core.c:7282 schedule_hrtimeout_range_clock+0x1f2/0x330 kernel/time/sleep_timeout.c:207 ep_poll fs/eventpoll.c:2032 [inline] do_epoll_wait+0xa7a/0xbd0 fs/eventpoll.c:2466 __do_sys_epoll_wait fs/eventpoll.c:2474 [inline] __se_sys_epoll_wait fs/eventpoll.c:2469 [inline] __x64_sys_epoll_wait+0x1d7/0x230 fs/eventpoll.c:2469 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x15f/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f3e83cad407 Code: 48 89 fa 4c 89 df e8 38 aa 00 00 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 1a 5b c3 0f 1f 84 00 00 00 00 00 48 8b 44 24 10 0f 05 <5b> c3 0f 1f 80 00 00 00 00 83 e2 39 83 fa 08 75 de e8 23 ff ff ff RSP: 002b:00007ffc50eaa6f0 EFLAGS: 00000202 ORIG_RAX: 00000000000000e8 RAX: ffffffffffffffda RBX: 00007f3e83bbf880 RCX: 00007f3e83cad407 RDX: 0000000000000004 RSI: 00007ffc50eaa780 RDI: 0000000000000004 RBP: 0000558170484910 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffffffffffff R11: 0000000000000202 R12: 0000558170577bc0 R13: 00007ffc50eaa780 R14: 0000000000000000 R15: 0000000000000004 ---------------- Code disassembly (best guess): 0: 00 41 c6 add %al,-0x3a(%rcx) 3: 45 00 00 add %r8b,(%r8) 6: 48 8b 3d 81 8d e2 0d mov 0xde28d81(%rip),%rdi # 0xde28d8e d: 48 81 c4 b8 00 00 00 add $0xb8,%rsp 14: 5b pop %rbx 15: 41 5c pop %r12 17: 41 5d pop %r13 19: 41 5e pop %r14 1b: 41 5f pop %r15 1d: 5d pop %rbp 1e: e9 9b 60 ff ff jmp 0xffff60be 23: 48 8d 3d 84 56 e6 0d lea 0xde65684(%rip),%rdi # 0xde656ae * 2a: 67 48 0f b9 3a ud1 (%edx),%rdi <-- trapping instruction 2f: e9 1b f4 ff ff jmp 0xfffff44f 34: 90 nop 35: 0f 0b ud2 37: 90 nop 38: 45 84 e4 test %r12b,%r12b 3b: 0f .byte 0xf 3c: 84 ea test %ch,%dl 3e: f3 repz 3f: ff .byte 0xff