rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (1 GPs behind) idle=65ec/1/0x4000000000000000 softirq=53869/53870 fqs=1 rcu: (detected by 0, t=10506 jiffies, g=93489, q=108 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 23 Comm: kworker/1:0 Not tainted 6.6.0-next-20231103-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 Workqueue: events_freezable_power_ sync_hw_clock RIP: 0010:rcu_dynticks_curr_cpu_in_eqs include/linux/context_tracking.h:122 [inline] RIP: 0010:rcu_is_watching+0xd/0xb0 kernel/rcu/tree.c:700 Code: fa 48 c7 c7 c0 56 ce 8a e8 a0 8e 13 09 65 8a 05 a5 94 92 7e 0f b6 c0 c3 0f 1f 44 00 00 f3 0f 1e fa 55 53 65 ff 05 eb 79 92 7e 5e 8e 13 09 48 c7 c3 e8 6d 03 00 83 f8 07 89 c5 77 7a 48 8d 3c RSP: 0018:ffffc900001f0c68 EFLAGS: 00000003 RAX: 0000000000000001 RBX: 1ffff9200003e192 RCX: ffffffff8169557b RDX: fffffbfff1e341bb RSI: 0000000000000008 RDI: ffffffff8f1a0dd0 RBP: 0000000000000001 R08: 0000000000000000 R09: fffffbfff1e341ba R10: ffffffff8f1a0dd7 R11: 0000000000000000 R12: 0000000000000001 R13: 0000000000000000 R14: ffff888087764300 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b32521000 CR3: 0000000077f9f000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: trace_lock_acquire include/trace/events/lock.h:24 [inline] lock_acquire+0x477/0x530 kernel/locking/lockdep.c:5724 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:351 [inline] advance_sched+0xd5/0xc60 net/sched/sch_taprio.c:935 __run_hrtimer kernel/time/hrtimer.c:1688 [inline] __hrtimer_run_queues+0x20c/0xc00 kernel/time/hrtimer.c:1752 hrtimer_interrupt+0x31b/0x800 kernel/time/hrtimer.c:1814 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1065 [inline] __sysvec_apic_timer_interrupt+0x10c/0x400 arch/x86/kernel/apic/apic.c:1082 sysvec_apic_timer_interrupt+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1076 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:lock_acquire+0x1f2/0x530 kernel/locking/lockdep.c:5721 Code: c1 05 3a 33 99 7e 83 f8 01 0f 85 c0 02 00 00 9c 58 f6 c4 02 0f 85 ab 02 00 00 48 85 ed 74 01 fb 48 b8 00 00 00 00 00 fc ff df <48> 01 c3 48 c7 03 00 00 00 00 48 c7 43 08 00 00 00 00 48 8b 84 24 RSP: 0018:ffffc900001d7bf0 EFLAGS: 00000206 RAX: dffffc0000000000 RBX: 1ffff9200003af80 RCX: fffff5200003af62 RDX: 0000000000000001 RSI: ffffffff8accc100 RDI: ffffffff8b2efd80 RBP: 0000000000000200 R08: 0000000000000001 R09: fffffbfff21bc5eb R10: 0000000000000000 R11: 1ffffffff22c3a16 R12: 0000000000000001 R13: 0000000000000000 R14: ffff888013072538 R15: 0000000000000000 process_one_work+0x7ce/0x15e0 kernel/workqueue.c:2605 process_scheduled_works kernel/workqueue.c:2703 [inline] worker_thread+0x8b6/0x1280 kernel/workqueue.c:2784 kthread+0x337/0x440 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242 rcu: rcu_preempt kthread starved for 10500 jiffies! g93489 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:27872 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5376 [inline] __schedule+0xee5/0x59b0 kernel/sched/core.c:6688 __schedule_loop kernel/sched/core.c:6763 [inline] schedule+0xe5/0x270 kernel/sched/core.c:6778 schedule_timeout+0x156/0x2b0 kernel/time/timer.c:2167 rcu_gp_fqs_loop+0x1eb/0xb00 kernel/rcu/tree.c:1626 rcu_gp_kthread+0x243/0x380 kernel/rcu/tree.c:1825 kthread+0x337/0x440 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242 rcu: Stack dump where RCU GP kthread last ran: CPU: 0 PID: 6630 Comm: kworker/u4:13 Not tainted 6.6.0-next-20231103-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:311 [inline] RIP: 0010:smp_call_function_many_cond+0x4c1/0x1560 kernel/smp.c:855 Code: 0b 00 85 ed 74 4d 48 b8 00 00 00 00 00 fc ff df 4d 89 f4 4c 89 f5 49 c1 ec 03 83 e5 07 49 01 c4 83 c5 03 e8 21 c5 0b 00 f3 90 <41> 0f b6 04 24 40 38 c5 7c 08 84 c0 0f 85 4b 0e 00 00 8b 43 08 31 RSP: 0018:ffffc9000360f910 EFLAGS: 00000293 RAX: 0000000000000000 RBX: ffff8880b9941a60 RCX: ffffffff817d39e5 RDX: ffff888086643b80 RSI: ffffffff817d39bf RDI: 0000000000000005 RBP: 0000000000000003 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffffed101732834d R13: 0000000000000001 R14: ffff8880b9941a68 R15: ffff8880b983d8c0 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6264e12000 CR3: 000000000cd78000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000002 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: on_each_cpu_cond_mask+0x40/0x90 kernel/smp.c:1023 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:2006 [inline] text_poke_bp_batch+0x2ce/0x960 arch/x86/kernel/alternative.c:2216 text_poke_flush arch/x86/kernel/alternative.c:2407 [inline] text_poke_flush arch/x86/kernel/alternative.c:2404 [inline] text_poke_finish+0x30/0x40 arch/x86/kernel/alternative.c:2414 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 jump_label_update+0x32e/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:830 [inline] toggle_allocation_gate+0xf4/0x250 mm/kfence/core.c:822 process_one_work+0x8a2/0x15e0 kernel/workqueue.c:2630 process_scheduled_works kernel/workqueue.c:2703 [inline] worker_thread+0x8b6/0x1280 kernel/workqueue.c:2784 kthread+0x337/0x440 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242