BUG: sleeping function called from invalid context at drivers/usb/core/urb.c:705 in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 10, name: kworker/0:1 preempt_count: 100, expected: 0 RCU nest depth: 1, expected: 0 5 locks held by kworker/0:1/10: #0: ffff888105ecb548 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x1310/0x19a0 kernel/workqueue.c:3251 #1: ffffc900000afd18 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x988/0x19a0 kernel/workqueue.c:3252 #2: ffff88810b7b21e0 (&dev->mutex ){....}-{4:4}, at: device_lock include/linux/device.h:949 [inline] ){....}-{4:4}, at: hub_event+0x1bd/0x4af0 drivers/usb/core/hub.c:5899 #3: ffff888101298188 (&root->kernfs_rwsem){++++}-{4:4}, at: kernfs_add_one+0x38/0x850 fs/kernfs/dir.c:796 #4: ffffffff896de760 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:312 [inline] #4: ffffffff896de760 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:850 [inline] #4: ffffffff896de760 (rcu_read_lock){....}-{1:3}, at: class_rcu_constructor include/linux/rcupdate.h:1193 [inline] #4: ffffffff896de760 (rcu_read_lock){....}-{1:3}, at: kernfs_root+0x23/0x2a0 fs/kernfs/kernfs-internal.h:75 irq event stamp: 1362975 hardirqs last enabled at (1362974): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:178 [inline] hardirqs last enabled at (1362974): [] _raw_spin_unlock_irqrestore+0x52/0x80 kernel/locking/spinlock.c:194 hardirqs last disabled at (1362975): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:130 [inline] hardirqs last disabled at (1362975): [] _raw_spin_lock_irqsave+0x52/0x60 kernel/locking/spinlock.c:162 softirqs last enabled at (1362958): [] __do_softirq kernel/softirq.c:656 [inline] softirqs last enabled at (1362958): [] invoke_softirq kernel/softirq.c:496 [inline] softirqs last enabled at (1362958): [] __irq_exit_rcu+0xed/0x150 kernel/softirq.c:723 softirqs last disabled at (1362961): [] __do_softirq kernel/softirq.c:656 [inline] softirqs last disabled at (1362961): [] invoke_softirq kernel/softirq.c:496 [inline] softirqs last disabled at (1362961): [] __irq_exit_rcu+0xed/0x150 kernel/softirq.c:723 Preemption disabled at: [] softirq_handle_begin kernel/softirq.c:463 [inline] [] handle_softirqs+0xf5/0x9d0 kernel/softirq.c:598 CPU: 0 UID: 0 PID: 10 Comm: kworker/0:1 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/18/2026 Workqueue: usb_hub_wq hub_event 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:lock_acquire+0x5e/0x380 kernel/locking/lockdep.c:5872 Code: 05 3b 98 66 0b 83 f8 07 0f 87 f0 00 00 00 48 0f a3 05 c6 47 61 09 0f 82 c2 02 00 00 8b 35 6e 57 61 09 85 f6 0f 85 dd 00 00 00 <48> 8b 44 24 30 65 48 2b 05 dd 97 66 0b 0f 85 02 03 00 00 48 83 c4 RSP: 0018:ffffc900000af580 EFLAGS: 00000206 RAX: 0000000000000046 RBX: 0000000000000000 RCX: 0000000000000004 RDX: 0000000000000000 RSI: ffffffff890036c1 RDI: ffffffff87afd320 RBP: ffffffff896de760 R08: 00000000c63a17ef R09: 0000000000000007 R10: 0000000000000200 R11: 0000000000000000 R12: 0000000000000002 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 rcu_lock_acquire include/linux/rcupdate.h:312 [inline] rcu_read_lock include/linux/rcupdate.h:850 [inline] class_rcu_constructor include/linux/rcupdate.h:1193 [inline] kernfs_root+0x34/0x2a0 fs/kernfs/kernfs-internal.h:75 kernfs_root_is_locked fs/kernfs/kernfs-internal.h:109 [inline] kernfs_rcu_name fs/kernfs/kernfs-internal.h:119 [inline] kernfs_add_one+0x595/0x850 fs/kernfs/dir.c:813 __kernfs_create_file+0x295/0x350 fs/kernfs/file.c:1086 sysfs_add_file_mode_ns+0x207/0x3c0 fs/sysfs/file.c:313 sysfs_merge_group+0x194/0x340 fs/sysfs/group.c:382 dpm_sysfs_add+0x237/0x280 drivers/base/power/sysfs.c:704 device_add+0x9ef/0x1950 drivers/base/core.c:3651 usb_create_ep_devs+0x160/0x2b0 drivers/usb/core/endpoint.c:162 usb_new_device.cold+0xcf3/0x115c drivers/usb/core/hub.c:2725 hub_port_connect drivers/usb/core/hub.c:5567 [inline] hub_port_connect_change drivers/usb/core/hub.c:5707 [inline] port_event drivers/usb/core/hub.c:5871 [inline] hub_event+0x314d/0x4af0 drivers/usb/core/hub.c:5953 process_one_work+0xa23/0x19a0 kernel/workqueue.c:3276 process_scheduled_works kernel/workqueue.c:3359 [inline] worker_thread+0x5ef/0xe50 kernel/workqueue.c:3440 kthread+0x370/0x450 kernel/kthread.c:436 ret_from_fork+0x6c3/0xcb0 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 BUG: scheduling while atomic: kworker/0:1/10/0x00000101 5 locks held by kworker/0:1/10: #0: ffff888105ecb548 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x1310/0x19a0 kernel/workqueue.c:3251 #1: ffffc900000afd18 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x988/0x19a0 kernel/workqueue.c:3252 #2: ffff88810b7b21e0 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:949 [inline] #2: ffff88810b7b21e0 (&dev->mutex){....}-{4:4}, at: hub_event+0x1bd/0x4af0 drivers/usb/core/hub.c:5899 #3: ffff888101298188 (&root->kernfs_rwsem){++++}-{4:4}, at: kernfs_add_one+0x38/0x850 fs/kernfs/dir.c:796 #4: ffffffff896de760 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:312 [inline] #4: ffffffff896de760 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:850 [inline] #4: ffffffff896de760 (rcu_read_lock){....}-{1:3}, at: class_rcu_constructor include/linux/rcupdate.h:1193 [inline] #4: ffffffff896de760 (rcu_read_lock){....}-{1:3}, at: kernfs_root+0x23/0x2a0 fs/kernfs/kernfs-internal.h:75 Modules linked in: irq event stamp: 1362975 hardirqs last enabled at (1362974): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:178 [inline] hardirqs last enabled at (1362974): [] _raw_spin_unlock_irqrestore+0x52/0x80 kernel/locking/spinlock.c:194 hardirqs last disabled at (1362975): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:130 [inline] hardirqs last disabled at (1362975): [] _raw_spin_lock_irqsave+0x52/0x60 kernel/locking/spinlock.c:162 softirqs last enabled at (1362958): [] __do_softirq kernel/softirq.c:656 [inline] softirqs last enabled at (1362958): [] invoke_softirq kernel/softirq.c:496 [inline] softirqs last enabled at (1362958): [] __irq_exit_rcu+0xed/0x150 kernel/softirq.c:723 softirqs last disabled at (1362961): [] __do_softirq kernel/softirq.c:656 [inline] softirqs last disabled at (1362961): [] invoke_softirq kernel/softirq.c:496 [inline] softirqs last disabled at (1362961): [] __irq_exit_rcu+0xed/0x150 kernel/softirq.c:723 Preemption disabled at: [] softirq_handle_begin kernel/softirq.c:463 [inline] [] handle_softirqs+0xf5/0x9d0 kernel/softirq.c:598 ---------------- Code disassembly (best guess): 0: 05 3b 98 66 0b add $0xb66983b,%eax 5: 83 f8 07 cmp $0x7,%eax 8: 0f 87 f0 00 00 00 ja 0xfe e: 48 0f a3 05 c6 47 61 bt %rax,0x96147c6(%rip) # 0x96147dc 15: 09 16: 0f 82 c2 02 00 00 jb 0x2de 1c: 8b 35 6e 57 61 09 mov 0x961576e(%rip),%esi # 0x9615790 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 97 66 sub %gs:0xb6697dd(%rip),%rax # 0xb669814 36: 0b 37: 0f 85 02 03 00 00 jne 0x33f 3d: 48 rex.W 3e: 83 .byte 0x83 3f: c4 .byte 0xc4