hrtimer: interrupt took 139726520 ns rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 0-...!: (1 ticks this GP) idle=56bc/1/0x4000000000000000 softirq=6145/6145 fqs=0 (t=11127 jiffies g=5033 q=194 ncpus=2) rcu: rcu_preempt kthread timer wakeup didn't happen for 11126 jiffies! g5033 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=0 timer-softirq=15085 rcu: rcu_preempt kthread starved for 11127 jiffies! g5033 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:27064 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5241 [inline] __schedule+0x132c/0x4330 kernel/sched/core.c:6554 schedule+0xbf/0x180 kernel/sched/core.c:6630 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1935 rcu_gp_fqs_loop+0x2c2/0x1010 kernel/rcu/tree.c:1661 rcu_gp_kthread+0xa3/0x3a0 kernel/rcu/tree.c:1860 kthread+0x26e/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: 0 PID: 86 Comm: kworker/u4:4 Not tainted 6.1.45-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:413 [inline] RIP: 0010:smp_call_function_many_cond+0x1f62/0x33d0 kernel/smp.c:987 Code: 2f 44 89 ee 83 e6 01 31 ff e8 4a 19 0b 00 41 83 e5 01 49 bd 00 00 00 00 00 fc ff df 75 0a e8 d5 15 0b 00 e9 1b ff ff ff f3 90 <42> 0f b6 04 2b 84 c0 75 14 41 f7 07 01 00 00 00 0f 84 fe fe ff ff RSP: 0018:ffffc900020af5a0 EFLAGS: 00000293 RAX: ffffffff817ee84d RBX: 1ffff11017328031 RCX: ffff888013bf0000 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc900020af980 R08: ffffffff817ee816 R09: fffffbfff2093245 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000800000000 R13: dffffc0000000000 R14: 0000000000000001 R15: ffff8880b9940188 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000600 CR3: 000000000ce8e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: 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:1316 [inline] text_poke_bp_batch+0x2bb/0x940 arch/x86/kernel/alternative.c:1516 text_poke_flush arch/x86/kernel/alternative.c:1707 [inline] text_poke_finish+0x16/0x30 arch/x86/kernel/alternative.c:1714 arch_jump_label_transform_apply+0x13/0x20 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x12e/0x250 kernel/jump_label.c:177 static_key_enable+0x16/0x20 kernel/jump_label.c:190 toggle_allocation_gate+0xbf/0x480 mm/kfence/core.c:804 process_one_work+0x8aa/0x11f0 kernel/workqueue.c:2292 worker_thread+0xa5f/0x1210 kernel/workqueue.c:2439 kthread+0x26e/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 CPU: 0 PID: 86 Comm: kworker/u4:4 Not tainted 6.1.45-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:413 [inline] RIP: 0010:smp_call_function_many_cond+0x1f62/0x33d0 kernel/smp.c:987 Code: 2f 44 89 ee 83 e6 01 31 ff e8 4a 19 0b 00 41 83 e5 01 49 bd 00 00 00 00 00 fc ff df 75 0a e8 d5 15 0b 00 e9 1b ff ff ff f3 90 <42> 0f b6 04 2b 84 c0 75 14 41 f7 07 01 00 00 00 0f 84 fe fe ff ff RSP: 0018:ffffc900020af5a0 EFLAGS: 00000293 RAX: ffffffff817ee84d RBX: 1ffff11017328031 RCX: ffff888013bf0000 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc900020af980 R08: ffffffff817ee816 R09: fffffbfff2093245 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000800000000 R13: dffffc0000000000 R14: 0000000000000001 R15: ffff8880b9940188 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000600 CR3: 000000000ce8e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: 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:1316 [inline] text_poke_bp_batch+0x2bb/0x940 arch/x86/kernel/alternative.c:1516 text_poke_flush arch/x86/kernel/alternative.c:1707 [inline] text_poke_finish+0x16/0x30 arch/x86/kernel/alternative.c:1714 arch_jump_label_transform_apply+0x13/0x20 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x12e/0x250 kernel/jump_label.c:177 static_key_enable+0x16/0x20 kernel/jump_label.c:190 toggle_allocation_gate+0xbf/0x480 mm/kfence/core.c:804 process_one_work+0x8aa/0x11f0 kernel/workqueue.c:2292 worker_thread+0xa5f/0x1210 kernel/workqueue.c:2439 kthread+0x26e/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 0 Comm: swapper/1 Not tainted 6.1.45-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 RIP: 0010:instrument_atomic_read_write include/linux/instrumented.h:102 [inline] RIP: 0010:atomic_try_cmpxchg_acquire include/linux/atomic/atomic-instrumented.h:542 [inline] RIP: 0010:queued_spin_lock include/asm-generic/qspinlock.h:111 [inline] RIP: 0010:do_raw_spin_lock+0x13d/0x370 kernel/locking/spinlock_debug.c:115 Code: 49 c1 ed 03 41 0f b6 44 15 00 84 c0 48 89 d3 0f 85 9e 01 00 00 c7 44 24 60 00 00 00 00 4c 89 e7 be 04 00 00 00 e8 73 47 75 00 <4c> 89 f7 be 04 00 00 00 e8 66 47 75 00 41 0f b6 44 1d 00 84 c0 48 RSP: 0018:ffffc900001e0be0 EFLAGS: 00000056 RAX: 0000000000000001 RBX: dffffc0000000000 RCX: ffffffff816b4acd RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffff8880790d12e8 RBP: ffffc900001e0cb0 R08: dffffc0000000000 R09: ffffed100f21a25e R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880790d12e8 R13: 1ffff9200003c188 R14: ffffc900001e0c40 R15: 1ffff1100f21a25e FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffdd3d223e8 CR3: 000000002963d000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: spin_lock include/linux/spinlock.h:350 [inline] advance_sched+0x47/0x940 net/sched/sch_taprio.c:700 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x5e5/0xe50 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1811 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:649 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: 4a fb f6 48 83 e3 08 0f 85 0b 01 00 00 4c 8d 74 24 20 e8 14 fb 01 f7 0f 1f 44 00 00 e8 da 46 fb f6 0f 00 2d 13 33 b8 00 fb f4 <4c> 89 f3 48 c1 eb 03 42 80 3c 3b 00 74 08 4c 89 f7 e8 db d9 51 f7 RSP: 0018:ffffc90000177ba0 EFLAGS: 000002d3 RAX: ffffffff8a8eb726 RBX: 0000000000000000 RCX: ffff888012729dc0 RDX: 0000000000000000 RSI: ffffffff8aebe220 RDI: ffffffff8b3ce960 RBP: ffffc90000177c30 R08: ffffffff8a8eb708 R09: ffffed10024e53b9 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff9200002ef74 R13: ffff888015f3b004 R14: ffffc90000177bc0 R15: dffffc0000000000 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+0x14/0x20 kernel/sched/idle.c:400 start_secondary+0xe4/0xf0 arch/x86/kernel/smpboot.c:281 secondary_startup_64_no_verify+0xcf/0xdb