BUG: sleeping function called from invalid context at drivers/usb/core/urb.c:705 in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 2844, name: klogd preempt_count: 101, expected: 0 RCU nest depth: 0, expected: 0 no locks held by klogd/2844. irq event stamp: 2901789 hardirqs last enabled at (2901788): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:178 [inline] hardirqs last enabled at (2901788): [] _raw_spin_unlock_irqrestore+0x52/0x80 kernel/locking/spinlock.c:194 hardirqs last disabled at (2901789): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:130 [inline] hardirqs last disabled at (2901789): [] _raw_spin_lock_irqsave+0x52/0x60 kernel/locking/spinlock.c:162 softirqs last enabled at (2901774): [] do_softirq kernel/softirq.c:523 [inline] softirqs last enabled at (2901774): [] do_softirq+0xac/0xe0 kernel/softirq.c:510 softirqs last disabled at (2901785): [] __do_softirq kernel/softirq.c:656 [inline] softirqs last disabled at (2901785): [] invoke_softirq kernel/softirq.c:496 [inline] softirqs last disabled at (2901785): [] __irq_exit_rcu+0xed/0x150 kernel/softirq.c:723 Preemption disabled at: [<0000000000000000>] 0x0 CPU: 0 UID: 0 PID: 2844 Comm: klogd 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:ffffc9000172fb00 EFLAGS: 00000246 RAX: 0000000000000006 RBX: ffffffff896e9b80 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff89022879 RDI: ffffffff87afc6a0 RBP: 0000000000000246 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 1ffffffff12dd389 R12: ffffffff896e9c58 R13: 0000000000000000 R14: ffffffff896e9b80 R15: ffff888108710000 rcu_preempt_deferred_qs_irqrestore+0x4fd/0xb90 kernel/rcu/tree_plugin.h:573 rcu_read_unlock_special kernel/rcu/tree_plugin.h:772 [inline] __rcu_read_unlock+0x27f/0x5e0 kernel/rcu/tree_plugin.h:438 unix_dgram_sendmsg+0xccd/0x1820 net/unix/af_unix.c:2281 sock_sendmsg_nosec net/socket.c:727 [inline] __sock_sendmsg net/socket.c:742 [inline] __sys_sendto+0x468/0x4b0 net/socket.c:2206 __do_sys_sendto net/socket.c:2213 [inline] __se_sys_sendto net/socket.c:2209 [inline] __x64_sys_sendto+0xe0/0x1c0 net/socket.c:2209 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:0x7fd74ed2d407 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:00007ffd673edc90 EFLAGS: 00000202 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007fd74ebddc80 RCX: 00007fd74ed2d407 RDX: 0000000000000049 RSI: 00007ffd673eddd0 RDI: 0000000000000003 RBP: 00007ffd673ee200 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000004000 R11: 0000000000000202 R12: 00007ffd673ee218 R13: 00007ffd673eddd0 R14: 000000000000002e R15: 00007ffd673eddd0 BUG: scheduling while atomic: klogd/2844/0x00000102 no locks held by klogd/2844. Modules linked in: irq event stamp: 2901789 hardirqs last enabled at (2901788): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:178 [inline] hardirqs last enabled at (2901788): [] _raw_spin_unlock_irqrestore+0x52/0x80 kernel/locking/spinlock.c:194 hardirqs last disabled at (2901789): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:130 [inline] hardirqs last disabled at (2901789): [] _raw_spin_lock_irqsave+0x52/0x60 kernel/locking/spinlock.c:162 softirqs last enabled at (2901774): [] do_softirq kernel/softirq.c:523 [inline] softirqs last enabled at (2901774): [] do_softirq+0xac/0xe0 kernel/softirq.c:510 softirqs last disabled at (2901785): [] __do_softirq kernel/softirq.c:656 [inline] softirqs last disabled at (2901785): [] invoke_softirq kernel/softirq.c:496 [inline] softirqs last disabled at (2901785): [] __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