rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (3 ticks this GP) idle=d6d/0/0x1 softirq=5244/5244 fqs=0 (detected by 1, t=10504 jiffies, g=4337, q=195) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.15.160-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 RIP: 0010:rcu_dynticks_curr_cpu_in_eqs kernel/rcu/tree.c:331 [inline] RIP: 0010:rcu_is_watching+0xc/0xa0 kernel/rcu/tree.c:1123 Code: 7a d9 b2 08 41 f7 c4 00 02 00 00 75 b4 eb b3 e8 5a d9 b2 08 66 2e 0f 1f 84 00 00 00 00 00 41 57 41 56 53 65 ff 05 6c 5b 97 7e ff ec b2 08 89 c3 83 f8 08 73 72 49 bf 00 00 00 00 00 fc ff df RSP: 0018:ffffc90000007d40 EFLAGS: 00000002 RAX: 0000000000010001 RBX: 0000000000000001 RCX: ffffffff816f650e RDX: ffffffff8c6bd5c0 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90000007eb0 R08: ffffffff816f6536 R09: fffffbfff1bc8cce R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880b9a2a200 R13: ffffffff886c3f10 R14: ffff888018e99340 R15: dffffc0000000001 FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f4bd03fa090 CR3: 000000000c68e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: trace_hrtimer_expire_entry include/trace/events/timer.h:236 [inline] __run_hrtimer kernel/time/hrtimer.c:1683 [inline] __hrtimer_run_queues+0x500/0xcf0 kernel/time/hrtimer.c:1750 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1812 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: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:132 [inline] RIP: 0010:acpi_safe_halt drivers/acpi/processor_idle.c:110 [inline] RIP: 0010:acpi_idle_do_entry+0x10f/0x340 drivers/acpi/processor_idle.c:570 Code: fd 58 f7 48 83 e3 08 0f 85 0a 01 00 00 4c 8d 74 24 20 e8 24 79 5f f7 0f 1f 44 00 00 e8 1a f9 58 f7 0f 00 2d 33 bb bb 00 fb f4 <4c> 89 f3 48 c1 eb 03 42 80 3c 3b 00 74 08 4c 89 f7 e8 8b c7 a2 f7 RSP: 0018:ffffffff8c607b80 EFLAGS: 000002d3 RAX: ffffffff8a2763a6 RBX: 0000000000000000 RCX: ffffffff8c6bd5c0 RDX: 0000000000000000 RSI: ffffffff8a8b2980 RDI: ffffffff8ad8f6c0 RBP: ffffffff8c607c10 R08: ffffffff8186dcf0 R09: fffffbfff18d7ab9 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffffffff18c0f70 R13: ffff888145f40004 R14: ffffffff8c607ba0 R15: dffffc0000000000 acpi_idle_enter+0x352/0x4f0 drivers/acpi/processor_idle.c:705 cpuidle_enter_state+0x521/0xef0 drivers/cpuidle/cpuidle.c:237 cpuidle_enter+0x59/0x90 drivers/cpuidle/cpuidle.c:351 call_cpuidle kernel/sched/idle.c:158 [inline] cpuidle_idle_call kernel/sched/idle.c:239 [inline] do_idle+0x3e4/0x670 kernel/sched/idle.c:306 cpu_startup_entry+0x14/0x20 kernel/sched/idle.c:403 start_kernel+0x48c/0x540 init/main.c:1140 secondary_startup_64_no_verify+0xb1/0xbb INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 1.145 msecs rcu: rcu_preempt kthread timer wakeup didn't happen for 10503 jiffies! g4337 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=0 timer-softirq=8829 rcu: rcu_preempt kthread starved for 10504 jiffies! g4337 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:5030 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6376 schedule+0x11b/0x1f0 kernel/sched/core.c:6459 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1914 rcu_gp_fqs_loop+0x2bf/0x1080 kernel/rcu/tree.c:1972 rcu_gp_kthread+0xa4/0x360 kernel/rcu/tree.c:2145 kthread+0x3f6/0x4f0 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:300 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: 0 Comm: swapper/0 Not tainted 5.15.160-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 RIP: 0010:mark_usage kernel/locking/lockdep.c:4485 [inline] RIP: 0010:__lock_acquire+0xb89/0x1ff0 kernel/locking/lockdep.c:4966 Code: ba 00 00 00 00 00 fc ff df 85 c0 0f 84 d7 09 00 00 48 8b 44 24 68 0f b6 04 10 84 c0 0f 85 fe 10 00 00 48 8b 44 24 10 83 38 00 <74> 24 48 89 ef 48 8b 74 24 08 ba 04 00 00 00 e8 33 5b 00 00 48 ba RSP: 0018:ffffc900000079e0 EFLAGS: 00000046 RAX: ffffffff8c6be094 RBX: 1ffffffff18d7c1f RCX: ffffffff81631938 RDX: dffffc0000000000 RSI: 0000000000000000 RDI: ffffffff8fbf80c0 RBP: ffffffff8c6bd5c0 R08: dffffc0000000000 R09: fffffbfff1f7f019 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000001 R13: ffffffff8c6be0a8 R14: 0000000000000001 R15: ffffffff8c6be0f8 FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f4bd03fa090 CR3: 000000000c68e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x1db/0x4f0 kernel/locking/lockdep.c:5623 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xd1/0x120 kernel/locking/spinlock.c:162 debug_object_activate+0x63/0x4e0 lib/debugobjects.c:693 debug_hrtimer_activate kernel/time/hrtimer.c:420 [inline] debug_activate kernel/time/hrtimer.c:475 [inline] enqueue_hrtimer+0x30/0x390 kernel/time/hrtimer.c:1084 __run_hrtimer kernel/time/hrtimer.c:1703 [inline] __hrtimer_run_queues+0x6b6/0xcf0 kernel/time/hrtimer.c:1750 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1812 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: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:132 [inline] RIP: 0010:acpi_safe_halt drivers/acpi/processor_idle.c:110 [inline] RIP: 0010:acpi_idle_do_entry+0x10f/0x340 drivers/acpi/processor_idle.c:570 Code: fd 58 f7 48 83 e3 08 0f 85 0a 01 00 00 4c 8d 74 24 20 e8 24 79 5f f7 0f 1f 44 00 00 e8 1a f9 58 f7 0f 00 2d 33 bb bb 00 fb f4 <4c> 89 f3 48 c1 eb 03 42 80 3c 3b 00 74 08 4c 89 f7 e8 8b c7 a2 f7 RSP: 0018:ffffffff8c607b80 EFLAGS: 000002d3 RAX: ffffffff8a2763a6 RBX: 0000000000000000 RCX: ffffffff8c6bd5c0 RDX: 0000000000000000 RSI: ffffffff8a8b2980 RDI: ffffffff8ad8f6c0 RBP: ffffffff8c607c10 R08: ffffffff8186dcf0 R09: fffffbfff18d7ab9 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffffffff18c0f70 R13: ffff888145f40004 R14: ffffffff8c607ba0 R15: dffffc0000000000 acpi_idle_enter+0x352/0x4f0 drivers/acpi/processor_idle.c:705 cpuidle_enter_state+0x521/0xef0 drivers/cpuidle/cpuidle.c:237 cpuidle_enter+0x59/0x90 drivers/cpuidle/cpuidle.c:351 call_cpuidle kernel/sched/idle.c:158 [inline] cpuidle_idle_call kernel/sched/idle.c:239 [inline] do_idle+0x3e4/0x670 kernel/sched/idle.c:306 cpu_startup_entry+0x14/0x20 kernel/sched/idle.c:403 start_kernel+0x48c/0x540 init/main.c:1140 secondary_startup_64_no_verify+0xb1/0xbb