rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: (detected by 1, t=10502 jiffies, g=18781, q=969 ncpus=2) rcu: All QSes seen, last rcu_preempt kthread activity 10493 (4294965106-4294954613), jiffies_till_next_fqs=1, root ->qsmask 0x0 rcu: rcu_preempt kthread starved for 10493 jiffies! g18781 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:24912 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6745 __schedule_loop kernel/sched/core.c:6822 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6837 schedule_timeout+0x1be/0x310 kernel/time/timer.c:2581 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2000 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2202 kthread+0x2f2/0x390 kernel/kthread.c:389 ret_from_fork+0x4d/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 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 6074 Comm: syz-executor.1 Not tainted 6.10.0-rc4-syzkaller-00301-g5f583a3162ff #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/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:162 [inline] RIP: 0010:wrmsr arch/x86/include/asm/msr.h:269 [inline] RIP: 0010:native_apic_msr_write+0x39/0x50 arch/x86/include/asm/apic.h:209 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 2b be 70 0a f3 0f 1e fa 89 f6 31 d2 e9 e3 bd a9 03 0f 1f RSP: 0018:ffffc9000323f5a8 EFLAGS: 00000046 RAX: 00000000000000f6 RBX: 0000000000000200 RCX: 000000000000083f RDX: 0000000000000000 RSI: 00000000000000f6 RDI: 000000000000083f RBP: 0000000000000000 R08: ffffffff8133ee0e R09: 1ffff92000647ea0 R10: dffffc0000000000 R11: fffff52000647ea1 R12: ffff8880b9436210 R13: 1ffff92000647e00 R14: 2fd3fbff178bfbff R15: 0000000000000020 FS: 0000555563aef480(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa099a4df00 CR3: 0000000011f18000 CR4: 0000000000350ef0 Call Trace: __apic_send_IPI_self arch/x86/include/asm/apic.h:460 [inline] arch_irq_work_raise+0x6f/0x80 arch/x86/kernel/irq_work.c:31 irq_work_queue+0xa7/0x150 kernel/irq_work.c:124 bpf_send_signal_common+0x2bf/0x430 kernel/trace/bpf_trace.c:877 ____bpf_send_signal_thread kernel/trace/bpf_trace.c:898 [inline] bpf_send_signal_thread+0x16/0x20 kernel/trace/bpf_trace.c:896 bpf_prog_16ecb682114cf56a+0x22/0x2e bpf_dispatcher_nop_func include/linux/bpf.h:1243 [inline] __bpf_prog_run include/linux/filter.h:691 [inline] bpf_prog_run include/linux/filter.h:698 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:2403 [inline] bpf_trace_run4+0x336/0x590 kernel/trace/bpf_trace.c:2446 __traceiter_sched_switch+0x9a/0xd0 include/trace/events/sched.h:222 trace_sched_switch include/trace/events/sched.h:222 [inline] __schedule+0x2587/0x4a20 kernel/sched/core.c:6742 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:7067 irqentry_exit+0x5e/0x90 kernel/entry/common.c:354 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:preempt_count_add+0x9/0x190 kernel/sched/core.c:5860 Code: 24 e8 fb 38 96 00 eb 8c e9 ee fe ff ff 0f 1f 40 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 41 57 41 56 53 <89> fb 48 c7 c0 e0 f6 79 94 48 c1 e8 03 49 bf 00 00 00 00 00 fc ff RSP: 0018:ffffc9000323fbc8 EFLAGS: 00000202 RAX: 0000000000000001 RBX: 1ffff1100fbbb780 RCX: 0000000000000001 RDX: dffffc0000000000 RSI: ffffffff8bcabb80 RDI: 0000000000000001 RBP: ffff88807dddbc00 R08: ffffffff8fad4cef R09: 1ffffffff1f5a99d R10: dffffc0000000000 R11: fffffbfff1f5a99e R12: dffffc0000000000 R13: ffffc9000323fda0 R14: ffffffff8b8f17b0 R15: ffff88807dddce78 __schedule_loop kernel/sched/core.c:6821 [inline] schedule+0x144/0x320 kernel/sched/core.c:6837 do_nanosleep+0x197/0x600 kernel/time/hrtimer.c:2028 hrtimer_nanosleep+0x227/0x470 kernel/time/hrtimer.c:2081 __do_sys_clock_nanosleep kernel/time/posix-timers.c:1396 [inline] __se_sys_clock_nanosleep+0x32d/0x3c0 kernel/time/posix-timers.c:1373 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fa098ca84b5 Code: 24 0c 89 3c 24 48 89 4c 24 18 e8 f6 b9 ff ff 4c 8b 54 24 18 48 8b 54 24 10 41 89 c0 8b 74 24 0c 8b 3c 24 b8 e6 00 00 00 0f 05 <44> 89 c7 48 89 04 24 e8 4f ba ff ff 48 8b 04 24 48 83 c4 28 f7 d8 RSP: 002b:00007ffd623cf000 EFLAGS: 00000293 ORIG_RAX: 00000000000000e6 RAX: ffffffffffffffda RBX: 00007fa098db3f80 RCX: 00007fa098ca84b5 RDX: 00007ffd623cf040 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007fa098db5980 R08: 0000000000000000 R09: 7fffffffffffffff R10: 0000000000000000 R11: 0000000000000293 R12: 000000000002aa15 R13: 00007fa098db41fc R14: 0000000000000032 R15: 00007fa098db5980