BUG: sleeping function called from invalid context at drivers/usb/core/urb.c:705 in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 10576, name: syz.4.1358 preempt_count: 101, expected: 0 RCU nest depth: 0, expected: 0 no locks held by syz.4.1358/10576. irq event stamp: 211 hardirqs last enabled at (210): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:178 [inline] hardirqs last enabled at (210): [] _raw_spin_unlock_irqrestore+0x52/0x80 kernel/locking/spinlock.c:194 hardirqs last disabled at (211): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:130 [inline] hardirqs last disabled at (211): [] _raw_spin_lock_irqsave+0x52/0x60 kernel/locking/spinlock.c:162 softirqs last enabled at (204): [] __do_softirq kernel/softirq.c:656 [inline] softirqs last enabled at (204): [] invoke_softirq kernel/softirq.c:496 [inline] softirqs last enabled at (204): [] __irq_exit_rcu+0xed/0x150 kernel/softirq.c:723 softirqs last disabled at (207): [] __do_softirq kernel/softirq.c:656 [inline] softirqs last disabled at (207): [] invoke_softirq kernel/softirq.c:496 [inline] softirqs last disabled at (207): [] __irq_exit_rcu+0xed/0x150 kernel/softirq.c:723 Preemption disabled at: [] alloc_from_pcs mm/slub.c:4711 [inline] [] slab_alloc_node mm/slub.c:4851 [inline] [] kmem_cache_alloc_noprof+0xb5/0x6a0 mm/slub.c:4873 CPU: 1 UID: 0 PID: 10576 Comm: syz.4.1358 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:in_lock_functions+0x0/0x20 kernel/locking/spinlock.c:408 Code: 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa c3 cc cc cc cc 0f 1f 80 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1e fa 31 c0 48 81 ff f0 7b 6c 87 72 0c 31 c0 48 81 ff 77 be RSP: 0018:ffffc90000557a60 EFLAGS: 00000246 RAX: 0000000000000001 RBX: ffffffff8764fa9c RCX: 1ffffffff2807360 RDX: 0000000000000001 RSI: ffffffff8764fa8e RDI: ffffffff8764fa9c RBP: ffff888134052900 R08: 00000000ffffffff R09: 0000000000000000 R10: ffff8881083d44b0 R11: 0000000000000000 R12: 1ffff920000aaf64 R13: 000000000000000b R14: ffff888134052f40 R15: ffff888101298068 get_lock_parent_ip include/linux/ftrace.h:1168 [inline] preempt_latency_start kernel/sched/core.c:5747 [inline] preempt_latency_start kernel/sched/core.c:5744 [inline] preempt_count_add+0x76/0x150 kernel/sched/core.c:5772 __radix_tree_preload+0x2c/0x820 lib/radix-tree.c:334 idr_preload+0x1b/0x240 lib/radix-tree.c:1471 __kernfs_new_node+0xf1/0x960 fs/kernfs/dir.c:641 kernfs_new_node+0x11b/0x1a0 fs/kernfs/dir.c:718 kernfs_create_link+0xcc/0x240 fs/kernfs/symlink.c:39 sysfs_do_create_link_sd+0x90/0x140 fs/sysfs/symlink.c:44 sysfs_do_create_link fs/sysfs/symlink.c:80 [inline] sysfs_create_link+0x61/0xc0 fs/sysfs/symlink.c:92 module_add_driver+0x1c0/0x420 drivers/base/module.c:74 bus_add_driver+0x34a/0x5b0 drivers/base/bus.c:760 driver_register+0x1e2/0x360 drivers/base/driver.c:249 usb_gadget_register_driver_owner+0x132/0x210 drivers/usb/gadget/udc/core.c:1720 raw_ioctl_run drivers/usb/gadget/legacy/raw_gadget.c:596 [inline] raw_ioctl+0x1a85/0x2b80 drivers/usb/gadget/legacy/raw_gadget.c:1307 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:0x7fd83a1fc4ab 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:00007fd838c0af00 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000007 RCX: 00007fd83a1fc4ab RDX: 0000000000000000 RSI: 0000000000005501 RDI: 0000000000000007 RBP: 00007fd838c0bfd0 R08: 0000000000000001 R09: 00000000ffffffff R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000200000000400 R14: 0000000000000003 R15: 00000000000021a0 BUG: scheduling while atomic: syz.4.1358/10576/0x00000102 no locks held by syz.4.1358/10576. Modules linked in: irq event stamp: 211 hardirqs last enabled at (210): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:178 [inline] hardirqs last enabled at (210): [] _raw_spin_unlock_irqrestore+0x52/0x80 kernel/locking/spinlock.c:194 hardirqs last disabled at (211): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:130 [inline] hardirqs last disabled at (211): [] _raw_spin_lock_irqsave+0x52/0x60 kernel/locking/spinlock.c:162 softirqs last enabled at (204): [] __do_softirq kernel/softirq.c:656 [inline] softirqs last enabled at (204): [] invoke_softirq kernel/softirq.c:496 [inline] softirqs last enabled at (204): [] __irq_exit_rcu+0xed/0x150 kernel/softirq.c:723 softirqs last disabled at (207): [] __do_softirq kernel/softirq.c:656 [inline] softirqs last disabled at (207): [] invoke_softirq kernel/softirq.c:496 [inline] softirqs last disabled at (207): [] __irq_exit_rcu+0xed/0x150 kernel/softirq.c:723 Preemption disabled at: [] alloc_from_pcs mm/slub.c:4711 [inline] [] slab_alloc_node mm/slub.c:4851 [inline] [] kmem_cache_alloc_noprof+0xb5/0x6a0 mm/slub.c:4873 ---------------- Code disassembly (best guess): 0: 90 nop 1: 90 nop 2: 90 nop 3: 90 nop 4: 90 nop 5: 90 nop 6: 90 nop 7: 90 nop 8: 90 nop 9: 90 nop a: f3 0f 1e fa endbr64 e: c3 ret f: cc int3 10: cc int3 11: cc int3 12: cc int3 13: 0f 1f 80 00 00 00 00 nopl 0x0(%rax) 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: 31 c0 xor %eax,%eax 30: 48 81 ff f0 7b 6c 87 cmp $0xffffffff876c7bf0,%rdi 37: 72 0c jb 0x45 39: 31 c0 xor %eax,%eax 3b: 48 rex.W 3c: 81 .byte 0x81 3d: ff 77 be push -0x42(%rdi)