rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: (detected by 0, t=10502 jiffies, g=4589, q=23 ncpus=2) rcu: All QSes seen, last rcu_preempt kthread activity 10503 (4294966651-4294956148), jiffies_till_next_fqs=1, root ->qsmask 0x0 rcu: rcu_preempt kthread starved for 10504 jiffies! g4589 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:26136 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5245 [inline] __schedule+0x142d/0x4550 kernel/sched/core.c:6558 schedule+0xbf/0x180 kernel/sched/core.c:6634 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1935 rcu_gp_fqs_loop+0x2d2/0x1120 kernel/rcu/tree.c:1674 rcu_gp_kthread+0xa3/0x3a0 kernel/rcu/tree.c:1873 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 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: 3590 Comm: syz-executor161 Not tainted 6.1.69-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 RIP: 0010:debug_spin_unlock kernel/locking/spinlock_debug.c:104 [inline] RIP: 0010:do_raw_spin_unlock+0xdf/0x8a0 kernel/locking/spinlock_debug.c:140 Code: 03 84 c0 0f 85 ea 03 00 00 41 8b 06 65 8b 0d 08 6b 96 7e 39 c8 0f 85 c5 02 00 00 48 bd 00 00 00 00 00 fc ff df 41 80 3c 2c 00 <74> 08 4c 89 ef e8 c7 40 76 00 49 c7 45 00 ff ff ff ff 0f b6 04 2b RSP: 0018:ffffc900001e0b20 EFLAGS: 00000046 RAX: 0000000000000001 RBX: 1ffff1100fe28251 RCX: 0000000000000001 RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffff88807f141280 RBP: dffffc0000000000 R08: dffffc0000000000 R09: ffffed100fe28251 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff1100fe28252 R13: ffff88807f141290 R14: ffff88807f141288 R15: ffff88807f141280 FS: 00005555567083c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002006b000 CR3: 000000007d256000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:150 [inline] _raw_spin_unlock_irqrestore+0x7d/0x130 kernel/locking/spinlock.c:194 spin_unlock_irqrestore include/linux/spinlock.h:405 [inline] unlock_task_sighand include/linux/sched/signal.h:753 [inline] send_sigqueue+0x4cb/0x720 kernel/signal.c:2007 posix_timer_event kernel/time/posix-timers.c:354 [inline] posix_timer_fn+0x186/0x390 kernel/time/posix-timers.c:380 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x5e5/0xe50 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1095 [inline] __sysvec_apic_timer_interrupt+0x156/0x580 arch/x86/kernel/apic/apic.c:1112 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:653 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: 41 b8 f5 ff 90 53 48 89 fb 48 83 c7 18 48 8b 74 24 08 e8 be 30 d6 f6 48 89 df e8 26 6e d7 f6 e8 21 0b fd f6 fb bf 01 00 00 00 06 fd c9 f6 65 8b 05 87 2f 6e 75 85 c0 74 02 5b c3 e8 c4 4d 6c RSP: 0018:ffffc90003bbfb30 EFLAGS: 00000286 RAX: 2925e3de422cbe00 RBX: ffff88807f141280 RCX: ffffffff91c87103 RDX: dffffc0000000000 RSI: ffffffff8aebe6c0 RDI: 0000000000000001 RBP: ffffc90003bbfc70 R08: dffffc0000000000 R09: ffffed100fe28251 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff1100fe282e3 R13: 000000001c000004 R14: 0000000000000021 R15: ffff88807f141718 spin_unlock_irq include/linux/spinlock.h:400 [inline] get_signal+0x154b/0x17d0 kernel/signal.c:2865 arch_do_signal_or_restart+0xb0/0x1a10 arch/x86/kernel/signal.c:871 exit_to_user_mode_loop+0x6a/0x100 kernel/entry/common.c:168 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline] syscall_exit_to_user_mode+0x60/0x270 kernel/entry/common.c:297 do_syscall_64+0x49/0xb0 arch/x86/entry/common.c:87 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fbaa87fbe79 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:00007ffdb19123e8 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000003 RCX: 00007fbaa87fbe79 RDX: 000000002006b000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00000000000f4240 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000002 R14: 00007ffdb1912460 R15: 00007ffdb1912450 INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 1.428 msecs