rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (1 GPs behind) idle=6e14/0/0x1 softirq=7401/7404 fqs=4 rcu: (detected by 0, t=10502 jiffies, g=3801, q=154 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 0 Comm: swapper/1 Not tainted 6.4.0-syzkaller-12069-gc17414a273b8 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 RIP: 0010:do_raw_spin_lock+0x1ac/0x2b0 kernel/locking/spinlock_debug.c:118 Code: 03 65 4c 8b 24 25 80 b9 03 00 80 3c 02 00 0f 85 e3 00 00 00 48 b8 00 00 00 00 00 fc ff df 4c 89 65 10 48 c7 04 03 00 00 00 00 <48> 8b 44 24 60 65 48 2b 04 25 28 00 00 00 0f 85 c6 00 00 00 48 83 RSP: 0018:ffffc900001e0cf8 EFLAGS: 00000046 RAX: dffffc0000000000 RBX: 1ffff9200003c1a0 RCX: ffffffff8166ace4 RDX: 1ffff11003d25e5f RSI: 0000000000000004 RDI: ffffc900001e0d20 RBP: ffff88801e92f2e8 R08: 0000000000000001 R09: fffff5200003c1a4 R10: 0000000000000003 R11: 0000000000000001 R12: ffff888016a51dc0 R13: ffff88801e92f2f8 R14: 0000000000000001 R15: ffffffff884cdab0 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000600 CR3: 0000000021523000 CR4: 0000000000350ee0 Call Trace: spin_lock include/linux/spinlock.h:351 [inline] advance_sched+0xd2/0xd20 net/sched/sch_taprio.c:935 __run_hrtimer kernel/time/hrtimer.c:1688 [inline] __hrtimer_run_queues+0x604/0xc00 kernel/time/hrtimer.c:1752 hrtimer_interrupt+0x320/0x7b0 kernel/time/hrtimer.c:1814 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1098 [inline] __sysvec_apic_timer_interrupt+0x14a/0x430 arch/x86/kernel/apic/apic.c:1115 sysvec_apic_timer_interrupt+0x92/0xc0 arch/x86/kernel/apic/apic.c:1109 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:native_irq_disable arch/x86/include/asm/irqflags.h:37 [inline] RIP: 0010:arch_local_irq_disable arch/x86/include/asm/irqflags.h:72 [inline] RIP: 0010:acpi_safe_halt+0x40/0x50 drivers/acpi/processor_idle.c:113 Code: eb 03 83 e3 01 89 de 0f 1f 44 00 00 84 db 75 1b 0f 1f 44 00 00 eb 0c 0f 1f 44 00 00 0f 00 2d 47 80 b2 00 0f 1f 44 00 00 fb f4 5b c3 cc 0f 1f 00 66 0f 1f 84 00 00 00 00 00 55 48 89 fd 53 0f RSP: 0018:ffffc90000177d18 EFLAGS: 00000246 RAX: ffff888016a51dc0 RBX: 0000000000000000 RCX: ffffffff8a201115 RDX: 0000000000000001 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffff888014ad4064 R08: 0000000000000001 R09: ffffed1017326d9d R10: ffff8880b9936ceb R11: 0000000000000001 R12: 0000000000000001 R13: ffff888014ad4000 R14: ffff888014ad4064 R15: 0000000000000000 acpi_idle_do_entry+0x53/0x70 drivers/acpi/processor_idle.c:573 acpi_idle_enter+0x173/0x290 drivers/acpi/processor_idle.c:707 cpuidle_enter_state+0xd3/0x6f0 drivers/cpuidle/cpuidle.c:267 cpuidle_enter+0x4e/0xa0 drivers/cpuidle/cpuidle.c:388 cpuidle_idle_call kernel/sched/idle.c:215 [inline] do_idle+0x2fe/0x3c0 kernel/sched/idle.c:282 cpu_startup_entry+0x18/0x20 kernel/sched/idle.c:379 start_secondary+0x200/0x290 arch/x86/kernel/smpboot.c:326 secondary_startup_64_no_verify+0x167/0x16b rcu: rcu_preempt kthread starved for 10494 jiffies! g3801 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:28800 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5381 [inline] __schedule+0xc9a/0x5880 kernel/sched/core.c:6710 schedule+0xde/0x1a0 kernel/sched/core.c:6786 schedule_timeout+0x14e/0x2b0 kernel/time/timer.c:2167 rcu_gp_fqs_loop+0x190/0x910 kernel/rcu/tree.c:1609 rcu_gp_kthread+0x23a/0x360 kernel/rcu/tree.c:1808 kthread+0x344/0x440 kernel/kthread.c:389 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 rcu: Stack dump where RCU GP kthread last ran: CPU: 0 PID: 10 Comm: kworker/u4:0 Not tainted 6.4.0-syzkaller-12069-gc17414a273b8 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:296 [inline] RIP: 0010:smp_call_function_many_cond+0x699/0x1720 kernel/smp.c:835 Code: 0b 00 85 ed 74 48 48 8b 44 24 08 49 89 c4 83 e0 07 49 c1 ec 03 48 89 c5 4d 01 f4 83 c5 03 e8 ee 53 0b 00 f3 90 41 0f b6 04 24 <40> 38 c5 7c 08 84 c0 0f 85 d1 0d 00 00 8b 43 08 31 ff 83 e0 01 41 RSP: 0018:ffffc900000f7948 EFLAGS: 00000293 RAX: 0000000000000000 RBX: ffff8880b9943020 RCX: 0000000000000000 RDX: ffff888016679dc0 RSI: ffffffff81798b82 RDI: 0000000000000005 RBP: 0000000000000003 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: ffffed1017328605 R13: 0000000000000001 R14: dffffc0000000000 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffcca5df080 CR3: 000000000c775000 CR4: 0000000000350ef0 Call Trace: on_each_cpu_cond_mask+0x5a/0xa0 kernel/smp.c:1003 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:1938 [inline] text_poke_bp_batch+0x24f/0x780 arch/x86/kernel/alternative.c:2148 text_poke_flush arch/x86/kernel/alternative.c:2339 [inline] text_poke_flush arch/x86/kernel/alternative.c:2336 [inline] text_poke_finish+0x1a/0x30 arch/x86/kernel/alternative.c:2346 arch_jump_label_transform_apply+0x17/0x30 arch/x86/kernel/jump_label.c:146 jump_label_update+0x32f/0x410 kernel/jump_label.c:829 static_key_enable_cpuslocked+0x1b5/0x270 kernel/jump_label.c:205 static_key_enable+0x1a/0x20 kernel/jump_label.c:218 toggle_allocation_gate mm/kfence/core.c:831 [inline] toggle_allocation_gate+0xf8/0x230 mm/kfence/core.c:823 process_one_work+0xa34/0x16f0 kernel/workqueue.c:2597 worker_thread+0x67d/0x10c0 kernel/workqueue.c:2748 kthread+0x344/0x440 kernel/kthread.c:389 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308