rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (7 ticks this GP) idle=8484/1/0x4000000000000000 softirq=68265/68265 fqs=10 rcu: (detected by 0, t=13339 jiffies, g=99869, q=966 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 60 Comm: kworker/u4:5 Not tainted 6.5.0-rc2-syzkaller-00052-gbfa3037d8280 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:check_kcov_mode kernel/kcov.c:173 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0xb/0x70 kernel/kcov.c:207 Code: 0f 1e fa 48 8b be b0 01 00 00 e8 b0 ff ff ff 31 c0 c3 66 66 2e 0f 1f 84 00 00 00 00 00 66 90 f3 0f 1e fa 65 8b 05 cd 48 7d 7e <89> c1 48 8b 34 24 81 e1 00 01 00 00 65 48 8b 14 25 80 b9 03 00 a9 RSP: 0018:ffffc900001e0ad0 EFLAGS: 00000002 RAX: 0000000000010102 RBX: ffff8880b992b980 RCX: ffffffff817590eb RDX: ffff8880162c9dc0 RSI: 0000000000000100 RDI: 0000000000000001 RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffff8880b992b880 R13: 0000000000000001 R14: ffff888077a68340 R15: ffffffff885a3550 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005555567a2788 CR3: 000000000c776000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: trace_hrtimer_expire_entry include/trace/events/timer.h:239 [inline] __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x9d2/0xc10 kernel/time/hrtimer.c:1752 hrtimer_interrupt+0x31b/0x800 kernel/time/hrtimer.c:1814 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1098 [inline] __sysvec_apic_timer_interrupt+0x14a/0x430 arch/x86/kernel/apic/apic.c:1115 sysvec_apic_timer_interrupt+0x42/0xc0 arch/x86/kernel/apic/apic.c:1109 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:kvm_wait+0xa8/0x110 arch/x86/kernel/kvm.c:1064 Code: fa 83 e2 07 38 d0 7f 04 84 c0 75 66 0f b6 07 40 38 c6 74 1b 48 83 c4 10 c3 c3 e8 c3 bc 53 00 66 90 0f 00 2d 9a 2d 30 09 fb f4 <48> 83 c4 10 c3 66 90 0f 00 2d 8a 2d 30 09 f4 48 83 c4 10 c3 89 74 RSP: 0018:ffffc900001e0d58 EFLAGS: 00000242 RAX: 0000000000fd667c RBX: ffff888077a680f0 RCX: 1ffffffff23133cc RDX: 0000000000000000 RSI: ffffffff8a6c7700 RDI: ffffffff8ac806e0 RBP: ffff8880b993d240 R08: 0000000000000001 R09: fffffbfff23095e8 R10: ffffffff9184af47 R11: 000000000000004e R12: 0000000000000000 R13: 0000000000000001 R14: 0000000000000000 R15: ffffed100ef4d01e pv_wait arch/x86/include/asm/paravirt.h:598 [inline] pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:470 [inline] __pv_queued_spin_lock_slowpath+0x959/0xc70 kernel/locking/qspinlock.c:511 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:586 [inline] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:51 [inline] queued_spin_lock include/asm-generic/qspinlock.h:114 [inline] do_raw_spin_lock+0x20e/0x2b0 kernel/locking/spinlock_debug.c:115 spin_lock include/linux/spinlock.h:351 [inline] net_tx_action+0x573/0xc80 net/core/dev.c:5033 __do_softirq+0x218/0x965 kernel/softirq.c:553 invoke_softirq kernel/softirq.c:427 [inline] __irq_exit_rcu kernel/softirq.c:632 [inline] irq_exit_rcu+0xb7/0x120 kernel/softirq.c:644 sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1109 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:csd_lock_wait kernel/smp.c:296 [inline] RIP: 0010:smp_call_function_many_cond+0x4d6/0x1570 kernel/smp.c:835 Code: 0b 00 85 ed 74 4d 48 b8 00 00 00 00 00 fc ff df 4d 89 fc 4c 89 fd 49 c1 ec 03 83 e5 07 49 01 c4 83 c5 03 e8 1c 5f 0b 00 f3 90 <41> 0f b6 04 24 40 38 c5 7c 08 84 c0 0f 85 3c 0e 00 00 8b 43 08 31 RSP: 0018:ffffc900015b7938 EFLAGS: 00000293 RAX: 0000000000000000 RBX: ffff8880b9844fe0 RCX: 0000000000000000 RDX: ffff8880162c9dc0 RSI: ffffffff817b1194 RDI: 0000000000000005 RBP: 0000000000000003 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffffed10173089fd R13: 0000000000000001 R14: ffff8880b993d580 R15: ffff8880b9844fe8 on_each_cpu_cond_mask+0x40/0x90 kernel/smp.c:1003 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:2001 [inline] text_poke_bp_batch+0x250/0x780 arch/x86/kernel/alternative.c:2211 text_poke_flush arch/x86/kernel/alternative.c:2402 [inline] text_poke_flush arch/x86/kernel/alternative.c:2399 [inline] text_poke_finish+0x1a/0x30 arch/x86/kernel/alternative.c:2409 arch_jump_label_transform_apply+0x17/0x30 arch/x86/kernel/jump_label.c:146 jump_label_update+0x32e/0x410 kernel/jump_label.c:829 static_key_enable_cpuslocked+0x1b5/0x270 kernel/jump_label.c:205 static_key_enable+0x1a/0x20 kernel/jump_label.c:218 toggle_allocation_gate mm/kfence/core.c:831 [inline] toggle_allocation_gate+0xf4/0x250 mm/kfence/core.c:823 process_one_work+0xaa2/0x16f0 kernel/workqueue.c:2597 worker_thread+0x687/0x1110 kernel/workqueue.c:2748 kthread+0x33a/0x430 kernel/kthread.c:389 ret_from_fork+0x2c/0x70 arch/x86/kernel/process.c:145 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:296 RIP: 0000:0x0 Code: Unable to access opcode bytes at 0xffffffffffffffd6. RSP: 0000:0000000000000000 EFLAGS: 00000000 ORIG_RAX: 0000000000000000 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 rcu: rcu_preempt kthread timer wakeup didn't happen for 13001 jiffies! g99869 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=0 timer-softirq=63608 rcu: rcu_preempt kthread starved for 13002 jiffies! g99869 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->cpu=0 rcu: Unless rcu_preempt kthread gets sufficient CPU time, OOM is now expected behavior. rcu: RCU grace-period kthread stack dump: task:rcu_preempt state:I stack:27392 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5381 [inline] __schedule+0xee1/0x59f0 kernel/sched/core.c:6710 schedule+0xe7/0x1b0 kernel/sched/core.c:6786 schedule_timeout+0x157/0x2c0 kernel/time/timer.c:2167 rcu_gp_fqs_loop+0x1ec/0xa50 kernel/rcu/tree.c:1609 rcu_gp_kthread+0x249/0x380 kernel/rcu/tree.c:1808 kthread+0x33a/0x430 kernel/kthread.c:389 ret_from_fork+0x2c/0x70 arch/x86/kernel/process.c:145 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:296 RIP: 0000:0x0 Code: Unable to access opcode bytes at 0xffffffffffffffd6. RSP: 0000:0000000000000000 EFLAGS: 00000000 ORIG_RAX: 0000000000000000 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 rcu: Stack dump where RCU GP kthread last ran: CPU: 0 PID: 25670 Comm: syz-executor.4 Not tainted 6.5.0-rc2-syzkaller-00052-gbfa3037d8280 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0x31/0x70 kernel/locking/spinlock.c:194 Code: f5 53 48 8b 74 24 10 48 89 fb 48 83 c7 18 e8 e6 ea 31 f7 48 89 df e8 9e 63 32 f7 f7 c5 00 02 00 00 75 1f 9c 58 f6 c4 02 75 2f 01 00 00 00 e8 65 0c 24 f7 65 8b 05 56 2b ce 75 85 c0 74 12 5b RSP: 0018:ffffc900035ff1a0 EFLAGS: 00000246 RAX: 0000000000000002 RBX: ffff8880b992b880 RCX: 1ffffffff23133cc RDX: 0000000000000000 RSI: ffffffff8a6c7700 RDI: ffffffff8ac806e0 RBP: 0000000000000246 R08: 0000000000000001 R09: fffffbfff23095e8 R10: ffffffff9184af47 R11: 0000000000000000 R12: 00000000ffffffff R13: ffff8880b992b980 R14: dffffc0000000000 R15: ffff888077a68370 FS: 00007fa59f1e36c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffffffffd6 CR3: 000000007b12d000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: unlock_hrtimer_base kernel/time/hrtimer.c:1020 [inline] hrtimer_try_to_cancel+0x161/0x4b0 kernel/time/hrtimer.c:1339 hrtimer_cancel+0x16/0x40 kernel/time/hrtimer.c:1446 taprio_reset+0x76/0x200 net/sched/sch_taprio.c:2011 qdisc_reset+0xd8/0x620 net/sched/sch_generic.c:1022 dev_reset_queue+0xb1/0x1d0 net/sched/sch_generic.c:1293 netdev_for_each_tx_queue include/linux/netdevice.h:2517 [inline] dev_deactivate_many+0x36f/0xb10 net/sched/sch_generic.c:1359 dev_deactivate+0xed/0x1b0 net/sched/sch_generic.c:1382 qdisc_graft+0xde1/0x1680 net/sched/sch_api.c:1108 tc_modify_qdisc+0xcd2/0x1bf0 net/sched/sch_api.c:1731 rtnetlink_rcv_msg+0x439/0xd30 net/core/rtnetlink.c:6424 netlink_rcv_skb+0x16b/0x440 net/netlink/af_netlink.c:2549 netlink_unicast_kernel net/netlink/af_netlink.c:1339 [inline] netlink_unicast+0x539/0x800 net/netlink/af_netlink.c:1365 netlink_sendmsg+0x93c/0xe30 net/netlink/af_netlink.c:1914 sock_sendmsg_nosec net/socket.c:725 [inline] sock_sendmsg+0xd9/0x180 net/socket.c:748 ____sys_sendmsg+0x6ac/0x940 net/socket.c:2494 ___sys_sendmsg+0x135/0x1d0 net/socket.c:2548 __sys_sendmsg+0x117/0x1e0 net/socket.c:2577 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fa59e47cb29 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fa59f1e30c8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007fa59e59bf80 RCX: 00007fa59e47cb29 RDX: 0000000000000000 RSI: 00000000200007c0 RDI: 0000000000000004 RBP: 00007fa59e4c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fa59e59bf80 R15: 00007fa59e6bfa48