rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (2 GPs behind) idle=96e4/0/0x1 softirq=7890/7897 fqs=0 rcu: (detected by 1, t=10504 jiffies, g=5593, q=354 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 0 Comm: swapper/0 Not tainted 6.3.0-rc6-syzkaller-gde4664485abb #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023 RIP: 0010:__lock_acquire+0x2ae/0x5d40 kernel/locking/lockdep.c:4992 Code: 3d 00 00 48 8b 84 24 50 01 00 00 49 8d 7c 24 10 48 89 fa 48 c1 ea 03 49 89 44 24 08 48 b8 00 00 00 00 00 fc ff df 80 3c 02 00 <0f> 85 82 3d 00 00 49 8d 44 24 18 49 89 5c 24 10 48 89 c2 48 89 44 RSP: 0018:ffffc90000007ab8 EFLAGS: 00000046 RAX: dffffc0000000000 RBX: ffffffff92027ca8 RCX: 0000000000000000 RDX: 1ffffffff1892c4e RSI: 0000000000000068 RDI: ffffffff8c496270 RBP: 0000000000000000 R08: 1ffffffff1892c4b R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000000 R12: ffffffff8c496260 R13: ffffffff8c495800 R14: 0000000000000000 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000051b730 CR3: 000000002b5ee000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire kernel/locking/lockdep.c:5669 [inline] lock_acquire+0x1af/0x520 kernel/locking/lockdep.c:5634 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x3d/0x60 kernel/locking/spinlock.c:162 debug_object_activate+0x132/0x3e0 lib/debugobjects.c:665 debug_hrtimer_activate kernel/time/hrtimer.c:420 [inline] debug_activate kernel/time/hrtimer.c:475 [inline] enqueue_hrtimer+0x27/0x320 kernel/time/hrtimer.c:1084 __run_hrtimer kernel/time/hrtimer.c:1702 [inline] __hrtimer_run_queues+0xa5b/0xbe0 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x320/0x7b0 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1096 [inline] __sysvec_apic_timer_interrupt+0x14a/0x430 arch/x86/kernel/apic/apic.c:1113 sysvec_apic_timer_interrupt+0x92/0xc0 arch/x86/kernel/apic/apic.c:1107 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 66 90 0f 1f 44 00 00 0f 00 2d 67 cf b1 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:ffffffff8c407d40 EFLAGS: 00000246 RAX: ffffffff8c495800 RBX: 0000000000000000 RCX: ffffffff89ffcae5 RDX: 0000000000000001 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffff8880166da864 R08: 0000000000000001 R09: ffff8880b9836cab R10: ffffed1017306d95 R11: 0000000000000000 R12: 0000000000000001 R13: ffff8880166da800 R14: ffff8880166da864 R15: 0000000000000000 acpi_idle_do_entry+0x53/0x70 drivers/acpi/processor_idle.c:573 acpi_idle_enter+0x173/0x290 drivers/acpi/processor_idle.c:711 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+0x305/0x3e0 kernel/sched/idle.c:282 cpu_startup_entry+0x18/0x20 kernel/sched/idle.c:379 rest_init+0x16d/0x2b0 init/main.c:736 arch_call_rest_init+0x13/0x30 init/main.c:898 start_kernel+0x35a/0x4d0 init/main.c:1152 secondary_startup_64_no_verify+0xce/0xdb rcu: rcu_preempt kthread starved for 10504 jiffies! g5593 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->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:R running task stack:29272 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5307 [inline] __schedule+0xc91/0x5770 kernel/sched/core.c:6625 schedule+0xde/0x1a0 kernel/sched/core.c:6701 schedule_timeout+0x14e/0x2b0 kernel/time/timer.c:2167 rcu_gp_fqs_loop+0x190/0x910 kernel/rcu/tree.c:1608 rcu_gp_kthread+0x23a/0x360 kernel/rcu/tree.c:1807 kthread+0x2e8/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 rcu: Stack dump where RCU GP kthread last ran: CPU: 1 PID: 33 Comm: kworker/u4:2 Not tainted 6.3.0-rc6-syzkaller-gde4664485abb #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:413 [inline] RIP: 0010:smp_call_function_many_cond+0x659/0x13c0 kernel/smp.c:987 Code: 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 73 2a 0b 00 f3 90 41 0f b6 04 24 40 38 c5 7c 08 <84> c0 0f 85 af 0a 00 00 8b 43 08 31 ff 83 e0 01 41 89 c7 89 c6 e8 RSP: 0018:ffffc90000a9f940 EFLAGS: 00000206 RAX: 0000000000000000 RBX: ffff8880b9844e60 RCX: 0000000000000000 RDX: ffff8880172c1d40 RSI: ffffffff8177b0ed RDI: 0000000000000005 RBP: 0000000000000003 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffffed10173089cd R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000004da8e0 CR3: 000000000c571000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: on_each_cpu_cond_mask+0x5a/0xa0 kernel/smp.c:1155 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:1770 [inline] text_poke_bp_batch+0x237/0x770 arch/x86/kernel/alternative.c:1970 text_poke_flush arch/x86/kernel/alternative.c:2161 [inline] text_poke_flush arch/x86/kernel/alternative.c:2158 [inline] text_poke_finish+0x1a/0x30 arch/x86/kernel/alternative.c:2168 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:803 [inline] toggle_allocation_gate+0xf8/0x230 mm/kfence/core.c:795 process_one_work+0x991/0x15c0 kernel/workqueue.c:2390 worker_thread+0x669/0x1090 kernel/workqueue.c:2537 kthread+0x2e8/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308