rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: (detected by 1, t=10502 jiffies, g=8277, q=3 ncpus=2) rcu: All QSes seen, last rcu_preempt kthread activity 10502 (4294963466-4294952964), jiffies_till_next_fqs=1, root ->qsmask 0x0 rcu: rcu_preempt kthread starved for 10502 jiffies! g8277 f0x2 RCU_GP_WAIT_FQS(5) ->state=0x0 ->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:R running task stack:26256 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5400 [inline] __schedule+0x17d1/0x49f0 kernel/sched/core.c:6727 __schedule_loop kernel/sched/core.c:6802 [inline] schedule+0x149/0x260 kernel/sched/core.c:6817 schedule_timeout+0x1bd/0x310 kernel/time/timer.c:2183 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:1663 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:1862 kthread+0x2f1/0x390 kernel/kthread.c:388 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:243 rcu: Stack dump where RCU GP kthread last ran: Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 5226 Comm: syz-executor401 Not tainted 6.8.0-rc6-syzkaller-00011-g45ec2f5f6ed3 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 RIP: 0010:arch_static_branch arch/x86/include/asm/jump_label.h:27 [inline] RIP: 0010:static_key_false include/linux/jump_label.h:207 [inline] RIP: 0010:native_write_msr arch/x86/include/asm/msr.h:147 [inline] RIP: 0010:wrmsr arch/x86/include/asm/msr.h:254 [inline] RIP: 0010:native_apic_msr_write+0x39/0x50 arch/x86/include/asm/apic.h:195 Code: 74 2a 83 ff 30 74 25 eb 10 81 ff d0 00 00 00 74 1b 81 ff e0 00 00 00 74 13 c1 ef 04 81 c7 00 08 00 00 89 f9 89 f0 31 d2 0f 30 <66> 90 e9 60 53 33 0a f3 0f 1e fa 89 f6 31 d2 e9 b3 7f 9b 03 0f 1f RSP: 0018:ffffc90004667978 EFLAGS: 00000046 RAX: 000000000000003e RBX: 000000000ffffca5 RCX: 0000000000000838 RDX: 0000000000000000 RSI: 000000000000003e RDI: 0000000000000838 RBP: 0000000000000020 R08: ffffffff81850ac8 R09: 1ffffffff1f0ad15 R10: dffffc0000000000 R11: ffffffff813dad70 R12: 000000000000003e R13: dffffc0000000000 R14: 0000000000000000 R15: ffff8880b9428358 FS: 0000555555f7c3c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f837a919174 CR3: 0000000079718000 CR4: 0000000000350ef0 Call Trace: apic_write arch/x86/include/asm/apic.h:401 [inline] lapic_next_event+0x11/0x20 arch/x86/kernel/apic/apic.c:448 clockevents_program_min_delta+0x1b4/0x420 kernel/time/clockevents.c:248 hrtimer_start_range_ns+0xabc/0xc60 kernel/time/hrtimer.c:1303 posixtimer_rearm+0x1b4/0x3f0 kernel/time/posix-timers.c:267 dequeue_signal+0x249/0x5a0 kernel/signal.c:695 get_signal+0x5f6/0x1850 kernel/signal.c:2773 arch_do_signal_or_restart+0x96/0x860 arch/x86/kernel/signal.c:310 exit_to_user_mode_loop kernel/entry/common.c:105 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:201 [inline] syscall_exit_to_user_mode+0xc8/0x360 kernel/entry/common.c:212 do_syscall_64+0x108/0x240 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x6f/0x77 RIP: 0033:0x7f837a88de79 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:00007fff99aba288 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000003 RCX: 00007f837a88de79 RDX: 000000002006b000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00000000000f4240 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000002555b R13: 00007fff99aba2a8 R14: 00007fff99aba300 R15: 00007fff99aba2f0 INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 1.450 msecs