BUG: sleeping function called from invalid context at drivers/usb/core/urb.c:705 in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 13308, name: syz.3.2308 preempt_count: 101, expected: 0 RCU nest depth: 0, expected: 0 no locks held by syz.3.2308/13308. irq event stamp: 125 hardirqs last enabled at (124): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:178 [inline] hardirqs last enabled at (124): [] _raw_spin_unlock_irqrestore+0x52/0x80 kernel/locking/spinlock.c:194 hardirqs last disabled at (125): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:130 [inline] hardirqs last disabled at (125): [] _raw_spin_lock_irqsave+0x52/0x60 kernel/locking/spinlock.c:162 softirqs last enabled at (108): [] __do_softirq kernel/softirq.c:656 [inline] softirqs last enabled at (108): [] invoke_softirq kernel/softirq.c:496 [inline] softirqs last enabled at (108): [] __irq_exit_rcu+0xed/0x150 kernel/softirq.c:723 softirqs last disabled at (117): [] __do_softirq kernel/softirq.c:656 [inline] softirqs last disabled at (117): [] invoke_softirq kernel/softirq.c:496 [inline] softirqs last disabled at (117): [] __irq_exit_rcu+0xed/0x150 kernel/softirq.c:723 Preemption disabled at: [<0000000000000000>] 0x0 CPU: 1 UID: 0 PID: 13308 Comm: syz.3.2308 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:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:179 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0x31/0x80 kernel/locking/spinlock.c:194 Code: f5 53 48 8b 74 24 10 48 89 fb 48 83 c7 18 e8 96 20 23 fa 48 89 df e8 7e 70 23 fa f7 c5 00 02 00 00 75 23 9c 58 f6 c4 02 75 37 01 00 00 00 e8 e5 e6 16 fa 65 8b 05 5e 5f 89 05 85 c0 74 16 5b RSP: 0018:ffffc900153cfc00 EFLAGS: 00000246 RAX: 0000000000000002 RBX: ffff88810af14000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff89022879 RDI: ffffffff87afc6a0 RBP: 0000000000000246 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000000 R13: ffff88810af14568 R14: ffff88810af14568 R15: ffff8881177d1f6c spin_unlock_irqrestore include/linux/spinlock.h:407 [inline] dummy_queue+0x3c5/0xb90 drivers/usb/gadget/udc/dummy_hcd.c:744 usb_ep_queue+0xfa/0x3e0 drivers/usb/gadget/udc/core.c:303 raw_process_ep_io+0x64d/0xc40 drivers/usb/gadget/legacy/raw_gadget.c:1114 raw_ioctl_ep_write drivers/usb/gadget/legacy/raw_gadget.c:1153 [inline] raw_ioctl+0x25a/0x2b80 drivers/usb/gadget/legacy/raw_gadget.c:1325 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:597 [inline] __se_sys_ioctl fs/ioctl.c:583 [inline] __x64_sys_ioctl+0x18e/0x210 fs/ioctl.c:583 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:0x7fd0c33bc42b Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60 c7 04 24 10 00 00 00 48 89 44 24 08 48 8d 44 24 20 48 89 44 24 10 b8 10 00 00 00 0f 05 <89> c2 3d 00 f0 ff ff 77 1c 48 8b 44 24 18 64 48 2b 04 25 28 00 00 RSP: 002b:00007fd0c1decf60 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fd0c33bc42b RDX: 00007fd0c1decfe0 RSI: 0000000040085507 RDI: 0000000000000003 RBP: 0000000000000003 R08: 00007fd0c3760320 R09: 0000000000000000 R10: 0000000000000003 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000a R14: 00007fd0c3636090 R15: 00007ffdaa6480d8 BUG: scheduling while atomic: syz.3.2308/13308/0x00000102 no locks held by syz.3.2308/13308. Modules linked in: irq event stamp: 125 hardirqs last enabled at (124): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:178 [inline] hardirqs last enabled at (124): [] _raw_spin_unlock_irqrestore+0x52/0x80 kernel/locking/spinlock.c:194 hardirqs last disabled at (125): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:130 [inline] hardirqs last disabled at (125): [] _raw_spin_lock_irqsave+0x52/0x60 kernel/locking/spinlock.c:162 softirqs last enabled at (108): [] __do_softirq kernel/softirq.c:656 [inline] softirqs last enabled at (108): [] invoke_softirq kernel/softirq.c:496 [inline] softirqs last enabled at (108): [] __irq_exit_rcu+0xed/0x150 kernel/softirq.c:723 softirqs last disabled at (117): [] __do_softirq kernel/softirq.c:656 [inline] softirqs last disabled at (117): [] invoke_softirq kernel/softirq.c:496 [inline] softirqs last disabled at (117): [] __irq_exit_rcu+0xed/0x150 kernel/softirq.c:723 Preemption disabled at: [<0000000000000000>] 0x0 ---------------- Code disassembly (best guess): 0: f5 cmc 1: 53 push %rbx 2: 48 8b 74 24 10 mov 0x10(%rsp),%rsi 7: 48 89 fb mov %rdi,%rbx a: 48 83 c7 18 add $0x18,%rdi e: e8 96 20 23 fa call 0xfa2320a9 13: 48 89 df mov %rbx,%rdi 16: e8 7e 70 23 fa call 0xfa237099 1b: f7 c5 00 02 00 00 test $0x200,%ebp 21: 75 23 jne 0x46 23: 9c pushf 24: 58 pop %rax 25: f6 c4 02 test $0x2,%ah 28: 75 37 jne 0x61 * 2a: bf 01 00 00 00 mov $0x1,%edi <-- trapping instruction 2f: e8 e5 e6 16 fa call 0xfa16e719 34: 65 8b 05 5e 5f 89 05 mov %gs:0x5895f5e(%rip),%eax # 0x5895f99 3b: 85 c0 test %eax,%eax 3d: 74 16 je 0x55 3f: 5b pop %rbx