rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: (detected by 0, t=10502 jiffies, g=110813, q=12 ncpus=2) rcu: All QSes seen, last rcu_preempt kthread activity 10502 (4295111006-4295100504), jiffies_till_next_fqs=1, root ->qsmask 0x0 rcu: rcu_preempt kthread starved for 10502 jiffies! g110813 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:26304 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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 21820 Comm: syz-executor.4 Not tainted 6.3.0-syzkaller-13091-g3c4aa4434377 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 RIP: 0010:__preempt_count_add arch/x86/include/asm/preempt.h:80 [inline] RIP: 0010:rcu_is_watching+0x6/0xb0 kernel/rcu/tree.c:694 Code: c7 c7 60 df f2 8c 4c 89 f6 e8 36 71 f8 02 e9 2b ff ff ff e8 9c 7e 3a 09 66 2e 0f 1f 84 00 00 00 00 00 66 90 f3 0f 1e fa 41 57 <41> 56 53 65 ff 05 28 47 8f 7e e8 8b 98 3a 09 89 c3 83 f8 08 73 76 RSP: 0018:ffffc900001e0c80 EFLAGS: 00000002 RAX: 0000000000010001 RBX: 0000000000000001 RCX: ffff88802a653b80 RDX: ffff88802a653b80 RSI: 0000000000000001 RDI: 0000000000000000 RBP: 184d6e44b09adc89 R08: ffffffff88d225e9 R09: fffffbfff206524d R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 184d6e44309adc88 R14: ffff88807642cc00 R15: ffff88807967b360 FS: 00007f390631d700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f390631d718 CR3: 000000005b9e4000 CR4: 00000000003526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_read_lock include/linux/rcupdate.h:774 [inline] advance_sched+0xa22/0xc80 net/sched/sch_taprio.c:990 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x59f/0xd10 kernel/time/hrtimer.c:1749 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 2e 99 2a f7 f6 44 24 21 02 75 4e 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 f3 46 a6 f6 65 8b 05 e4 ec 4a 75 85 c0 74 3f 48 c7 04 24 0e 36 RSP: 0018:ffffc900164f78a0 EFLAGS: 00000206 RAX: 9fc4ddda38a43e00 RBX: 1ffff92002c9ef18 RCX: ffffffff91b21103 RDX: dffffc0000000000 RSI: ffffffff8aea8ea0 RDI: 0000000000000001 RBP: ffffc900164f7940 R08: dffffc0000000000 R09: fffffbfff1cab85e R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 1ffff92002c9ef14 R14: ffffc900164f78c0 R15: 0000000000000246 spin_unlock_irqrestore include/linux/spinlock.h:405 [inline] timerfd_clock_was_set+0x1b7/0x2a0 fs/timerfd.c:113 clock_was_set+0x7ab/0x830 kernel/time/hrtimer.c:980 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:0x7f390568c169 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:00007f390631d168 EFLAGS: 00000246 ORIG_RAX: 0000000000000131 RAX: ffffffffffffffda RBX: 00007f39057ac050 RCX: 00007f390568c169 RDX: 0000000000000000 RSI: 0000000020000040 RDI: 0000000000000000 RBP: 00007f39056e7ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff20d9d98f R14: 00007f390631d300 R15: 0000000000022000