rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: (detected by 0, t=10502 jiffies, g=7269, q=166 ncpus=2) rcu: All QSes seen, last rcu_preempt kthread activity 10503 (4294955090-4294944587), jiffies_till_next_fqs=1, root ->qsmask 0x0 rcu: rcu_preempt kthread starved for 10504 jiffies! g7269 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:26712 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5241 [inline] __schedule+0x143f/0x4570 kernel/sched/core.c:6558 schedule+0xbf/0x180 kernel/sched/core.c:6634 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1965 rcu_gp_fqs_loop+0x2d2/0x1150 kernel/rcu/tree.c:1706 rcu_gp_kthread+0xa3/0x3b0 kernel/rcu/tree.c:1905 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 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: 4275 Comm: syz-executor417 Tainted: G W 6.1.122-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:irqentry_exit+0x10/0x80 kernel/entry/common.c:415 Code: c3 e8 64 09 00 00 e8 af ed de f6 b0 01 5b c3 eb e7 66 0f 1f 84 00 00 00 00 00 83 3d 9d ca e8 03 00 74 16 65 8b 05 e0 07 50 75 <85> c0 75 0b 65 8b 05 c5 04 50 75 85 c0 75 0e f6 87 88 00 00 00 03 RSP: 0018:ffffc90003cc7a80 EFLAGS: 00000002 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000010001 RDX: 1ffffffff202c608 RSI: 0000000000000000 RDI: ffffc90003cc7a88 RBP: 0000000000000000 R08: ffffffff90163040 R09: ffffffff90163048 R10: ffffffff90163058 R11: ffffffff90163050 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 000055558634f3c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f33801ca2e0 CR3: 000000002f817000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:691 RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:160 [inline] RIP: 0010:_raw_spin_unlock_irq+0x25/0x40 kernel/locking/spinlock.c:202 Code: a1 95 f5 ff 90 53 48 89 fb 48 83 c7 18 48 8b 74 24 08 e8 5e f8 ad f6 48 89 df e8 56 36 af f6 e8 e1 8d d4 f6 fb bf 01 00 00 00 66 c0 a1 f6 65 8b 05 27 a0 45 75 85 c0 74 02 5b c3 e8 d4 c3 43 RSP: 0018:ffffc90003cc7b30 EFLAGS: 00000286 RAX: 6a5ddfd03d695500 RBX: ffff88802f8ba500 RCX: ffffffff97355103 RDX: dffffc0000000000 RSI: ffffffff8b0c0340 RDI: 0000000000000001 RBP: ffffc90003cc7c70 R08: dffffc0000000000 R09: ffffed1005f174a1 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff11005f17533 R13: 000000001c000004 R14: 0000000000000021 R15: ffff88802f8ba998 spin_unlock_irq include/linux/spinlock.h:401 [inline] get_signal+0x154b/0x17d0 kernel/signal.c:2874 arch_do_signal_or_restart+0xb0/0x1a10 arch/x86/kernel/signal.c:871 exit_to_user_mode_loop+0x6a/0x100 kernel/entry/common.c:174 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:210 __syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline] syscall_exit_to_user_mode+0x60/0x270 kernel/entry/common.c:303 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:87 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f33801afa8a Code: 48 3d 00 f0 ff ff 77 48 c3 0f 1f 80 00 00 00 00 48 83 ec 18 89 7c 24 0c e8 b3 85 02 00 8b 7c 24 0c 89 c2 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 36 89 d7 89 44 24 0c e8 13 86 02 00 8b 44 24 RSP: 002b:00007ffe107e5340 EFLAGS: 00000293 RAX: fffffffffffffff7 RBX: 0000000000000004 RCX: 00007f33801afa8a RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 00007f3380201191 R13: 00007ffe107e5680 R14: 00007ffe107e5390 R15: 0000000000000000 INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 1.172 msecs