rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (1 GPs behind) idle=e91c/1/0x4000000000000000 softirq=13825/13833 fqs=2 (detected by 0, t=10505 jiffies, g=15593, q=170 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 5207 Comm: syz.4.233 Not tainted 6.1.134-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:get_current arch/x86/include/asm/current.h:15 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x4/0x60 kernel/kcov.c:215 Code: 00 0f 0b 0f 1f 00 53 48 89 fb e8 17 00 00 00 48 8b 3d 58 16 16 0d 48 89 de 5b e9 07 8b 56 00 cc cc cc cc cc cc cc 48 8b 04 24 <65> 48 8b 0d e4 c4 77 7e 65 8b 15 e5 c4 77 7e 81 e2 00 01 ff 00 74 RSP: 0018:ffffc900001e0cb8 EFLAGS: 00000046 RAX: ffffffff8aabd6e5 RBX: ffff88807fa38340 RCX: ffff88802af29dc0 RDX: 0000000000010000 RSI: ffff88807fa38340 RDI: ffff88807fa38340 RBP: 1ffff1100ff47068 R08: ffffffff8aabd6d7 R09: fffffbfff1d417ce R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880b8f2a710 R13: ffff8880b8f2a710 R14: ffff88807fa38340 R15: ffff88807fa38340 FS: 00007f7670d326c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000003c80 CR3: 000000007bcf4000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: timerqueue_add+0x55/0x280 lib/timerqueue.c:38 enqueue_hrtimer+0x1bd/0x410 kernel/time/hrtimer.c:1083 __run_hrtimer kernel/time/hrtimer.c:1708 [inline] __hrtimer_run_queues+0x728/0xe50 kernel/time/hrtimer.c:1755 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1817 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1107 [inline] __sysvec_apic_timer_interrupt+0x158/0x5b0 arch/x86/kernel/apic/apic.c:1124 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1118 [inline] sysvec_apic_timer_interrupt+0x9b/0xc0 arch/x86/kernel/apic/apic.c:1118 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:691 RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:160 [inline] RIP: 0010:_raw_spin_unlock_irq+0x25/0x40 kernel/locking/spinlock.c:202 Code: d1 83 f5 ff 90 53 48 89 fb 48 83 c7 18 48 8b 74 24 08 e8 5e aa ae f6 48 89 df e8 c6 e8 af f6 e8 81 3a d5 f6 fb bf 01 00 00 00 d6 68 a2 f6 65 8b 05 97 3e 46 75 85 c0 74 02 5b c3 e8 34 62 44 RSP: 0018:ffffc900036d7d20 EFLAGS: 00000282 RAX: 8290e3f99f168b00 RBX: ffff888059940088 RCX: ffffffff973c3103 RDX: dffffc0000000000 RSI: ffffffff8b0c1ec0 RDI: 0000000000000001 RBP: 00000000ffffff83 R08: dffffc0000000000 R09: ffffed100b328012 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888059940000 R13: 7fffffffffffffff R14: ffff888059940080 R15: 0000000000000003 spin_unlock_irq include/linux/spinlock.h:401 [inline] do_timerfd_settime+0xd1a/0x1000 fs/timerfd.c:521 __do_sys_timerfd_settime fs/timerfd.c:567 [inline] __se_sys_timerfd_settime fs/timerfd.c:558 [inline] __x64_sys_timerfd_settime+0x16b/0x220 fs/timerfd.c:558 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f766ff8e169 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f7670d32038 EFLAGS: 00000246 ORIG_RAX: 000000000000011e RAX: ffffffffffffffda RBX: 00007f76701b5fa0 RCX: 00007f766ff8e169 RDX: 0000200000000140 RSI: 0000000000000003 RDI: 0000000000000003 RBP: 00007f7670010a68 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f76701b5fa0 R15: 00007ffd44435b28 rcu: rcu_preempt kthread starved for 10495 jiffies! g15593 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:26080 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5244 [inline] __schedule+0x143f/0x4570 kernel/sched/core.c:6561 schedule+0xbf/0x180 kernel/sched/core.c:6637 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1965 rcu_gp_fqs_loop+0x2d2/0x1150 kernel/rcu/tree.c:1706 rcu_gp_kthread+0xa3/0x3b0 kernel/rcu/tree.c:1905 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 rcu: Stack dump where RCU GP kthread last ran: CPU: 0 PID: 1098 Comm: kworker/u4:5 Not tainted 6.1.134-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:424 [inline] RIP: 0010:smp_call_function_many_cond+0x1fae/0x3460 kernel/smp.c:998 Code: 2f 44 89 ee 83 e6 01 31 ff e8 2e 4b 0b 00 41 83 e5 01 49 bd 00 00 00 00 00 fc ff df 75 0a e8 b9 47 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:ffffc90004eaf5a0 EFLAGS: 00000293 RAX: ffffffff817f62b9 RBX: 1ffff110171e81a1 RCX: ffff8880270abb80 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90004eaf980 R08: ffffffff817f6282 R09: fffffbfff225784d R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000800000000 R13: dffffc0000000000 R14: 0000000000000001 R15: ffff8880b8f40d08 FS: 0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005618d3a84a28 CR3: 000000000d08e000 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:1166 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:1334 [inline] text_poke_bp_batch+0x2bb/0x940 arch/x86/kernel/alternative.c:1534 text_poke_flush arch/x86/kernel/alternative.c:1725 [inline] text_poke_finish+0x16/0x30 arch/x86/kernel/alternative.c:1732 arch_jump_label_transform_apply+0x13/0x20 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x12e/0x250 kernel/jump_label.c:207 static_key_enable+0x16/0x20 kernel/jump_label.c:220 toggle_allocation_gate+0xbf/0x480 mm/kfence/core.c:805 process_one_work+0x917/0x1260 kernel/workqueue.c:2292 worker_thread+0xa47/0x1200 kernel/workqueue.c:2439 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295