rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: (detected by 1, t=10502 jiffies, g=164017, q=99 ncpus=2) rcu: All QSes seen, last rcu_preempt kthread activity 10502 (4295124277-4295113775), jiffies_till_next_fqs=1, root ->qsmask 0x0 rcu: rcu_preempt kthread starved for 10502 jiffies! g164017 f0x2 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=0 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:26520 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5343 [inline] __schedule+0x187b/0x4900 kernel/sched/core.c:6669 schedule+0xc3/0x180 kernel/sched/core.c:6745 schedule_timeout+0x1bd/0x310 kernel/time/timer.c:2167 rcu_gp_fqs_loop+0x2c6/0x1010 kernel/rcu/tree.c:1609 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:1808 kthread+0x2b8/0x350 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 rcu: Stack dump where RCU GP kthread last ran: Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 28783 Comm: syz-executor.1 Not tainted 6.4.0-rc2-syzkaller-00015-g1b66c114d161 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/2023 RIP: 0010:__run_hrtimer kernel/time/hrtimer.c:1683 [inline] RIP: 0010:__hrtimer_run_queues+0x53f/0xd10 kernel/time/hrtimer.c:1749 Code: 84 02 00 00 e8 62 6c 10 00 eb 0f e8 5b 6c 10 00 49 bf 00 00 00 00 00 fc ff df 49 8d 5e 3b 48 89 d8 48 c1 e8 03 42 0f b6 04 38 <84> c0 0f 85 2a 03 00 00 0f b6 1b 31 ff 89 de e8 bd 6e 10 00 85 db RSP: 0018:ffffc90000007d60 EFLAGS: 00000806 RAX: 0000000000000000 RBX: ffff8880890a137b RCX: ffff8880790e8000 RDX: 0000000000010001 RSI: ffffffff8b384320 RDI: ffffffff8b3842e0 RBP: ffffc90000007eb0 R08: ffffffff817b101d R09: fffffbfff1cab88e R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880b982b740 R13: ffffffff88d20dd0 R14: ffff8880890a1340 R15: dffffc0000000000 FS: 00007f5f1820a700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f45856d98a8 CR3: 00000000296d3000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hrtimer_interrupt+0x396/0x980 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1095 [inline] __sysvec_apic_timer_interrupt+0x13f/0x480 arch/x86/kernel/apic/apic.c:1112 sysvec_apic_timer_interrupt+0x90/0xb0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0xd8/0x140 kernel/locking/spinlock.c:194 Code: 9c 8f 44 24 20 42 80 3c 23 00 74 08 4c 89 f7 e8 9e 7c 2a f7 f6 44 24 21 02 75 4e 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 83 2a a6 f6 65 8b 05 f4 e5 4a 75 85 c0 74 3f 48 c7 04 24 0e 36 RSP: 0018:ffffc9000310f900 EFLAGS: 00000206 RAX: 9efaccb084d05700 RBX: 1ffff92000621f24 RCX: ffffffff816b81fa RDX: dffffc0000000000 RSI: ffffffff8aea8d20 RDI: 0000000000000001 RBP: ffffc9000310f990 R08: dffffc0000000000 R09: fffffbfff206504d R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 1ffff92000621f20 R14: ffffc9000310f920 R15: 0000000000000246 clock_was_set+0x6a1/0x830 kernel/time/hrtimer.c:970 timekeeping_inject_offset+0x663/0x710 kernel/time/timekeeping.c:1395 do_adjtimex+0x515/0xab0 kernel/time/timekeeping.c:2444 do_clock_adjtime kernel/time/posix-timers.c:1122 [inline] __do_sys_clock_adjtime kernel/time/posix-timers.c:1134 [inline] __se_sys_clock_adjtime kernel/time/posix-timers.c:1125 [inline] __x64_sys_clock_adjtime+0x1e0/0x290 kernel/time/posix-timers.c:1125 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f5f1748c169 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f5f1820a168 EFLAGS: 00000246 ORIG_RAX: 0000000000000131 RAX: ffffffffffffffda RBX: 00007f5f175ac050 RCX: 00007f5f1748c169 RDX: 0000000000000000 RSI: 0000000020000040 RDI: 0000000000000000 RBP: 00007f5f174e7ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffea9020daf R14: 00007f5f1820a300 R15: 0000000000022000