BUG: sleeping function called from invalid context at drivers/usb/core/urb.c:705 in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 2854, name: udevd preempt_count: 101, expected: 0 RCU nest depth: 0, expected: 0 3 locks held by udevd/2854: #0: ffff888115f523f8 (sb_writers#6){.+.+}-{0:0}, at: open_last_lookups fs/namei.c:4578 [inline] (sb_writers#6){.+.+}-{0:0}, at: path_openat+0x9b1/0x31a0 fs/namei.c:4833 #1: ffff888115f71c10 (&type->i_mutex_dir_key #5){++++}-{4:4}, at: inode_lock include/linux/fs.h:1028 [inline] #5){++++}-{4:4}, at: open_last_lookups fs/namei.c:4586 [inline] #5){++++}-{4:4}, at: path_openat+0x220c/0x31a0 fs/namei.c:4833 #2: ffff888115f719d8 (&simple_offset_lock_class){+.+.}-{3:3}, at: spin_lock include/linux/spinlock.h:341 [inline] #2: ffff888115f719d8 (&simple_offset_lock_class){+.+.}-{3:3}, at: mtree_alloc_cyclic+0x117/0x1f0 lib/maple_tree.c:6091 irq event stamp: 16531397 hardirqs last enabled at (16531396): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:178 [inline] hardirqs last enabled at (16531396): [] _raw_spin_unlock_irqrestore+0x52/0x80 kernel/locking/spinlock.c:194 hardirqs last disabled at (16531397): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:130 [inline] hardirqs last disabled at (16531397): [] _raw_spin_lock_irqsave+0x52/0x60 kernel/locking/spinlock.c:162 softirqs last enabled at (16531376): [] __do_softirq kernel/softirq.c:656 [inline] softirqs last enabled at (16531376): [] invoke_softirq kernel/softirq.c:496 [inline] softirqs last enabled at (16531376): [] __irq_exit_rcu+0xed/0x150 kernel/softirq.c:723 softirqs last disabled at (16531389): [] __do_softirq kernel/softirq.c:656 [inline] softirqs last disabled at (16531389): [] invoke_softirq kernel/softirq.c:496 [inline] softirqs last disabled at (16531389): [] __irq_exit_rcu+0xed/0x150 kernel/softirq.c:723 Preemption disabled at: [<0000000000000000>] 0x0 CPU: 1 UID: 0 PID: 2854 Comm: udevd Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/18/2026 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120 __might_resched.cold+0x1ec/0x232 kernel/sched/core.c:8888 usb_kill_urb+0x8e/0x320 drivers/usb/core/urb.c:705 usb_tx_block+0x91/0x320 drivers/net/wireless/marvell/libertas/if_usb.c:429 if_usb_send_fw_pkt.isra.0+0x2e4/0x550 drivers/net/wireless/marvell/libertas/if_usb.c:366 if_usb_receive_fwload+0x5d3/0x780 drivers/net/wireless/marvell/libertas/if_usb.c:592 __usb_hcd_giveback_urb+0x38d/0x610 drivers/usb/core/hcd.c:1657 usb_hcd_giveback_urb+0x3ca/0x4a0 drivers/usb/core/hcd.c:1741 dummy_timer+0xda1/0x36c0 drivers/usb/gadget/udc/dummy_hcd.c:2005 __run_hrtimer kernel/time/hrtimer.c:1785 [inline] __hrtimer_run_queues+0x50e/0xa70 kernel/time/hrtimer.c:1849 hrtimer_run_softirq+0x17d/0x350 kernel/time/hrtimer.c:1866 handle_softirqs+0x1de/0x9d0 kernel/softirq.c:622 __do_softirq kernel/softirq.c:656 [inline] invoke_softirq kernel/softirq.c:496 [inline] __irq_exit_rcu+0xed/0x150 kernel/softirq.c:723 irq_exit_rcu+0x9/0x30 kernel/softirq.c:739 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1056 [inline] sysvec_apic_timer_interrupt+0x8f/0xb0 arch/x86/kernel/apic/apic.c:1056 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697 RIP: 0010:__sanitizer_cov_trace_pc+0xb/0x70 kernel/kcov.c:213 Code: 5b 00 be 03 00 00 00 5b e9 c2 fd 1a 01 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 65 8b 05 e5 73 43 0b <48> 8b 34 24 65 48 8b 15 c1 73 43 0b a9 00 01 ff 00 74 1b f6 c4 01 RSP: 0018:ffffc9000180f3b8 EFLAGS: 00000287 RAX: 0000000080000001 RBX: ffffc9000180f6c8 RCX: ffffffff8760c4bf RDX: 0000000000000000 RSI: 0000000000000300 RDI: ffff888117463b00 RBP: ffff8881173e260e R08: 0000000000000005 R09: 0000000000000300 R10: 0000000000000000 R11: 0000000000000000 R12: dffffc0000000000 R13: ffffc9000180f714 R14: ffffc9000180f710 R15: ffffc9000180f715 mt_locked lib/maple_tree.c:730 [inline] mas_root lib/maple_tree.c:780 [inline] mas_start+0x208/0x660 lib/maple_tree.c:1200 mas_empty_area+0x19c2/0x2450 lib/maple_tree.c:4749 mas_alloc_cyclic+0xd1/0x1c00 lib/maple_tree.c:4033 mtree_alloc_cyclic+0x13e/0x1f0 lib/maple_tree.c:6092 simple_offset_add+0xbf/0x180 fs/libfs.c:298 shmem_mknod+0x1b5/0x2e0 mm/shmem.c:3897 lookup_open.isra.0+0xc47/0x11b0 fs/namei.c:4489 open_last_lookups fs/namei.c:4589 [inline] path_openat+0x2291/0x31a0 fs/namei.c:4833 do_file_open+0x20e/0x430 fs/namei.c:4865 do_sys_openat2+0x10d/0x1e0 fs/open.c:1366 do_sys_open fs/open.c:1372 [inline] __do_sys_openat fs/open.c:1388 [inline] __se_sys_openat fs/open.c:1383 [inline] __x64_sys_openat+0x12d/0x210 fs/open.c:1383 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x106/0x7b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fe61552b407 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:00007ffce1aed5c0 EFLAGS: 00000202 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fe61543d880 RCX: 00007fe61552b407 RDX: 0000000000080141 RSI: 000055aaa6d2f02e RDI: ffffffffffffff9c RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000000001a4 R11: 0000000000000202 R12: 00000000ffffffff R13: 00000000ffffffff R14: ffffffffffffffff R15: 0000000000000000 BUG: scheduling while atomic: udevd/2854/0x00000102 3 locks held by udevd/2854: #0: ffff888115f523f8 (sb_writers#6){.+.+}-{0:0}, at: open_last_lookups fs/namei.c:4578 [inline] #0: ffff888115f523f8 (sb_writers#6){.+.+}-{0:0}, at: path_openat+0x9b1/0x31a0 fs/namei.c:4833 #1: ffff888115f71c10 (&type->i_mutex_dir_key#5){++++}-{4:4}, at: inode_lock include/linux/fs.h:1028 [inline] #1: ffff888115f71c10 (&type->i_mutex_dir_key#5){++++}-{4:4}, at: open_last_lookups fs/namei.c:4586 [inline] #1: ffff888115f71c10 (&type->i_mutex_dir_key#5){++++}-{4:4}, at: path_openat+0x220c/0x31a0 fs/namei.c:4833 #2: ffff888115f719d8 (&simple_offset_lock_class){+.+.}-{3:3}, at: spin_lock include/linux/spinlock.h:341 [inline] #2: ffff888115f719d8 (&simple_offset_lock_class){+.+.}-{3:3}, at: mtree_alloc_cyclic+0x117/0x1f0 lib/maple_tree.c:6091 Modules linked in: irq event stamp: 16531397 hardirqs last enabled at (16531396): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:178 [inline] hardirqs last enabled at (16531396): [] _raw_spin_unlock_irqrestore+0x52/0x80 kernel/locking/spinlock.c:194 hardirqs last disabled at (16531397): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:130 [inline] hardirqs last disabled at (16531397): [] _raw_spin_lock_irqsave+0x52/0x60 kernel/locking/spinlock.c:162 softirqs last enabled at (16531376): [] __do_softirq kernel/softirq.c:656 [inline] softirqs last enabled at (16531376): [] invoke_softirq kernel/softirq.c:496 [inline] softirqs last enabled at (16531376): [] __irq_exit_rcu+0xed/0x150 kernel/softirq.c:723 softirqs last disabled at (16531389): [] __do_softirq kernel/softirq.c:656 [inline] softirqs last disabled at (16531389): [] invoke_softirq kernel/softirq.c:496 [inline] softirqs last disabled at (16531389): [] __irq_exit_rcu+0xed/0x150 kernel/softirq.c:723 Preemption disabled at: [<0000000000000000>] 0x0 ---------------- Code disassembly (best guess): 0: 5b pop %rbx 1: 00 be 03 00 00 00 add %bh,0x3(%rsi) 7: 5b pop %rbx 8: e9 c2 fd 1a 01 jmp 0x11afdcf d: 66 90 xchg %ax,%ax f: 90 nop 10: 90 nop 11: 90 nop 12: 90 nop 13: 90 nop 14: 90 nop 15: 90 nop 16: 90 nop 17: 90 nop 18: 90 nop 19: 90 nop 1a: 90 nop 1b: 90 nop 1c: 90 nop 1d: 90 nop 1e: 90 nop 1f: f3 0f 1e fa endbr64 23: 65 8b 05 e5 73 43 0b mov %gs:0xb4373e5(%rip),%eax # 0xb43740f * 2a: 48 8b 34 24 mov (%rsp),%rsi <-- trapping instruction 2e: 65 48 8b 15 c1 73 43 mov %gs:0xb4373c1(%rip),%rdx # 0xb4373f7 35: 0b 36: a9 00 01 ff 00 test $0xff0100,%eax 3b: 74 1b je 0x58 3d: f6 c4 01 test $0x1,%ah