BUG: sleeping function called from invalid context at kernel/workqueue.c: BUG: sleeping function called from invalid context at kernel/workqueue.c:4561 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 5651, name: udevd preempt_count: 101, expected: 0 RCU nest depth: 0, expected: 0 locks held by udevd/5651: 4, last CPU#1: #0: ffff8880335c4460 (sb_writers#5){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:494 #1: ffff888036b70890 (&type->i_mutex_dir_key#5){++++}-{4:4}, at: inode_lock include/linux/fs.h:1024 [inline] #1: ffff888036b70890 (&type->i_mutex_dir_key#5){++++}-{4:4}, at: lookup_open+0x242/0x1a40 fs/namei.c:4458 #2: ffff888036b70680 (&simple_offset_lock_class){+.+.}-{3:3}, at: spin_lock include/linux/spinlock.h:347 [inline] #2: ffff888036b70680 (&simple_offset_lock_class){+.+.}-{3:3}, at: mtree_alloc_cyclic+0x198/0x270 lib/maple_tree.c:6015 #3: ffffc90000a18cc0 ((&vub300->inactivity_timer)){+.-.}-{0:0}, at: call_timer_fn+0xd5/0x5f0 kernel/time/timer.c:1745 Preemption disabled at: [<0000000000000000>] 0x0 CPU: 1 UID: 0 PID: 5651 Comm: udevd Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 __might_resched+0x36a/0x4c0 kernel/sched/core.c:9264 __cancel_work_sync+0x6d/0x110 kernel/workqueue.c:4561 mmc_free_host+0x19/0x40 drivers/mmc/core/host.c:700 call_timer_fn+0x18d/0x5f0 kernel/time/timer.c:1748 expire_timers kernel/time/timer.c:1799 [inline] __run_timers kernel/time/timer.c:2374 [inline] __run_timer_base+0x652/0x8b0 kernel/time/timer.c:2386 run_timer_base kernel/time/timer.c:2395 [inline] run_timer_softirq+0xb7/0x170 kernel/time/timer.c:2405 handle_softirqs+0x226/0x860 kernel/softirq.c:645 __do_softirq kernel/softirq.c:679 [inline] invoke_softirq kernel/softirq.c:519 [inline] __irq_exit_rcu+0xcb/0x220 kernel/softirq.c:758 irq_exit_rcu+0x9/0x30 kernel/softirq.c:775 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1062 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1062 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674 RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x80 kernel/kcov.c:206 Code: 89 fb e8 23 00 00 00 48 8b 3d 14 91 a6 0c 48 89 de 5b e9 63 8f 64 00 cc cc cc 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1e fa 48 8b 04 24 65 48 8b 0d a8 80 cd 11 65 48 8b 15 a8 80 RSP: 0018:ffffc90003a2f4d0 EFLAGS: 00000202 RAX: ffffffff8bde5ed8 RBX: 0000000000000001 RCX: ffff8880780cbe80 RDX: 0000000000000000 RSI: 00000000000006d4 RDI: 0000000000000af4 RBP: dffffc0000000000 R08: ffff8880780cbe80 R09: 0000000000000004 R10: 0000000000000004 R11: 0000000000000000 R12: 0000000000000af4 R13: 0000000000000001 R14: 00000000000006d4 R15: ffffc90003a2f7c8 mas_anode_descend lib/maple_tree.c:4408 [inline] mas_awalk lib/maple_tree.c:4544 [inline] mas_empty_area+0xde2/0x2290 lib/maple_tree.c:4621 mas_alloc_cyclic+0x140/0xb20 lib/maple_tree.c:3889 mtree_alloc_cyclic+0x1bd/0x270 lib/maple_tree.c:6016 simple_offset_add+0xe2/0x190 fs/libfs.c:296 shmem_mknod+0x21e/0x340 mm/shmem.c:3846 lookup_open+0xc0d/0x1a40 fs/namei.c:4567 open_last_lookups fs/namei.c:4767 [inline] path_openat+0x677/0x1d60 fs/namei.c:4997 do_file_open+0x23e/0x4a0 fs/namei.c:5029 do_sys_openat2+0x115/0x200 fs/open.c:1417 do_sys_open fs/open.c:1423 [inline] __do_sys_openat fs/open.c:1439 [inline] __se_sys_openat fs/open.c:1434 [inline] __x64_sys_openat+0x138/0x170 fs/open.c:1434 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fb5642a7407 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:00007ffd107f0180 EFLAGS: 00000202 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fb564a10880 RCX: 00007fb5642a7407 RDX: 0000000000080241 RSI: 00007ffd107f06e0 RDI: ffffffffffffff9c RBP: 0000000000000004 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000000001b6 R11: 0000000000000202 R12: 000055658fddfdfc R13: 000055658fddfdfc R14: 0000000000000001 R15: 000055658fdfa140 ODEBUG: object ffffc90000a18a80 is NOT on stack ffffc90003a28000, but annotated. ------------[ cut here ]------------ 1 WARNING: lib/debugobjects.c:672 at debug_object_is_on_stack lib/debugobjects.c:672 [inline], CPU#1: udevd/5651 WARNING: lib/debugobjects.c:672 at lookup_object_or_alloc lib/debugobjects.c:705 [inline], CPU#1: udevd/5651 WARNING: lib/debugobjects.c:672 at __debug_object_init+0x2c4/0x3c0 lib/debugobjects.c:798, CPU#1: udevd/5651 Modules linked in: CPU: 1 UID: 0 PID: 5651 Comm: udevd Tainted: G W syzkaller #0 PREEMPT(full) Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 RIP: 0010:debug_object_is_on_stack lib/debugobjects.c:672 [inline] RIP: 0010:lookup_object_or_alloc lib/debugobjects.c:705 [inline] RIP: 0010:__debug_object_init+0x2c4/0x3c0 lib/debugobjects.c:798 Code: cc cc cc 41 ff c7 44 89 3d 49 00 e8 15 48 c7 c1 80 b6 6d 8c 48 c7 c7 e0 b6 6d 8c 84 c0 48 0f 45 f9 48 89 de e8 8d 62 3c fc 90 <0f> 0b 90 e9 c0 fe ff ff e8 4f 1c 00 00 8b 05 e1 6a 6d 0a 3b 05 df RSP: 0018:ffffc90000a189b8 EFLAGS: 00010046 RAX: 0000000000000050 RBX: ffffc90000a18a80 RCX: 451c06d8f9a1ee00 RDX: 0000000000000100 RSI: 0000000000000100 RDI: 0000000000000000 RBP: ffff8880780cbea0 R08: 0000000000000100 R09: 0000000000000001 R10: dffffc0000000000 R11: fffff520001430b9 R12: ffff888142eb1da8 R13: ffff888078c90700 R14: dffffc0000000000 R15: 0000000000000001 FS: 00007fb564a10880(0000) GS:ffff888124dc7000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005625f242a168 CR3: 000000007ccee000 CR4: 00000000003526f0 Call Trace: __synchronize_srcu+0x1d5/0x2f0 kernel/rcu/srcutree.c:1475 wakeup_source_remove drivers/base/power/wakeup.c:201 [inline] wakeup_source_unregister+0x129/0x3f0 drivers/base/power/wakeup.c:237 mmc_host_classdev_release+0x47/0x100 drivers/mmc/core/host.c:69 device_release+0xc4/0x1f0 drivers/base/core.c:-1 kobject_cleanup lib/kobject.c:689 [inline] kobject_release lib/kobject.c:720 [inline] kref_put include/linux/kref.h:65 [inline] kobject_put+0x222/0x550 lib/kobject.c:737 call_timer_fn+0x18d/0x5f0 kernel/time/timer.c:1748 expire_timers kernel/time/timer.c:1799 [inline] __run_timers kernel/time/timer.c:2374 [inline] __run_timer_base+0x652/0x8b0 kernel/time/timer.c:2386 run_timer_base kernel/time/timer.c:2395 [inline] run_timer_softirq+0xb7/0x170 kernel/time/timer.c:2405 handle_softirqs+0x226/0x860 kernel/softirq.c:645 __do_softirq kernel/softirq.c:679 [inline] invoke_softirq kernel/softirq.c:519 [inline] __irq_exit_rcu+0xcb/0x220 kernel/softirq.c:758 irq_exit_rcu+0x9/0x30 kernel/softirq.c:775 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1062 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1062 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674 RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x80 kernel/kcov.c:206 Code: 89 fb e8 23 00 00 00 48 8b 3d 14 91 a6 0c 48 89 de 5b e9 63 8f 64 00 cc cc cc 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1e fa 48 8b 04 24 65 48 8b 0d a8 80 cd 11 65 48 8b 15 a8 80 RSP: 0018:ffffc90003a2f4d0 EFLAGS: 00000202 RAX: ffffffff8bde5ed8 RBX: 0000000000000001 RCX: ffff8880780cbe80 RDX: 0000000000000000 RSI: 00000000000006d4 RDI: 0000000000000af4 RBP: dffffc0000000000 R08: ffff8880780cbe80 R09: 0000000000000004 R10: 0000000000000004 R11: 0000000000000000 R12: 0000000000000af4 R13: 0000000000000001 R14: 00000000000006d4 R15: ffffc90003a2f7c8 mas_anode_descend lib/maple_tree.c:4408 [inline] mas_awalk lib/maple_tree.c:4544 [inline] mas_empty_area+0xde2/0x2290 lib/maple_tree.c:4621 mas_alloc_cyclic+0x140/0xb20 lib/maple_tree.c:3889 mtree_alloc_cyclic+0x1bd/0x270 lib/maple_tree.c:6016 simple_offset_add+0xe2/0x190 fs/libfs.c:296 shmem_mknod+0x21e/0x340 mm/shmem.c:3846 lookup_open+0xc0d/0x1a40 fs/namei.c:4567 open_last_lookups fs/namei.c:4767 [inline] path_openat+0x677/0x1d60 fs/namei.c:4997 do_file_open+0x23e/0x4a0 fs/namei.c:5029 do_sys_openat2+0x115/0x200 fs/open.c:1417 do_sys_open fs/open.c:1423 [inline] __do_sys_openat fs/open.c:1439 [inline] __se_sys_openat fs/open.c:1434 [inline] __x64_sys_openat+0x138/0x170 fs/open.c:1434 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fb5642a7407 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:00007ffd107f0180 EFLAGS: 00000202 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fb564a10880 RCX: 00007fb5642a7407 RDX: 0000000000080241 RSI: 00007ffd107f06e0 RDI: ffffffffffffff9c RBP: 0000000000000004 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000000001b6 R11: 0000000000000202 R12: 000055658fddfdfc R13: 000055658fddfdfc R14: 0000000000000001 R15: 000055658fdfa140 ---------------- Code disassembly (best guess): 0: 89 fb mov %edi,%ebx 2: e8 23 00 00 00 call 0x2a 7: 48 8b 3d 14 91 a6 0c mov 0xca69114(%rip),%rdi # 0xca69122 e: 48 89 de mov %rbx,%rsi 11: 5b pop %rbx 12: e9 63 8f 64 00 jmp 0x648f7a 17: cc int3 18: cc int3 19: cc int3 1a: 90 nop 1b: 90 nop 1c: 90 nop 1d: 90 nop 1e: 90 nop 1f: 90 nop 20: 90 nop 21: 90 nop 22: 90 nop 23: 90 nop 24: 90 nop 25: 90 nop 26: 90 nop 27: 90 nop 28: 90 nop 29: 90 nop * 2a: f3 0f 1e fa endbr64 <-- trapping instruction 2e: 48 8b 04 24 mov (%rsp),%rax 32: 65 48 8b 0d a8 80 cd mov %gs:0x11cd80a8(%rip),%rcx # 0x11cd80e2 39: 11 3a: 65 gs 3b: 48 rex.W 3c: 8b .byte 0x8b 3d: 15 .byte 0x15 3e: a8 80 test $0x80,%al