rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (0 ticks this GP) idle=88ac/1/0x4000000000000000 softirq=64248/64248 fqs=213 (detected by 0, t=10502 jiffies, g=98945, q=216 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 21445 Comm: syz-executor.4 Not tainted 6.1.79-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 RIP: 0010:__lock_is_held kernel/locking/lockdep.c:5401 [inline] RIP: 0010:lock_is_held_type+0x93/0x180 kernel/locking/lockdep.c:5705 Code: fa 48 c7 c7 20 fa eb 8a e8 9a 16 00 00 65 ff 05 93 dd 77 75 41 83 bd d8 0a 00 00 00 7e 47 4c 89 ed 48 81 c5 e0 0a 00 00 31 db <48> 83 fb 31 73 24 48 89 ef 4c 89 fe e8 1c 02 00 00 85 c0 75 2a 48 RSP: 0018:ffffc900001e0c78 EFLAGS: 00000097 RAX: 0000000000000002 RBX: 0000000000000001 RCX: ffff8880218d3b80 RDX: ffff8880218d3b80 RSI: ffff8880836e2300 RDI: ffff8880218d4660 RBP: ffff8880218d4688 R08: ffffffff88b4ffce R09: 0000000000000003 R10: ffffffffffffffff R11: dffffc0000000001 R12: 0000000000000046 R13: ffff8880218d3b80 R14: 00000000ffffffff R15: ffff8880836e2300 FS: 00007fe00c3606c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000200d7030 CR3: 0000000081911000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_is_held include/linux/lockdep.h:283 [inline] advance_sched+0xd0/0x970 net/sched/sch_taprio.c:703 __run_hrtimer kernel/time/hrtimer.c:1686 [inline] __hrtimer_run_queues+0x5e5/0xe50 kernel/time/hrtimer.c:1750 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1812 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1095 [inline] __sysvec_apic_timer_interrupt+0x156/0x580 arch/x86/kernel/apic/apic.c:1112 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:653 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [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 b2 13 4d f7 f6 44 24 21 02 75 4e 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 37 63 c9 f6 65 8b 05 78 93 6d 75 85 c0 74 3f 48 c7 04 24 0e 36 RSP: 0018:ffffc90004247920 EFLAGS: 00000206 RAX: dab3b78aed1f0600 RBX: 1ffff92000848f28 RCX: ffffffff816aba9a RDX: dffffc0000000000 RSI: ffffffff8aebed40 RDI: 0000000000000001 RBP: ffffc900042479b0 R08: dffffc0000000000 R09: fffffbfff2092645 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 1ffff92000848f24 R14: ffffc90004247940 R15: 0000000000000246 clock_was_set+0x179/0x900 kernel/time/hrtimer.c:970 timekeeping_inject_offset+0x65f/0x710 kernel/time/timekeeping.c:1395 do_adjtimex+0x511/0xaa0 kernel/time/timekeeping.c:2444 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:51 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fe00b67dda9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 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:00007fe00c3600c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000131 RAX: ffffffffffffffda RBX: 00007fe00b7abf80 RCX: 00007fe00b67dda9 RDX: 0000000000000000 RSI: 0000000020000040 RDI: 0000000000000000 RBP: 00007fe00b6ca47a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fe00b7abf80 R15: 00007fffdc1df3d8 rcu: rcu_preempt kthread starved for 10067 jiffies! g98945 f0x0 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:26680 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5245 [inline] __schedule+0x142d/0x4550 kernel/sched/core.c:6558 schedule+0xbf/0x180 kernel/sched/core.c:6634 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1935 rcu_gp_fqs_loop+0x2d2/0x1120 kernel/rcu/tree.c:1706 rcu_gp_kthread+0xa3/0x3a0 kernel/rcu/tree.c:1905 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 rcu: Stack dump where RCU GP kthread last ran: CPU: 0 PID: 0 Comm: swapper/0 Not tainted 6.1.79-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:22 [inline] RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:70 [inline] RIP: 0010:arch_irqs_disabled arch/x86/include/asm/irqflags.h:130 [inline] RIP: 0010:acpi_safe_halt drivers/acpi/processor_idle.c:113 [inline] RIP: 0010:acpi_idle_do_entry+0x10f/0x340 drivers/acpi/processor_idle.c:572 Code: b0 f5 f6 48 83 e3 08 0f 85 0b 01 00 00 4c 8d 74 24 20 e8 a4 6c fc f6 0f 1f 44 00 00 e8 4a ac f5 f6 0f 00 2d f3 4e b2 00 fb f4 <4c> 89 f3 48 c1 eb 03 42 80 3c 3b 00 74 08 4c 89 f7 e8 1b 1d 4d f7 RSP: 0018:ffffffff8ce07b20 EFLAGS: 000002d3 RAX: ffffffff8a94d2a6 RBX: 0000000000000000 RCX: ffffffff8cebd800 RDX: 0000000000000000 RSI: ffffffff8aebed40 RDI: ffffffff8b3d1040 RBP: ffffffff8ce07bb0 R08: ffffffff8a94d288 R09: fffffbfff19d7b01 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffffffff19c0f64 R13: ffff888140fc0004 R14: ffffffff8ce07b40 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055555624a938 CR3: 000000003dead000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: acpi_idle_enter+0x352/0x4f0 drivers/acpi/processor_idle.c:709 cpuidle_enter_state+0x516/0xf80 drivers/cpuidle/cpuidle.c:239 cpuidle_enter+0x59/0x90 drivers/cpuidle/cpuidle.c:356 call_cpuidle kernel/sched/idle.c:155 [inline] cpuidle_idle_call kernel/sched/idle.c:236 [inline] do_idle+0x3ce/0x680 kernel/sched/idle.c:303 cpu_startup_entry+0x3d/0x60 kernel/sched/idle.c:401 rest_init+0x2da/0x300 init/main.c:731 arch_call_rest_init+0xa/0xa init/main.c:891 start_kernel+0x496/0x53f init/main.c:1138 secondary_startup_64_no_verify+0xcf/0xdb