rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (0 ticks this GP) idle=e27/1/0x4000000000000000 softirq=4678/4678 fqs=0 (detected by 1, t=10502 jiffies, g=3917, q=393) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 3529 Comm: syz-executor213 Not tainted 5.15.134-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 RIP: 0010:__raw_callee_save___pv_queued_spin_unlock+0xc/0x12 Code: 56 57 41 50 41 51 41 52 41 53 e8 bf 0a 00 00 41 5b 41 5a 41 59 41 58 5f 5e 5a 59 c3 66 90 52 b8 01 00 00 00 31 d2 f0 0f b0 17 <3c> 01 75 02 5a c3 56 0f b6 f0 e8 c5 ff ff ff 5e 5a c3 66 90 55 48 RSP: 0018:ffffc90000007c30 EFLAGS: 00000046 RAX: 0000000000000001 RBX: 1ffffffff22c3966 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffffffff9161cb28 RBP: dffffc0000000000 R08: dffffc0000000000 R09: fffffbfff22c3966 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffffffff22c3967 R13: ffffffff9161cb38 R14: ffffffff9161cb30 R15: ffffffff9161cb28 FS: 0000555557195380(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000600 CR3: 000000001ea1c000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: pv_queued_spin_unlock arch/x86/include/asm/paravirt.h:590 [inline] queued_spin_unlock arch/x86/include/asm/qspinlock.h:56 [inline] do_raw_spin_unlock+0x137/0x8b0 kernel/locking/spinlock_debug.c:141 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:159 [inline] _raw_spin_unlock_irqrestore+0x7d/0x130 kernel/locking/spinlock.c:194 debug_hrtimer_deactivate kernel/time/hrtimer.c:425 [inline] debug_deactivate+0x1b/0x1e0 kernel/time/hrtimer.c:481 __run_hrtimer kernel/time/hrtimer.c:1653 [inline] __hrtimer_run_queues+0x31d/0xcf0 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1085 [inline] __sysvec_apic_timer_interrupt+0x139/0x470 arch/x86/kernel/apic/apic.c:1102 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1096 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:161 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0xd4/0x130 kernel/locking/spinlock.c:194 Code: 9c 8f 44 24 20 42 80 3c 23 00 74 08 4c 89 f7 e8 52 fa a3 f7 f6 44 24 21 02 75 4e 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 e7 59 31 f7 65 8b 05 38 96 dc 75 85 c0 74 3f 48 c7 04 24 0e 36 RSP: 0018:ffffc90002cdf920 EFLAGS: 00000206 RAX: 4268b52669e07700 RBX: 1ffff9200059bf28 RCX: ffffffff8162e998 RDX: dffffc0000000000 RSI: ffffffff8a8b0b60 RDI: 0000000000000001 RBP: ffffc90002cdf9b0 R08: dffffc0000000000 R09: fffffbfff1f7b221 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 1ffff9200059bf24 R14: ffffc90002cdf940 R15: 0000000000000246 clock_was_set+0x67d/0x880 kernel/time/hrtimer.c:970 timekeeping_inject_offset+0x65f/0x710 kernel/time/timekeeping.c:1378 do_adjtimex+0x511/0xaa0 kernel/time/timekeeping.c:2427 do_clock_adjtime kernel/time/posix-timers.c:1149 [inline] __do_sys_clock_adjtime kernel/time/posix-timers.c:1161 [inline] __se_sys_clock_adjtime kernel/time/posix-timers.c:1152 [inline] __x64_sys_clock_adjtime+0x1dc/0x290 kernel/time/posix-timers.c:1152 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f876be3bee9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 d1 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:00007ffd5db6aa58 EFLAGS: 00000246 ORIG_RAX: 0000000000000131 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f876be3bee9 RDX: 00007f876be3bee9 RSI: 0000000020000040 RDI: 0000000000000000 RBP: 00000000000f4240 R08: 0000000100000000 R09: 0000000100000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffd5db6aab0 R13: 0000000000000001 R14: 00007ffd5db6aab0 R15: 0000000000000003 INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 1.711 msecs rcu: rcu_preempt kthread timer wakeup didn't happen for 10501 jiffies! g3917 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=0 timer-softirq=10309 rcu: rcu_preempt kthread starved for 10502 jiffies! g3917 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->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:I stack:27000 pid: 15 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5026 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6372 schedule+0x11b/0x1f0 kernel/sched/core.c:6455 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1884 rcu_gp_fqs_loop+0x2af/0xf70 kernel/rcu/tree.c:1959 rcu_gp_kthread+0xa4/0x360 kernel/rcu/tree.c:2132 kthread+0x3f6/0x4f0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 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: 3529 Comm: syz-executor213 Not tainted 5.15.134-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 RIP: 0010:__lock_acquire+0xf28/0x1ff0 Code: cf 89 ca c1 c2 06 44 31 fa 01 c1 29 d0 89 d6 c1 c6 08 31 c6 01 ca 29 f1 89 f3 c1 c3 10 31 cb 01 d6 29 da 89 dd c1 c5 13 31 d5 <01> f3 29 ee 01 eb c1 c5 04 31 f5 48 c1 e5 20 48 c7 c0 48 48 e4 8d RSP: 0018:ffffc90000007a60 EFLAGS: 00000082 RAX: 0000000000104aa9 RBX: 000000000f0c4fd8 RCX: 00000000105aa07d RDX: 00000000f0e32550 RSI: 00000000ef94947e RDI: dffffc0000000000 RBP: 000000008e235d32 R08: dffffc0000000000 R09: fffffbfff1f7b221 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000001 R13: ffff888023fd4668 R14: 1ffff110047fa8cc R15: 000000000000402a FS: 0000555557195380(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000600 CR3: 000000001ea1c000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x1db/0x4f0 kernel/locking/lockdep.c:5622 rcu_lock_acquire+0x2a/0x30 include/linux/rcupdate.h:269 rcu_read_lock include/linux/rcupdate.h:696 [inline] advance_sched+0x6ce/0x940 net/sched/sch_taprio.c:769 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x598/0xcf0 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1085 [inline] __sysvec_apic_timer_interrupt+0x139/0x470 arch/x86/kernel/apic/apic.c:1102 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1096 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:161 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0xd4/0x130 kernel/locking/spinlock.c:194 Code: 9c 8f 44 24 20 42 80 3c 23 00 74 08 4c 89 f7 e8 52 fa a3 f7 f6 44 24 21 02 75 4e 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 e7 59 31 f7 65 8b 05 38 96 dc 75 85 c0 74 3f 48 c7 04 24 0e 36 RSP: 0018:ffffc90002cdf920 EFLAGS: 00000206 RAX: 4268b52669e07700 RBX: 1ffff9200059bf28 RCX: ffffffff8162e998 RDX: dffffc0000000000 RSI: ffffffff8a8b0b60 RDI: 0000000000000001 RBP: ffffc90002cdf9b0 R08: dffffc0000000000 R09: fffffbfff1f7b221 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 1ffff9200059bf24 R14: ffffc90002cdf940 R15: 0000000000000246 clock_was_set+0x67d/0x880 kernel/time/hrtimer.c:970 timekeeping_inject_offset+0x65f/0x710 kernel/time/timekeeping.c:1378 do_adjtimex+0x511/0xaa0 kernel/time/timekeeping.c:2427 do_clock_adjtime kernel/time/posix-timers.c:1149 [inline] __do_sys_clock_adjtime kernel/time/posix-timers.c:1161 [inline] __se_sys_clock_adjtime kernel/time/posix-timers.c:1152 [inline] __x64_sys_clock_adjtime+0x1dc/0x290 kernel/time/posix-timers.c:1152 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f876be3bee9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 d1 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:00007ffd5db6aa58 EFLAGS: 00000246 ORIG_RAX: 0000000000000131 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f876be3bee9 RDX: 00007f876be3bee9 RSI: 0000000020000040 RDI: 0000000000000000 RBP: 00000000000f4240 R08: 0000000100000000 R09: 0000000100000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffd5db6aab0 R13: 0000000000000001 R14: 00007ffd5db6aab0 R15: 0000000000000003