BUG: sleeping function called from invalid context at drivers/usb/core/urb.c:705 in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 6806, name: syz.0.406 preempt_count: 101, expected: 0 RCU nest depth: 0, expected: 0 1 lock held by syz.0.406/6806: #0: ffffffff89416818 (cdev_lock){+.+.}-{3:3} , at: spin_lock include/linux/spinlock.h:341 [inline] , at: chrdev_open+0x7e/0x6a0 fs/char_dev.c:377 irq event stamp: 239 hardirqs last enabled at (238): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:178 [inline] hardirqs last enabled at (238): [] _raw_spin_unlock_irqrestore+0x52/0x80 kernel/locking/spinlock.c:194 hardirqs last disabled at (239): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:130 [inline] hardirqs last disabled at (239): [] _raw_spin_lock_irqsave+0x52/0x60 kernel/locking/spinlock.c:162 softirqs last enabled at (216): [] __do_softirq kernel/softirq.c:656 [inline] softirqs last enabled at (216): [] invoke_softirq kernel/softirq.c:496 [inline] softirqs last enabled at (216): [] __irq_exit_rcu+0xed/0x150 kernel/softirq.c:723 softirqs last disabled at (235): [] __do_softirq kernel/softirq.c:656 [inline] softirqs last disabled at (235): [] invoke_softirq kernel/softirq.c:496 [inline] softirqs last disabled at (235): [] __irq_exit_rcu+0xed/0x150 kernel/softirq.c:723 Preemption disabled at: [<0000000000000000>] 0x0 CPU: 0 UID: 0 PID: 6806 Comm: syz.0.406 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/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+0xd85/0x3670 drivers/usb/gadget/udc/dummy_hcd.c:1995 __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:lock_acquire+0x5e/0x380 kernel/locking/lockdep.c:5872 Code: 05 3b 44 66 0b 83 f8 07 0f 87 f0 00 00 00 48 0f a3 05 c6 20 61 09 0f 82 c2 02 00 00 8b 35 6e 30 61 09 85 f6 0f 85 dd 00 00 00 <48> 8b 44 24 30 65 48 2b 05 dd 43 66 0b 0f 85 02 03 00 00 48 83 c4 RSP: 0018:ffffc90014e8f898 EFLAGS: 00000206 RAX: 0000000000000046 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff890010b3 RDI: ffffffff87afc6a0 RBP: ffffffff89416818 R08: 00000000b9209fe4 R09: 000000000000038d R10: 0000000000000200 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000000 __raw_spin_lock include/linux/spinlock_api_smp.h:158 [inline] _raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:341 [inline] chrdev_open+0x7e/0x6a0 fs/char_dev.c:377 do_dentry_open+0x68b/0x14b0 fs/open.c:949 vfs_open+0x82/0x3f0 fs/open.c:1081 do_open fs/namei.c:4671 [inline] path_openat+0x208c/0x31a0 fs/namei.c:4830 do_file_open+0x20e/0x430 fs/namei.c:4859 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:0x7f1084f9d04e Code: 08 0f 85 a5 a8 ff ff 49 89 fb 48 89 f0 48 89 d7 48 89 ce 4c 89 c2 4d 89 ca 4c 8b 44 24 08 4c 8b 4c 24 10 4c 89 5c 24 08 0f 05 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 80 00 00 00 00 48 83 ec 08 RSP: 002b:00007f10839f2ea8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f10839f56c0 RCX: 00007f1084f9d04e RDX: 0000000000000002 RSI: 00007f1085071f88 RDI: ffffffffffffff9c RBP: 00007f1085072c91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000000002e R13: 0000200000000180 R14: 0000000000000000 R15: 00007ffc30009e18 BUG: scheduling while atomic: syz.0.406/6806/0x00000102 1 lock held by syz.0.406/6806: #0: ffffffff89416818 (cdev_lock){+.+.}-{3:3}, at: spin_lock include/linux/spinlock.h:341 [inline] #0: ffffffff89416818 (cdev_lock){+.+.}-{3:3}, at: chrdev_open+0x7e/0x6a0 fs/char_dev.c:377 Modules linked in: irq event stamp: 239 hardirqs last enabled at (238): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:178 [inline] hardirqs last enabled at (238): [] _raw_spin_unlock_irqrestore+0x52/0x80 kernel/locking/spinlock.c:194 hardirqs last disabled at (239): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:130 [inline] hardirqs last disabled at (239): [] _raw_spin_lock_irqsave+0x52/0x60 kernel/locking/spinlock.c:162 softirqs last enabled at (216): [] __do_softirq kernel/softirq.c:656 [inline] softirqs last enabled at (216): [] invoke_softirq kernel/softirq.c:496 [inline] softirqs last enabled at (216): [] __irq_exit_rcu+0xed/0x150 kernel/softirq.c:723 softirqs last disabled at (235): [] __do_softirq kernel/softirq.c:656 [inline] softirqs last disabled at (235): [] invoke_softirq kernel/softirq.c:496 [inline] softirqs last disabled at (235): [] __irq_exit_rcu+0xed/0x150 kernel/softirq.c:723 Preemption disabled at: [<0000000000000000>] 0x0 ---------------- Code disassembly (best guess): 0: 05 3b 44 66 0b add $0xb66443b,%eax 5: 83 f8 07 cmp $0x7,%eax 8: 0f 87 f0 00 00 00 ja 0xfe e: 48 0f a3 05 c6 20 61 bt %rax,0x96120c6(%rip) # 0x96120dc 15: 09 16: 0f 82 c2 02 00 00 jb 0x2de 1c: 8b 35 6e 30 61 09 mov 0x961306e(%rip),%esi # 0x9613090 22: 85 f6 test %esi,%esi 24: 0f 85 dd 00 00 00 jne 0x107 * 2a: 48 8b 44 24 30 mov 0x30(%rsp),%rax <-- trapping instruction 2f: 65 48 2b 05 dd 43 66 sub %gs:0xb6643dd(%rip),%rax # 0xb664414 36: 0b 37: 0f 85 02 03 00 00 jne 0x33f 3d: 48 rex.W 3e: 83 .byte 0x83 3f: c4 .byte 0xc4