BUG: sleeping function called from invalid context at drivers/usb/core/urb.c:705 in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 2846, name: klogd preempt_count: 101, expected: 0 RCU nest depth: 1, expected: 0 1 lock held by klogd/2846: #0: ffffffff896de760 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:312 [inline] #0: ffffffff896de760 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:850 [inline] #0: ffffffff896de760 (rcu_read_lock){....}-{1:3}, at: sock_def_readable+0x90/0x630 net/core/sock.c:3608 irq event stamp: 36383 hardirqs last enabled at (36382): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:178 [inline] hardirqs last enabled at (36382): [] _raw_spin_unlock_irqrestore+0x52/0x80 kernel/locking/spinlock.c:194 hardirqs last disabled at (36383): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:130 [inline] hardirqs last disabled at (36383): [] _raw_spin_lock_irqsave+0x52/0x60 kernel/locking/spinlock.c:162 softirqs last enabled at (36372): [] local_bh_disable include/linux/bottom_half.h:20 [inline] softirqs last enabled at (36372): [] __alloc_skb+0x5c0/0x710 net/core/skbuff.c:695 softirqs last disabled at (36379): [] __do_softirq kernel/softirq.c:656 [inline] softirqs last disabled at (36379): [] invoke_softirq kernel/softirq.c:496 [inline] softirqs last disabled at (36379): [] __irq_exit_rcu+0xed/0x150 kernel/softirq.c:723 Preemption disabled at: [<0000000000000000>] 0x0 CPU: 0 UID: 0 PID: 2846 Comm: klogd 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:__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 5c 22 fa 48 89 df e8 7e ac 22 fa f7 c5 00 02 00 00 75 23 9c 58 f6 c4 02 75 37 01 00 00 00 e8 b5 23 16 fa 65 8b 05 5e ef 88 05 85 c0 74 16 5b RSP: 0018:ffffc90001bcfb88 EFLAGS: 00000246 RAX: 0000000000000002 RBX: ffff888110465c40 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff89024ebf RDI: ffffffff87afd320 RBP: 0000000000000282 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000155cc0 R12: ffff888117400a00 R13: ffff888110465c40 R14: ffff888117400900 R15: ffff888117400880 sock_def_readable+0x154/0x630 net/core/sock.c:3611 unix_dgram_sendmsg+0xccd/0x1820 net/unix/af_unix.c:2283 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:0x7fbb46350407 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:00007fffc788b6a0 EFLAGS: 00000202 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007fbb46200c80 RCX: 00007fbb46350407 RDX: 000000000000007f RSI: 00007fffc788b7e0 RDI: 0000000000000003 RBP: 00007fffc788bc10 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000004000 R11: 0000000000000202 R12: 00007fffc788bc28 R13: 00007fffc788b7e0 R14: 0000000000000064 R15: 00007fffc788b7e0 BUG: scheduling while atomic: klogd/2846/0x00000102 1 lock held by klogd/2846: #0: ffffffff896de760 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:312 [inline] #0: ffffffff896de760 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:850 [inline] #0: ffffffff896de760 (rcu_read_lock){....}-{1:3}, at: sock_def_readable+0x90/0x630 net/core/sock.c:3608 Modules linked in: irq event stamp: 36383 hardirqs last enabled at (36382): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:178 [inline] hardirqs last enabled at (36382): [] _raw_spin_unlock_irqrestore+0x52/0x80 kernel/locking/spinlock.c:194 hardirqs last disabled at (36383): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:130 [inline] hardirqs last disabled at (36383): [] _raw_spin_lock_irqsave+0x52/0x60 kernel/locking/spinlock.c:162 softirqs last enabled at (36372): [] local_bh_disable include/linux/bottom_half.h:20 [inline] softirqs last enabled at (36372): [] __alloc_skb+0x5c0/0x710 net/core/skbuff.c:695 softirqs last disabled at (36379): [] __do_softirq kernel/softirq.c:656 [inline] softirqs last disabled at (36379): [] invoke_softirq kernel/softirq.c:496 [inline] softirqs last disabled at (36379): [] __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 5c 22 fa call 0xfa225ca9 13: 48 89 df mov %rbx,%rdi 16: e8 7e ac 22 fa call 0xfa22ac99 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 b5 23 16 fa call 0xfa1623e9 34: 65 8b 05 5e ef 88 05 mov %gs:0x588ef5e(%rip),%eax # 0x588ef99 3b: 85 c0 test %eax,%eax 3d: 74 16 je 0x55 3f: 5b pop %rbx