rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: (detected by 0, t=10502 jiffies, g=5377, q=12 ncpus=2) rcu: All QSes seen, last rcu_preempt kthread activity 10502 (4294968863-4294958361), jiffies_till_next_fqs=1, root ->qsmask 0x0 rcu: rcu_preempt kthread starved for 10502 jiffies! g5377 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:24880 pid:16 tgid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0x1796/0x4a00 kernel/sched/core.c:6746 __schedule_loop kernel/sched/core.c:6823 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6838 schedule_timeout+0x1be/0x310 kernel/time/timer.c:2582 rcu_gp_fqs_loop+0x2df/0x1370 kernel/rcu/tree.c:1663 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:1862 kthread+0x2f0/0x390 kernel/kthread.c:388 ret_from_fork+0x4b/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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 5115 Comm: syz-executor177 Not tainted 6.9.0-rc6-syzkaller-00227-g3d25a941ea50 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:lockdep_hardirqs_on_prepare+0x488/0x780 kernel/locking/lockdep.c:4361 Code: 48 c7 44 24 20 0e 36 e0 45 4a c7 04 3a 00 00 00 00 65 48 8b 04 25 28 00 00 00 48 3b 44 24 60 0f 85 ab 02 00 00 48 8d 65 d8 5b <41> 5c 41 5d 41 5e 41 5f 5d c3 cc cc cc cc 90 0f 0b 90 48 c7 c7 a0 RSP: 0018:ffffc900037afb88 EFLAGS: 00000046 RAX: 972a0a3aa0700100 RBX: 0000000000000000 RCX: ffffffff946f6603 RDX: dffffc0000000000 RSI: ffffffff8bcaca20 RDI: ffffffff8c1eaaa0 RBP: ffffc900037afba8 R08: ffffffff8fa7cf2f R09: 1ffffffff1f4f9e5 R10: dffffc0000000000 R11: fffffbfff1f4f9e6 R12: 0000000000000000 R13: 0000000000000000 R14: ffff888077668ad0 R15: 1ffff920006f5f64 FS: 000055555c2263c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002006b000 CR3: 00000000242c2000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: trace_hardirqs_on+0x28/0x40 kernel/trace/trace_preemptirq.c:61 irqentry_exit+0x63/0x90 kernel/entry/common.c:357 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 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 89 fb 48 83 c7 18 48 8b 74 24 08 e8 0a 3b f0 f5 48 89 df e8 22 7b f1 f5 e8 7d d5 1a f6 fb bf 01 00 00 00 12 40 e3 f5 65 8b 05 23 5c 81 74 85 c0 74 06 5b c3 cc cc cc cc RSP: 0018:ffffc900037afc70 EFLAGS: 00000282 RAX: 972a0a3aa0700100 RBX: ffff88802ab740c0 RCX: ffffffff946f6603 RDX: dffffc0000000000 RSI: ffffffff8bcab8a0 RDI: 0000000000000001 RBP: ffffc900037afdb0 R08: ffffffff8fa7cf2f R09: 1ffffffff1f4f9e5 R10: dffffc0000000000 R11: fffffbfff1f4f9e6 R12: 0000000000000021 R13: 1ffff1100556e8ab R14: ffff88802ab74558 R15: ffff88802ab740c0 spin_unlock_irq include/linux/spinlock.h:401 [inline] get_signal+0x14dd/0x1740 kernel/signal.c:2914 arch_do_signal_or_restart+0x96/0x860 arch/x86/kernel/signal.c:310 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0xc9/0x370 kernel/entry/common.c:218 do_syscall_64+0x102/0x240 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7ff96cb1bfea 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 c3 64 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 23 65 02 00 8b 44 24 RSP: 002b:00007fff74e55dc0 EFLAGS: 00000293 RAX: fffffffffffffff7 RBX: 0000000000000004 RCX: 00007ff96cb1bfea RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 00000000000f4240 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 000055555c226370 R13: 0000000000000004 R14: 00007fff74e55e50 R15: 00007fff74e55e40 INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 1.078 msecs