BUG: sleeping function called from invalid context at drivers/usb/core/urb.c:705 in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 5393, name: rm preempt_count: 100, expected: 0 RCU nest depth: 1, expected: 0 2 locks held by rm/5393: #0: ffff88811f333f40 (&mm->mmap_lock){++++}-{4:4}, at: mmap_write_lock_killable include/linux/mmap_lock.h:554 [inline] #0: ffff88811f333f40 (&mm->mmap_lock){++++}-{4:4}, at: do_mprotect_pkey+0x243/0xe70 mm/mprotect.c:832 #1: ffffffff896de760 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:312 [inline] #1: ffffffff896de760 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:850 [inline] #1: ffffffff896de760 (rcu_read_lock){....}-{1:3}, at: class_rcu_constructor include/linux/rcupdate.h:1193 [inline] #1: ffffffff896de760 (rcu_read_lock){....}-{1:3}, at: unwind_next_frame+0xbd/0x1ea0 arch/x86/kernel/unwind_orc.c:495 irq event stamp: 5557 hardirqs last enabled at (5556): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:178 [inline] hardirqs last enabled at (5556): [] _raw_spin_unlock_irqrestore+0x52/0x80 kernel/locking/spinlock.c:194 hardirqs last disabled at (5557): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:130 [inline] hardirqs last disabled at (5557): [] _raw_spin_lock_irqsave+0x52/0x60 kernel/locking/spinlock.c:162 softirqs last enabled at (5544): [] __do_softirq kernel/softirq.c:656 [inline] softirqs last enabled at (5544): [] invoke_softirq kernel/softirq.c:496 [inline] softirqs last enabled at (5544): [] __irq_exit_rcu+0xed/0x150 kernel/softirq.c:723 softirqs last disabled at (5553): [] __do_softirq kernel/softirq.c:656 [inline] softirqs last disabled at (5553): [] invoke_softirq kernel/softirq.c:496 [inline] softirqs last disabled at (5553): [] __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: 1 UID: 0 PID: 5393 Comm: rm 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: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:ffffc90002b9f1f0 EFLAGS: 00000206 RAX: 0000000000000046 RBX: 0000000000000000 RCX: 0000000000000001 RDX: 0000000000000000 RSI: ffffffff890036c1 RDI: ffffffff87afd320 RBP: ffffffff896de760 R08: 0000000031f9147e 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] unwind_next_frame+0xd1/0x1ea0 arch/x86/kernel/unwind_orc.c:495 arch_stack_walk+0x94/0xf0 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x8e/0xc0 kernel/stacktrace.c:122 kasan_save_stack+0x30/0x50 mm/kasan/common.c:57 kasan_save_track+0x14/0x30 mm/kasan/common.c:78 unpoison_slab_object mm/kasan/common.c:340 [inline] __kasan_slab_alloc+0x6e/0x70 mm/kasan/common.c:366 kasan_slab_alloc include/linux/kasan.h:253 [inline] slab_post_alloc_hook mm/slub.c:4538 [inline] slab_alloc_node mm/slub.c:4866 [inline] kmem_cache_alloc_noprof+0x2e7/0x6a0 mm/slub.c:4873 mt_alloc_one lib/maple_tree.c:174 [inline] mas_alloc_nodes+0x280/0x390 lib/maple_tree.c:1110 mas_preallocate+0x39c/0xf10 lib/maple_tree.c:5194 vma_iter_prealloc mm/vma.h:568 [inline] __split_vma+0x33d/0xd60 mm/vma.c:526 split_vma mm/vma.c:596 [inline] vma_modify+0x10bd/0x21e0 mm/vma.c:1680 vma_modify_flags+0x1f2/0x350 mm/vma.c:1700 mprotect_fixup+0x209/0xb70 mm/mprotect.c:756 do_mprotect_pkey+0x9e1/0xe70 mm/mprotect.c:930 __do_sys_mprotect mm/mprotect.c:951 [inline] __se_sys_mprotect mm/mprotect.c:948 [inline] __x64_sys_mprotect+0x78/0xc0 mm/mprotect.c:948 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:0x7fe42a8f32c7 Code: 89 3d fd 3f 01 00 eb 90 0f 1f 00 f7 d8 89 05 f0 3f 01 00 48 c7 c0 ff ff ff ff eb 91 0f 1f 80 00 00 00 00 b8 0a 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8d 0d c9 3f 01 00 f7 d8 89 01 48 83 RSP: 002b:00007fff25b05bc8 EFLAGS: 00000206 ORIG_RAX: 000000000000000a RAX: ffffffffffffffda RBX: 00007fe42a8c75f0 RCX: 00007fe42a8f32c7 RDX: 0000000000000001 RSI: 0000000000004000 RDI: 00007fe42a7f2000 RBP: 00007fff25b05e90 R08: 0000000000000000 R09: 0000000000000000 R10: 00007fe42a8c75f0 R11: 0000000000000206 R12: 0000000000000000 R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000000 BUG: scheduling while atomic: rm/5393/0x00000101 2 locks held by rm/5393: #0: ffff88811f333f40 (&mm->mmap_lock){++++}-{4:4}, at: mmap_write_lock_killable include/linux/mmap_lock.h:554 [inline] ffff88811f333f40 (&mm->mmap_lock){++++}-{4:4}, at: do_mprotect_pkey+0x243/0xe70 mm/mprotect.c:832 #1: ffffffff896de760 (rcu_read_lock){....}-{1:3} , at: rcu_lock_acquire include/linux/rcupdate.h:312 [inline] , at: rcu_read_lock include/linux/rcupdate.h:850 [inline] , at: class_rcu_constructor include/linux/rcupdate.h:1193 [inline] , at: unwind_next_frame+0xbd/0x1ea0 arch/x86/kernel/unwind_orc.c:495 Modules linked in: irq event stamp: 5557 hardirqs last enabled at (5556): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:178 [inline] hardirqs last enabled at (5556): [] _raw_spin_unlock_irqrestore+0x52/0x80 kernel/locking/spinlock.c:194 hardirqs last disabled at (5557): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:130 [inline] hardirqs last disabled at (5557): [] _raw_spin_lock_irqsave+0x52/0x60 kernel/locking/spinlock.c:162 softirqs last enabled at (5544): [] __do_softirq kernel/softirq.c:656 [inline] softirqs last enabled at (5544): [] invoke_softirq kernel/softirq.c:496 [inline] softirqs last enabled at (5544): [] __irq_exit_rcu+0xed/0x150 kernel/softirq.c:723 softirqs last disabled at (5553): [] __do_softirq kernel/softirq.c:656 [inline] softirqs last disabled at (5553): [] invoke_softirq kernel/softirq.c:496 [inline] softirqs last disabled at (5553): [] __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