rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: (detected by 0, t=10502 jiffies, g=5169, q=60 ncpus=2) rcu: All QSes seen, last rcu_preempt kthread activity 10497 (4294969683-4294959186), jiffies_till_next_fqs=1, root ->qsmask 0x0 rcu: rcu_preempt kthread starved for 10498 jiffies! g5169 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:26320 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0x17e8/0x4a50 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:2030 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2232 kthread+0x2f0/0x390 kernel/kthread.c:389 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: 5129 Comm: syz-executor314 Not tainted 6.9.0-rc3-next-20240412-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:__lock_acquire+0x46c/0x1fd0 Code: 24 5c 00 0f 95 c2 c1 e2 13 41 c1 e7 15 41 09 d7 41 09 c7 41 09 cf 41 09 ff 48 8b 44 24 20 0f b6 04 30 84 c0 0f 85 13 13 00 00 <44> 8b a4 24 e0 00 00 00 48 8b 44 24 10 44 89 38 49 89 c7 4c 8b 74 RSP: 0018:ffffc90000a18ad0 EFLAGS: 00000046 RAX: 0000000000000000 RBX: 0000000000004050 RCX: 0000000000040000 RDX: 0000000000080000 RSI: dffffc0000000000 RDI: 0000000000024050 RBP: 0000000000000000 R08: ffff888029ed46e0 R09: 0000000000000001 R10: dffffc0000000000 R11: fffffbfff1f57cd6 R12: ffffffff8e34e388 R13: 0000000000000050 R14: 0000000000000001 R15: 00000000000e4050 FS: 000055557973f3c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002006b000 CR3: 000000007c384000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5754 seqcount_lockdep_reader_access+0xfc/0x220 include/linux/seqlock.h:72 timekeeping_debug_get_ns kernel/time/timekeeping.c:256 [inline] timekeeping_get_ns+0x5c/0x420 kernel/time/timekeeping.c:401 ktime_get+0x89/0xb0 kernel/time/timekeeping.c:850 clockevents_program_event+0xe6/0x350 kernel/time/clockevents.c:326 hrtimer_interrupt+0x54a/0x990 kernel/time/hrtimer.c:1831 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1032 [inline] __sysvec_apic_timer_interrupt+0x110/0x3f0 arch/x86/kernel/apic/apic.c:1049 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0xa1/0xc0 arch/x86/kernel/apic/apic.c:1043 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 9a 46 e3 f5 48 89 df e8 b2 86 e4 f5 e8 7d e6 0d f6 fb bf 01 00 00 00 82 4f d6 f5 65 8b 05 e3 46 74 74 85 c0 74 06 5b c3 cc cc cc cc RSP: 0018:ffffc90002f47c70 EFLAGS: 00000282 RAX: 53a389f4123e1c00 RBX: ffff888021d82500 RCX: ffffffff9476b703 RDX: dffffc0000000000 RSI: ffffffff8bcad2a0 RDI: 0000000000000001 RBP: ffffc90002f47db0 R08: ffffffff8fabe6af R09: 1ffffffff1f57cd5 R10: dffffc0000000000 R11: fffffbfff1f57cd6 R12: 0000000000000021 R13: 1ffff110043b0533 R14: ffff888021d82998 R15: ffff888021d82500 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+0x10a/0x250 arch/x86/entry/common.c:111 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fbfdb9abe79 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:00007ffe203bf468 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000003 RCX: 00007fbfdb9abe79 RDX: 000000002006b000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00000000000f4240 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000055557973f370 R13: 0000000000000002 R14: 00007ffe203bf4e0 R15: 00007ffe203bf4d0 INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 1.372 msecs