rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: (detected by 0, t=10502 jiffies, g=129101, q=153 ncpus=2) rcu: All QSes seen, last rcu_preempt kthread activity 10502 (4295138056-4295127554), jiffies_till_next_fqs=1, root ->qsmask 0x0 rcu: rcu_preempt kthread starved for 10502 jiffies! g129101 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:25880 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5328 [inline] __schedule+0x17fa/0x4bd0 kernel/sched/core.c:6693 __schedule_loop kernel/sched/core.c:6770 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6785 schedule_timeout+0x1be/0x310 kernel/time/timer.c:2615 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2045 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2247 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 UID: 0 PID: 27295 Comm: syz.9.5763 Not tainted 6.12.0-rc7-syzkaller-00216-gf66d6acccbc0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:32 [inline] RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:87 [inline] RIP: 0010:arch_irqs_disabled arch/x86/include/asm/irqflags.h:147 [inline] RIP: 0010:lock_release+0x631/0xa30 kernel/locking/lockdep.c:5849 Code: eb 03 42 80 3c 3b 00 74 08 4c 89 f7 e8 98 21 8b 00 48 c7 84 24 90 00 00 00 00 00 00 00 9c 8f 84 24 90 00 00 00 42 80 3c 3b 00 <74> 08 4c 89 f7 e8 85 20 8b 00 f6 84 24 91 00 00 00 02 75 77 41 f7 RSP: 0018:ffffc90000a18b40 EFLAGS: 00000046 RAX: 0000000000000001 RBX: 1ffff9200014317a RCX: ffffc90000a18b03 RDX: 0000000000000001 RSI: ffffffff8c0adc40 RDI: ffffffff8c6038e0 RBP: ffffc90000a18c70 R08: ffffffff901be1af R09: 1ffffffff2037c35 R10: dffffc0000000000 R11: fffffbfff2037c36 R12: 1ffff92000143174 R13: 0000000000000046 R14: ffffc90000a18bd0 R15: dffffc0000000000 FS: 00007fb1afdc76c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb1afdc6f98 CR3: 000000006ba58000 CR4: 00000000003526f0 Call Trace: __raw_spin_unlock include/linux/spinlock_api_smp.h:141 [inline] _raw_spin_unlock+0x16/0x50 kernel/locking/spinlock.c:186 spin_unlock include/linux/spinlock.h:391 [inline] advance_sched+0x9b4/0xca0 net/sched/sch_taprio.c:981 __run_hrtimer kernel/time/hrtimer.c:1691 [inline] __hrtimer_run_queues+0x59b/0xd50 kernel/time/hrtimer.c:1755 hrtimer_interrupt+0x396/0x990 kernel/time/hrtimer.c:1817 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1038 [inline] __sysvec_apic_timer_interrupt+0x110/0x420 arch/x86/kernel/apic/apic.c:1055 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline] sysvec_apic_timer_interrupt+0xa1/0xc0 arch/x86/kernel/apic/apic.c:1049 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 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 a3 32 f6 f6 44 24 21 02 75 52 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 73 3e 9a f5 65 8b 05 54 d6 3a 74 85 c0 74 43 48 c7 04 24 0e 36 RSP: 0018:ffffc9000fa678c0 EFLAGS: 00000206 RAX: b92fe850f6c85b00 RBX: 1ffff92001f4cf1c RCX: ffffffff9a3a2903 RDX: dffffc0000000000 RSI: ffffffff8c0acac0 RDI: 0000000000000001 RBP: ffffc9000fa67958 R08: ffffffff901be1af R09: 1ffffffff2037c35 R10: dffffc0000000000 R11: fffffbfff2037c36 R12: dffffc0000000000 R13: 1ffff92001f4cf18 R14: ffffc9000fa678e0 R15: 0000000000000246 spin_unlock_irqrestore include/linux/spinlock.h:406 [inline] timerfd_clock_was_set+0x1e0/0x2f0 fs/timerfd.c:113 clock_was_set+0x78e/0x810 kernel/time/hrtimer.c:978 timekeeping_inject_offset+0x4e8/0x580 kernel/time/timekeeping.c:1524 do_adjtimex+0x51d/0xae0 kernel/time/timekeeping.c:2575 do_clock_adjtime kernel/time/posix-timers.c:1174 [inline] __do_sys_clock_adjtime kernel/time/posix-timers.c:1186 [inline] __se_sys_clock_adjtime kernel/time/posix-timers.c:1177 [inline] __x64_sys_clock_adjtime+0x1e1/0x290 kernel/time/posix-timers.c:1177 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fb1aef7e719 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fb1afdc7038 EFLAGS: 00000246 ORIG_RAX: 0000000000000131 RAX: ffffffffffffffda RBX: 00007fb1af136058 RCX: 00007fb1aef7e719 RDX: 0000000000000000 RSI: 0000000020000480 RDI: 0000000000000000 RBP: 00007fb1aeff175e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fb1af136058 R15: 00007ffc524d6118