BUG: sleeping function called from invalid context at kernel/locking/spinlock_rt.c:48 in_atomic(): 0, irqs_disabled(): 1, non_block: 0, pid: 8538, name: syz.0.576 preempt_count: 0, expected: 0 RCU nest depth: 0, expected: 0 1 lock held by syz.0.576/8538: #0: ffff888144bdc058 (&dum_hcd->dum->lock){+.+.}-{3:3}, at: spin_lock include/linux/spinlock_rt.h:44 [inline] #0: ffff888144bdc058 (&dum_hcd->dum->lock){+.+.}-{3:3}, at: dummy_dequeue+0x164/0x480 drivers/usb/gadget/udc/dummy_hcd.c:769 irq event stamp: 13528 hardirqs last enabled at (13527): [] __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:159 [inline] hardirqs last enabled at (13527): [] _raw_spin_unlock_irq+0x23/0x50 kernel/locking/spinlock.c:202 hardirqs last disabled at (13528): [] dummy_dequeue+0x151/0x480 drivers/usb/gadget/udc/dummy_hcd.c:768 softirqs last enabled at (11314): [] __local_bh_enable_ip+0x1a4/0x270 kernel/softirq.c:262 softirqs last disabled at (11312): [] local_bh_disable include/linux/bottom_half.h:20 [inline] softirqs last disabled at (11312): [] read_lock_bh include/linux/rwlock_rt.h:42 [inline] softirqs last disabled at (11312): [] inet6_fill_ifla6_attrs+0x116b/0x2400 net/ipv6/addrconf.c:5846 CPU: 0 UID: 0 PID: 8538 Comm: syz.0.576 Not tainted syzkaller #0 PREEMPT_{RT,(full)} Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025 Call Trace: dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120 __might_resched+0x44b/0x5d0 kernel/sched/core.c:8957 __rt_spin_lock kernel/locking/spinlock_rt.c:48 [inline] rt_spin_lock+0xc7/0x2c0 kernel/locking/spinlock_rt.c:57 spin_lock include/linux/spinlock_rt.h:44 [inline] dummy_dequeue+0x164/0x480 drivers/usb/gadget/udc/dummy_hcd.c:769 usb_ep_dequeue+0x66/0x250 drivers/usb/gadget/udc/core.c:330 raw_process_ep0_io+0x435/0x980 drivers/usb/gadget/legacy/raw_gadget.c:738 raw_ioctl_ep0_read drivers/usb/gadget/legacy/raw_gadget.c:781 [inline] raw_ioctl+0x2609/0x3ba0 drivers/usb/gadget/legacy/raw_gadget.c:1315 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:598 [inline] __se_sys_ioctl+0xff/0x170 fs/ioctl.c:584 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f7438cce7ab Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60 c7 04 24 10 00 00 00 48 89 44 24 08 48 8d 44 24 20 48 89 44 24 10 b8 10 00 00 00 0f 05 <89> c2 3d 00 f0 ff ff 77 1c 48 8b 44 24 18 64 48 2b 04 25 28 00 00 RSP: 002b:00007f7436f2bf60 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f7438cce7ab RDX: 00007f7436f2bfe0 RSI: 00000000c0085504 RDI: 0000000000000003 RBP: 00007f7438d51e19 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000003 R11: 0000000000000246 R12: 00007f7436f2bfe8 R13: 0000000000000000 R14: 00007f7438f15fa0 R15: 00007ffee3e794d8