rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 1-...!: (3 ticks this GP) idle=65dc/0/0x1 softirq=5959/5959 fqs=0 (t=14221 jiffies g=4501 q=147 ncpus=2) rcu: rcu_preempt kthread timer wakeup didn't happen for 14220 jiffies! g4501 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=1 timer-softirq=3450 rcu: rcu_preempt kthread starved for 14221 jiffies! g4501 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->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:I stack:27384 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5191 [inline] __schedule+0x8fc/0xda0 kernel/sched/core.c:6503 schedule+0xcb/0x190 kernel/sched/core.c:6579 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1935 rcu_gp_fqs_loop+0x309/0x1070 kernel/rcu/tree.c:1660 rcu_gp_kthread+0xa5/0x390 kernel/rcu/tree.c:1859 kthread+0x266/0x300 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: 1 PID: 0 Comm: swapper/1 Not tainted 6.1.0-rc2-syzkaller-00105-gb229b6ca5abb #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/11/2022 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 drivers/acpi/processor_idle.c:572 [inline] RIP: 0010:acpi_idle_enter+0x43d/0x800 drivers/acpi/processor_idle.c:709 Code: ff e8 c7 ec 38 f7 48 83 e3 08 44 8b 7c 24 04 0f 85 00 01 00 00 e8 b3 ab 3f f7 66 90 e8 ec e7 38 f7 0f 00 2d f5 0f c5 00 fb f4 <4c> 89 e3 48 c1 eb 03 42 80 3c 2b 00 74 08 4c 89 e7 e8 5d bd 8d f7 RSP: 0018:ffffc90000177be0 EFLAGS: 000002d3 RAX: ffffffff8a50be24 RBX: 0000000000000000 RCX: ffff888012391d40 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff8a50be1d RBP: ffffc90000177c90 R08: ffffffff8a50be09 R09: ffffed10024723a9 R10: ffffed10024723a9 R11: 1ffff110024723a8 R12: ffffc90000177c20 R13: dffffc0000000000 R14: ffff888145a58000 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f4dabaef370 CR3: 00000000213b5000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: cpuidle_enter_state+0x50b/0xf50 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+0x3da/0x680 kernel/sched/idle.c:303 cpu_startup_entry+0x15/0x20 kernel/sched/idle.c:400 start_secondary+0xe4/0xf0 arch/x86/kernel/smpboot.c:262 secondary_startup_64_no_verify+0xcf/0xdb Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 9 Comm: kworker/u4:0 Not tainted 6.1.0-rc2-syzkaller-00105-gb229b6ca5abb #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/11/2022 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:__preempt_count_dec_and_test arch/x86/include/asm/preempt.h:95 [inline] RIP: 0010:rcu_read_unlock_sched_notrace include/linux/rcupdate.h:860 [inline] RIP: 0010:trace_hrtimer_start+0xe7/0x2f0 include/trace/events/timer.h:198 Code: 00 48 8b 05 a3 55 9a 0c e8 86 de f7 ff 89 c3 31 ff 89 c6 e8 db 93 10 00 85 db 74 2e e8 b2 8f 10 00 31 f6 65 ff 0d a1 58 89 7e <0f> 94 c3 40 0f 94 c6 31 ff e8 7b 92 10 00 84 db 75 6b e8 92 8f 10 RSP: 0018:ffffc90000007cf0 EFLAGS: 00000002 RAX: ffffffff8179165e RBX: 0000000000000001 RCX: ffff888012378000 RDX: 0000000000010003 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000002 R08: ffffffff81791655 R09: fffffbfff1c4f066 R10: fffffbfff1c4f066 R11: 1ffffffff1c4f065 R12: ffff8880b9a2a480 R13: dffffc0000000000 R14: dffffc0000000000 R15: ffff888070249340 FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000200019d4 CR3: 000000000ca8e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: debug_activate kernel/time/hrtimer.c:476 [inline] enqueue_hrtimer kernel/time/hrtimer.c:1084 [inline] __run_hrtimer kernel/time/hrtimer.c:1702 [inline] __hrtimer_run_queues+0x59f/0xa60 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x3a6/0xfd0 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1096 [inline] __sysvec_apic_timer_interrupt+0xf9/0x280 arch/x86/kernel/apic/apic.c:1113 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1107 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:check_kcov_mode kernel/kcov.c:184 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x33/0x60 kernel/kcov.c:207 Code: 00 6f 02 00 65 8b 15 e4 c8 78 7e f7 c2 00 01 ff 00 74 11 f7 c2 00 01 00 00 74 35 83 b9 8c 15 00 00 00 74 2c 8b 91 68 15 00 00 <83> fa 02 75 21 48 8b 91 70 15 00 00 48 8b 32 48 8d 7e 01 8b 89 6c RSP: 0018:ffffc900000e77d8 EFLAGS: 00000246 RAX: ffffffff817e6c82 RBX: 1ffff11017368019 RCX: ffff888012378000 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc900000e7980 R08: ffffffff817e6c4c R09: ffffed10173475cb R10: ffffed10173475cb R11: 1ffff110173475ca R12: 0000000000000001 R13: 0000000000000001 R14: ffff8880b9b400c8 R15: ffff8880b9a3ae40 csd_lock_wait kernel/smp.c:413 [inline] smp_call_function_many_cond+0xeb2/0x1420 kernel/smp.c:987 on_each_cpu_cond_mask+0x3b/0x80 kernel/smp.c:1155 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:1311 [inline] text_poke_bp_batch+0x2b4/0x850 arch/x86/kernel/alternative.c:1502 text_poke_flush arch/x86/kernel/alternative.c:1670 [inline] text_poke_finish+0x16/0x30 arch/x86/kernel/alternative.c:1677 arch_jump_label_transform_apply+0x13/0x20 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x129/0x250 kernel/jump_label.c:177 static_key_enable+0x16/0x20 kernel/jump_label.c:190 toggle_allocation_gate+0xbf/0x470 mm/kfence/core.c:800 process_one_work+0x81c/0xd10 kernel/workqueue.c:2289 worker_thread+0xb14/0x1330 kernel/workqueue.c:2436 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 1.244 msecs CPU: 1 PID: 0 Comm: swapper/1 Not tainted 6.1.0-rc2-syzkaller-00105-gb229b6ca5abb #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/11/2022 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 drivers/acpi/processor_idle.c:572 [inline] RIP: 0010:acpi_idle_enter+0x43d/0x800 drivers/acpi/processor_idle.c:709 Code: ff e8 c7 ec 38 f7 48 83 e3 08 44 8b 7c 24 04 0f 85 00 01 00 00 e8 b3 ab 3f f7 66 90 e8 ec e7 38 f7 0f 00 2d f5 0f c5 00 fb f4 <4c> 89 e3 48 c1 eb 03 42 80 3c 2b 00 74 08 4c 89 e7 e8 5d bd 8d f7 RSP: 0018:ffffc90000177be0 EFLAGS: 000002d3 RAX: ffffffff8a50be24 RBX: 0000000000000000 RCX: ffff888012391d40 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff8a50be1d RBP: ffffc90000177c90 R08: ffffffff8a50be09 R09: ffffed10024723a9 R10: ffffed10024723a9 R11: 1ffff110024723a8 R12: ffffc90000177c20 R13: dffffc0000000000 R14: ffff888145a58000 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f4dabaef370 CR3: 00000000213b5000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: cpuidle_enter_state+0x50b/0xf50 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+0x3da/0x680 kernel/sched/idle.c:303 cpu_startup_entry+0x15/0x20 kernel/sched/idle.c:400 start_secondary+0xe4/0xf0 arch/x86/kernel/smpboot.c:262 secondary_startup_64_no_verify+0xcf/0xdb