rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: (detected by 0, t=10502 jiffies, g=5349, q=105) rcu: All QSes seen, last rcu_preempt kthread activity 10500 (4294956196-4294945696), jiffies_till_next_fqs=1, root ->qsmask 0x0 rcu: rcu_preempt kthread starved for 10500 jiffies! g5349 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:26816 pid: 15 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5027 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6373 schedule+0x11b/0x1f0 kernel/sched/core.c:6456 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1914 rcu_gp_fqs_loop+0x2bf/0x1080 kernel/rcu/tree.c:1972 rcu_gp_kthread+0xa4/0x360 kernel/rcu/tree.c:2145 kthread+0x3f6/0x4f0 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 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: 4195 Comm: syz-executor871 Not tainted 5.15.175-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:preempt_count_add+0x40/0x180 kernel/sched/core.c:5490 Code: 00 00 00 fc ff df 42 0f b6 04 38 84 c0 0f 85 e2 00 00 00 83 3d 60 74 51 15 00 75 07 65 8b 05 5f e4 aa 7e 65 01 1d 58 e4 aa 7e <48> c7 c0 c0 ff a8 96 48 c1 e8 03 42 0f b6 04 38 84 c0 0f 85 d9 00 RSP: 0018:ffffc90000dd0a40 EFLAGS: 00000082 RAX: 0000000080010003 RBX: 0000000000000001 RCX: ffffffff96a8ff03 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001 RBP: ffffc90000dd0ba0 R08: dffffc0000000000 R09: ffffed100f1a5b29 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff920001ba158 R13: 0000000000000001 R14: 0000000000000021 R15: dffffc0000000000 FS: 000055558a9c03c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002006b000 CR3: 00000000777e5000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: try_to_wake_up+0x89/0x1300 kernel/sched/core.c:3999 signal_wake_up_state kernel/signal.c:770 [inline] signal_wake_up include/linux/sched/signal.h:427 [inline] complete_signal+0x5a0/0x9a0 kernel/signal.c:1062 send_sigqueue+0x454/0x6f0 kernel/signal.c:1999 posix_timer_event kernel/time/posix-timers.c:359 [inline] posix_timer_fn+0x186/0x390 kernel/time/posix-timers.c:385 __run_hrtimer kernel/time/hrtimer.c:1688 [inline] __hrtimer_run_queues+0x598/0xcf0 kernel/time/hrtimer.c:1752 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1814 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1097 [inline] __sysvec_apic_timer_interrupt+0x13b/0x4b0 arch/x86/kernel/apic/apic.c:1114 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline] sysvec_apic_timer_interrupt+0x9b/0xc0 arch/x86/kernel/apic/apic.c:1108 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676 RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:169 [inline] RIP: 0010:_raw_spin_unlock_irq+0x25/0x40 kernel/locking/spinlock.c:202 Code: 31 61 f6 ff 90 53 48 89 fb 48 83 c7 18 48 8b 74 24 08 e8 1e 65 1a f7 48 89 df e8 76 b9 1b f7 e8 21 75 3e f7 fb bf 01 00 00 00 96 fe 0e f7 65 8b 05 a7 e1 b9 75 85 c0 74 02 5b c3 e8 74 fe b7 RSP: 0018:ffffc90002e8fbc0 EFLAGS: 00000282 RAX: 49e7f99193798800 RBX: ffff88807c345340 RCX: ffffffff96a8ff03 RDX: dffffc0000000000 RSI: ffffffff8aab2b80 RDI: 0000000000000001 RBP: 0000000000000000 R08: ffffffff81870360 R09: ffffed100f868a69 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000021 R13: dffffc0000000000 R14: ffff88807c3457d8 R15: ffff88807c345340 spin_unlock_irq include/linux/spinlock.h:413 [inline] get_signal+0x13ee/0x14e0 kernel/signal.c:2903 arch_do_signal_or_restart+0xc3/0x1890 arch/x86/kernel/signal.c:867 handle_signal_work kernel/entry/common.c:154 [inline] exit_to_user_mode_loop+0x97/0x130 kernel/entry/common.c:178 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:214 __syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline] syscall_exit_to_user_mode+0x5d/0x240 kernel/entry/common.c:307 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f8f16a4fe59 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 21 19 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:00007ffccf2a3ec8 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000003 RCX: 00007f8f16a4fe59 RDX: 000000002006b000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f8f16aa7036 R13: 00007ffccf2a3f00 R14: 00007ffccf2a3f40 R15: 0000000000000000 INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 1.391 msecs