rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: (detected by 0, t=10502 jiffies, g=7689, q=16 ncpus=2) rcu: All QSes seen, last rcu_preempt kthread activity 10502 (4294968695-4294958193), jiffies_till_next_fqs=1, root ->qsmask 0x0 rcu: rcu_preempt kthread starved for 10502 jiffies! g7689 f0x2 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=1 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:R running task stack:28752 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0xf15/0x5d00 kernel/sched/core.c:6745 __schedule_loop kernel/sched/core.c:6822 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6837 schedule_timeout+0x136/0x2a0 kernel/time/timer.c:2581 rcu_gp_fqs_loop+0x1eb/0xb00 kernel/rcu/tree.c:2000 rcu_gp_kthread+0x271/0x380 kernel/rcu/tree.c:2202 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 rcu: Stack dump where RCU GP kthread last ran: Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 5124 Comm: syz-executor144 Not tainted 6.9.0-syzkaller-10323-g8f6a15f095a6 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 RIP: 0010:__sanitizer_cov_trace_const_cmp1+0x8/0x20 kernel/kcov.c:290 Code: bf 06 00 00 00 e9 b8 fe ff ff 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 48 8b 0c 24 <40> 0f b6 d6 40 0f b6 f7 bf 01 00 00 00 e9 86 fe ff ff 66 0f 1f 44 RSP: 0018:ffffc90000a18e28 EFLAGS: 00000046 RAX: 0000000000000001 RBX: 0000000000000001 RCX: ffffffff817b0720 RDX: fffffbfff1fc88bb RSI: 0000000000000001 RDI: 0000000000000000 RBP: 000000000003d94c R08: 0000000000000000 R09: fffffbfff1fc88ba R10: ffffffff8fe445d7 R11: 0000000000000001 R12: ffff8880b932ca40 R13: ffff888077db40b0 R14: ffff8880b932c9c0 R15: ffff8880b932c9c0 FS: 000055555f66a3c0(0000) GS:ffff8880b9300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002006b000 CR3: 000000002ad1e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: trace_hrtimer_cancel include/trace/events/timer.h:317 [inline] debug_deactivate kernel/time/hrtimer.c:485 [inline] __run_hrtimer kernel/time/hrtimer.c:1655 [inline] __hrtimer_run_queues+0x4e0/0xcc0 kernel/time/hrtimer.c:1751 hrtimer_interrupt+0x31b/0x800 kernel/time/hrtimer.c:1813 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1032 [inline] __sysvec_apic_timer_interrupt+0x10f/0x450 arch/x86/kernel/apic/apic.c:1049 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0x90/0xb0 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:160 [inline] RIP: 0010:_raw_spin_unlock_irq+0x29/0x50 kernel/locking/spinlock.c:202 Code: 90 f3 0f 1e fa 53 48 8b 74 24 08 48 89 fb 48 83 c7 18 e8 0a bc 7e f6 48 89 df e8 f2 38 7f f6 e8 8d 29 a8 f6 fb bf 01 00 00 00 e2 78 70 f6 65 8b 05 53 c5 16 75 85 c0 74 06 5b c3 cc cc cc cc RSP: 0018:ffffc900032efcf0 EFLAGS: 00000202 RAX: 000000000398729b RBX: ffff888027e22e40 RCX: 1ffffffff1fc8069 RDX: 0000000000000000 RSI: ffffffff8b2cab60 RDI: 0000000000000001 RBP: ffff888027e23240 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff8fe445d7 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000021 R14: ffff888027e22e40 R15: ffff888027e22e40 spin_unlock_irq include/linux/spinlock.h:401 [inline] get_signal+0x1e3e/0x2710 kernel/signal.c:2914 arch_do_signal_or_restart+0x90/0x7e0 arch/x86/kernel/signal.c:310 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x14a/0x2a0 kernel/entry/common.c:218 do_syscall_64+0xdc/0x260 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f0c759e1e79 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 18 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:00007ffd655b3088 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000003 RCX: 00007f0c759e1e79 RDX: 000000002006b000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00000000000f4240 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000003 R14: 00007ffd655b3100 R15: 00007ffd655b30f0 INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 1.516 msecs