BUG: sleeping function called from invalid context at drivers/usb/core/urb.c:705 in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 2857, name: udevd preempt_count: 100, expected: 0 RCU nest depth: 1, expected: 0 2 locks held by udevd/2857: #0: ffff888118429018 (&type->i_mutex_dir_key#4){++++}-{4:4}, at: inode_lock_shared include/linux/fs.h:1043 [inline] #0: ffff888118429018 (&type->i_mutex_dir_key#4){++++}-{4:4}, at: lookup_slow+0x42/0x70 fs/namei.c:1932 #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: __page_table_check_zero+0x7b/0x410 mm/page_table_check.c:138 irq event stamp: 13701661 hardirqs last enabled at (13701660): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:178 [inline] hardirqs last enabled at (13701660): [] _raw_spin_unlock_irqrestore+0x52/0x80 kernel/locking/spinlock.c:194 hardirqs last disabled at (13701661): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:130 [inline] hardirqs last disabled at (13701661): [] _raw_spin_lock_irqsave+0x52/0x60 kernel/locking/spinlock.c:162 softirqs last enabled at (13701644): [] __do_softirq kernel/softirq.c:656 [inline] softirqs last enabled at (13701644): [] invoke_softirq kernel/softirq.c:496 [inline] softirqs last enabled at (13701644): [] __irq_exit_rcu+0xed/0x150 kernel/softirq.c:723 softirqs last disabled at (13701657): [] __do_softirq kernel/softirq.c:656 [inline] softirqs last disabled at (13701657): [] invoke_softirq kernel/softirq.c:496 [inline] softirqs last disabled at (13701657): [] __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: 2857 Comm: udevd 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:__sanitizer_cov_trace_pc+0x0/0x70 kernel/kcov.c:210 Code: 66 ec 56 00 48 89 df 5b e9 5d 24 5b 00 be 03 00 00 00 5b e9 c2 fd 1a 01 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1e fa 65 8b 05 e5 73 43 0b 48 8b 34 24 65 48 8b 15 c1 73 43 RSP: 0018:ffffc900015af568 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff821b03e7 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff888116b90000 RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff888106d03ba0 R13: 0000000000000001 R14: dffffc0000000000 R15: ffff888106d03bec page_ext_iter_next include/linux/page_ext.h:153 [inline] __page_table_check_zero+0x1f4/0x410 mm/page_table_check.c:139 page_table_check_free include/linux/page_table_check.h:46 [inline] __free_pages_prepare mm/page_alloc.c:1434 [inline] __free_frozen_pages+0x792/0xfb0 mm/page_alloc.c:2978 selinux_genfs_get_sid security/selinux/hooks.c:1364 [inline] inode_doinit_with_dentry+0x99d/0x1320 security/selinux/hooks.c:1562 selinux_d_instantiate+0x26/0x40 security/selinux/hooks.c:6550 security_d_instantiate+0x62/0xc0 security/security.c:3602 d_splice_alias_ops+0xd7/0x1320 fs/dcache.c:3074 kernfs_iop_lookup+0x23f/0x2d0 fs/kernfs/dir.c:1256 __lookup_slow+0x251/0x460 fs/namei.c:1916 lookup_slow+0x50/0x70 fs/namei.c:1933 walk_component fs/namei.c:2279 [inline] link_path_walk+0x13c0/0x1b30 fs/namei.c:2653 path_openat+0x1be/0x31a0 fs/namei.c:4832 do_file_open+0x20e/0x430 fs/namei.c:4865 do_sys_openat2+0x10d/0x1e0 fs/open.c:1366 do_sys_open fs/open.c:1372 [inline] __do_sys_openat fs/open.c:1388 [inline] __se_sys_openat fs/open.c:1383 [inline] __x64_sys_openat+0x12d/0x210 fs/open.c:1383 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:0x7f7a403c3407 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:00007ffcad67bae0 EFLAGS: 00000202 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f7a402d5880 RCX: 00007f7a403c3407 RDX: 0000000000080000 RSI: 00007ffcad67bc60 RDI: ffffffffffffff9c RBP: 0000000000000008 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 000055db06e327f5 R13: 000055db06e327f5 R14: 0000000000000001 R15: 0000000000000000 BUG: scheduling while atomic: udevd/2857/0x00000101 2 locks held by udevd/2857: #0: ffff888118429018 (&type->i_mutex_dir_key #4 ){++++}-{4:4}, at: inode_lock_shared include/linux/fs.h:1043 [inline] ){++++}-{4:4}, at: lookup_slow+0x42/0x70 fs/namei.c:1932 #1: ffffffff896de760 (rcu_read_lock ){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:312 [inline] ){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:850 [inline] ){....}-{1:3}, at: __page_table_check_zero+0x7b/0x410 mm/page_table_check.c:138 Modules linked in: irq event stamp: 13701661 hardirqs last enabled at (13701660): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:178 [inline] hardirqs last enabled at (13701660): [] _raw_spin_unlock_irqrestore+0x52/0x80 kernel/locking/spinlock.c:194 hardirqs last disabled at (13701661): [] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:130 [inline] hardirqs last disabled at (13701661): [] _raw_spin_lock_irqsave+0x52/0x60 kernel/locking/spinlock.c:162 softirqs last enabled at (13701644): [] __do_softirq kernel/softirq.c:656 [inline] softirqs last enabled at (13701644): [] invoke_softirq kernel/softirq.c:496 [inline] softirqs last enabled at (13701644): [] __irq_exit_rcu+0xed/0x150 kernel/softirq.c:723 softirqs last disabled at (13701657): [] __do_softirq kernel/softirq.c:656 [inline] softirqs last disabled at (13701657): [] invoke_softirq kernel/softirq.c:496 [inline] softirqs last disabled at (13701657): [] __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: 66 ec data16 in (%dx),%al 2: 56 push %rsi 3: 00 48 89 add %cl,-0x77(%rax) 6: df 5b e9 fistps -0x17(%rbx) 9: 5d pop %rbp a: 24 5b and $0x5b,%al c: 00 be 03 00 00 00 add %bh,0x3(%rsi) 12: 5b pop %rbx 13: e9 c2 fd 1a 01 jmp 0x11afdda 18: 66 90 xchg %ax,%ax 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: 65 8b 05 e5 73 43 0b mov %gs:0xb4373e5(%rip),%eax # 0xb43741a 35: 48 8b 34 24 mov (%rsp),%rsi 39: 65 gs 3a: 48 rex.W 3b: 8b .byte 0x8b 3c: 15 .byte 0x15 3d: c1 .byte 0xc1 3e: 73 43 jae 0x83