rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: (detected by 1, t=10502 jiffies, g=9989, q=16 ncpus=2) rcu: All QSes seen, last rcu_preempt kthread activity 10494 (4294967648-4294957154), jiffies_till_next_fqs=1, root ->qsmask 0x0 rcu: rcu_preempt kthread starved for 10495 jiffies! g9989 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:28544 pid:16 tgid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5376 [inline] __schedule+0xee2/0x59a0 kernel/sched/core.c:6688 __schedule_loop kernel/sched/core.c:6763 [inline] schedule+0xe7/0x270 kernel/sched/core.c:6778 schedule_timeout+0x157/0x2c0 kernel/time/timer.c:2167 rcu_gp_fqs_loop+0x1ec/0xb10 kernel/rcu/tree.c:1631 rcu_gp_kthread+0x249/0x380 kernel/rcu/tree.c:1830 kthread+0x33c/0x440 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242 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: 5107 Comm: syz-executor334 Not tainted 6.6.0-syzkaller-16176-g1b907d050735 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 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 arch/x86/include/asm/apic.h:195 [inline] RIP: 0010:native_apic_msr_write+0x28/0x40 arch/x86/include/asm/apic.h:189 Code: 66 90 f3 0f 1e fa 8d 87 30 ff ff ff 83 e0 ef 74 1c 89 f8 83 e0 ef 83 f8 20 74 12 c1 ef 04 31 d2 89 f0 8d 8f 00 08 00 00 0f 30 <66> 90 c3 c3 89 f6 31 d2 89 cf e9 b9 2a 5c 03 66 0f 1f 84 00 00 00 RSP: 0018:ffffc90000007ec0 EFLAGS: 00000046 RAX: 00000000000402f3 RBX: ffff8880b9828240 RCX: 0000000000000838 RDX: 0000000000000000 RSI: 00000000000402f3 RDI: 0000000000000038 RBP: 00000000000402f3 R08: 0000000000000005 R09: 000000000000003f R10: 0000000000000020 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000020 R14: 0000000000000000 R15: 7fffffffffffffff FS: 00005555560603c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002006b000 CR3: 0000000079191000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: apic_write arch/x86/include/asm/apic.h:403 [inline] lapic_next_event+0x10/0x20 arch/x86/kernel/apic/apic.c:448 clockevents_program_event+0x262/0x370 kernel/time/clockevents.c:334 tick_program_event+0xa5/0x130 kernel/time/tick-oneshot.c:44 hrtimer_interrupt+0x36d/0x800 kernel/time/hrtimer.c:1827 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1065 [inline] __sysvec_apic_timer_interrupt+0x105/0x3f0 arch/x86/kernel/apic/apic.c:1082 sysvec_apic_timer_interrupt+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1076 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 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 1a d8 df f6 48 89 df e8 12 57 e0 f6 e8 1d 42 06 f7 fb bf 01 00 00 00 62 a3 d1 f6 65 8b 05 63 a4 7b 75 85 c0 74 02 5b c3 e8 50 69 78 RSP: 0018:ffffc9000352fd00 EFLAGS: 00000206 RAX: 00000000034f0055 RBX: ffff888021848980 RCX: 1ffffffff1e32011 RDX: 0000000000000000 RSI: ffffffff8acca9a0 RDI: 0000000000000001 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff8f193317 R11: 0000000000000000 R12: ffff888021848e18 R13: 0000000000000021 R14: ffff888021848d80 R15: 1ffff920006a5faf spin_unlock_irq include/linux/spinlock.h:401 [inline] get_signal+0x1899/0x2790 kernel/signal.c:2907 arch_do_signal_or_restart+0x90/0x7f0 arch/x86/kernel/signal.c:309 exit_to_user_mode_loop kernel/entry/common.c:168 [inline] exit_to_user_mode_prepare+0x11f/0x240 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x1d/0x60 kernel/entry/common.c:296 do_syscall_64+0x4b/0x110 arch/x86/entry/common.c:88 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7efdf2343e79 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:00007fff828f6328 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000003 RCX: 00007efdf2343e79 RDX: 000000002006b000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00000000000f4240 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000555556060370 R13: 0000000000000001 R14: 00007fff828f63a0 R15: 00007fff828f6390 INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 1.642 msecs