BUG: sleeping function called from invalid context at kernel/locking/spinlock_rt.c:48 in_atomic(): 0, irqs_disabled(): 1, non_block: 0, pid: 16, name: ktimers/0 preempt_count: 0, expected: 0 RCU nest depth: 2, expected: 2 7 locks held by ktimers/0/16: #0: ffffffff8d64a6a0 (local_bh){.+.+}-{1:3}, at: __local_bh_disable_ip+0xa1/0x400 kernel/softirq.c:163 #1: ffff8880b8823d90 ((softirq_ctrl.lock)){+.+.}-{3:3}, at: spin_lock include/linux/spinlock_rt.h:44 [inline] #1: ffff8880b8823d90 ((softirq_ctrl.lock)){+.+.}-{3:3}, at: __local_bh_disable_ip+0x264/0x400 kernel/softirq.c:168 #2: ffffffff8d7a8b40 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] #2: ffffffff8d7a8b40 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline] #2: ffffffff8d7a8b40 (rcu_read_lock){....}-{1:3}, at: __rt_spin_lock kernel/locking/spinlock_rt.c:50 [inline] #2: ffffffff8d7a8b40 (rcu_read_lock){....}-{1:3}, at: rt_spin_lock+0x1bb/0x2c0 kernel/locking/spinlock_rt.c:57 #3: ffffffff8d7a8b40 (rcu_read_lock){....}-{1:3}, at: __local_bh_disable_ip+0xa1/0x400 kernel/softirq.c:163 #4: ffff888019899d38 ((wq_completion)events_bh){+...}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline] #4: ffff888019899d38 ((wq_completion)events_bh){+...}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0 kernel/workqueue.c:3321 #5: ffffc90000157a00 ((work_completion)(&bh->bh)){+...}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline] #5: ffffc90000157a00 ((work_completion)(&bh->bh)){+...}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3321 #6: ffff8880b8828b78 ((lock)#3){+.+.}-{3:3}, at: spin_lock include/linux/spinlock_rt.h:44 [inline] #6: ffff8880b8828b78 ((lock)#3){+.+.}-{3:3}, at: kcov_remote_start+0x92/0x460 kernel/kcov.c:865 irq event stamp: 260993 hardirqs last enabled at (260992): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] hardirqs last enabled at (260992): [] _raw_spin_unlock_irqrestore+0x85/0x110 kernel/locking/spinlock.c:194 hardirqs last disabled at (260993): [] kcov_remote_start_usb_softirq include/linux/kcov.h:88 [inline] hardirqs last disabled at (260993): [] __usb_hcd_giveback_urb+0x3f5/0x710 drivers/usb/core/hcd.c:1662 softirqs last enabled at (260954): [] ksoftirqd_run_end kernel/softirq.c:282 [inline] softirqs last enabled at (260954): [] run_ktimerd+0xf1/0x190 kernel/softirq.c:1045 softirqs last disabled at (260960): [] smpboot_thread_fn+0x542/0xa60 kernel/smpboot.c:160 CPU: 0 UID: 0 PID: 16 Comm: ktimers/0 Tainted: G W 6.16.0-syzkaller-09302-gc93529ad4fa8 #0 PREEMPT_{RT,(full)} Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/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] kcov_remote_start+0x92/0x460 kernel/kcov.c:865 kcov_remote_start_usb include/linux/kcov.h:55 [inline] kcov_remote_start_usb_softirq include/linux/kcov.h:89 [inline] __usb_hcd_giveback_urb+0x427/0x710 drivers/usb/core/hcd.c:1662 usb_giveback_urb_bh+0x296/0x420 drivers/usb/core/hcd.c:1697 process_one_work kernel/workqueue.c:3238 [inline] process_scheduled_works+0xade/0x17b0 kernel/workqueue.c:3321 bh_worker+0x2b1/0x600 kernel/workqueue.c:3581 tasklet_action+0xc/0x70 kernel/softirq.c:854 handle_softirqs+0x22f/0x710 kernel/softirq.c:579 __do_softirq kernel/softirq.c:613 [inline] run_ktimerd+0xcf/0x190 kernel/softirq.c:1043 smpboot_thread_fn+0x542/0xa60 kernel/smpboot.c:160 kthread+0x711/0x8a0 kernel/kthread.c:464 ret_from_fork+0x3f9/0x770 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245