rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (1 GPs behind) idle=ac54/1/0x4000000000000000 softirq=29583/29584 fqs=0 rcu: (detected by 1, t=10502 jiffies, g=23873, q=230 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 9406 Comm: syz.4.675 Not tainted 6.14.0-syzkaller-11270-g08733088b566 #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:__lock_acquire+0x801/0xd80 kernel/locking/lockdep.c:-1 Code: 83 c3 28 48 39 c5 7c d1 e9 be 00 00 00 48 c7 c7 30 c9 c0 8e 48 89 ee e8 2d 18 98 03 eb c1 44 89 e0 25 ff 1f 00 00 41 c1 ec 03 <41> 81 e4 00 60 00 00 41 09 c4 4c 89 f8 48 c1 e8 20 89 c1 c1 c1 04 RSP: 0018:ffffc90000007b80 EFLAGS: 00000002 RAX: 0000000000000070 RBX: 0000000000000001 RCX: ffff888027dc0af0 RDX: 0000000000000008 RSI: ffff888027dc0b18 RDI: 0000000000000001 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000000 R12: 000000000001880e R13: ffff888027dc0000 R14: ffff888027dc0b38 R15: ffffffffffffffff FS: 00007f6893b916c0(0000) GS:ffff888124fe2000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b30a12ff8 CR3: 000000007cfc2000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x116/0x2f0 kernel/locking/lockdep.c:5866 __raw_spin_lock_irq include/linux/spinlock_api_smp.h:119 [inline] _raw_spin_lock_irq+0xd3/0x120 kernel/locking/spinlock.c:170 __run_hrtimer kernel/time/hrtimer.c:1795 [inline] __hrtimer_run_queues+0x67b/0xd40 kernel/time/hrtimer.c:1855 hrtimer_interrupt+0x403/0xa40 kernel/time/hrtimer.c:1917 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1038 [inline] __sysvec_apic_timer_interrupt+0x110/0x420 arch/x86/kernel/apic/apic.c:1055 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline] sysvec_apic_timer_interrupt+0xa1/0xc0 arch/x86/kernel/apic/apic.c:1049 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0xd9/0x140 kernel/locking/spinlock.c:194 Code: 9c 8f 44 24 20 42 80 3c 2b 00 74 08 4c 89 f7 e8 9d fe 00 f6 f6 44 24 21 02 75 55 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 92 88 67 f5 65 8b 05 eb e6 3a 07 85 c0 74 46 48 c7 04 24 0e 36 RSP: 0018:ffffc90003bb7ba0 EFLAGS: 00000206 RAX: ad015f7222ae5200 RBX: 1ffff92000776f78 RCX: 0000000000000007 RDX: 0000000000000007 RSI: ffffffff8e67ef5e RDI: 0000000000000001 RBP: ffffc90003bb7c30 R08: ffffffff905e4c77 R09: 1ffffffff20bc98e R10: dffffc0000000000 R11: fffffbfff20bc98f R12: 1ffff92000776f74 R13: dffffc0000000000 R14: ffffc90003bb7bc0 R15: 0000000000000246 clock_was_set+0x690/0x820 kernel/time/hrtimer.c:974 do_settimeofday64+0x39e/0x650 kernel/time/timekeeping.c:1395 __do_sys_clock_settime kernel/time/posix-timers.c:1140 [inline] __se_sys_clock_settime kernel/time/posix-timers.c:1124 [inline] __x64_sys_clock_settime+0x240/0x280 kernel/time/posix-timers.c:1124 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f689618d169 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:00007f6893b91038 EFLAGS: 00000246 ORIG_RAX: 00000000000000e3 RAX: ffffffffffffffda RBX: 00007f68963a6240 RCX: 00007f689618d169 RDX: 0000000000000000 RSI: 00002000000002c0 RDI: 0000000000000000 RBP: 00007f689620e2a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f68963a6240 R15: 00007ffedc224bf8 rcu: rcu_preempt kthread starved for 10502 jiffies! g23873 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:26688 pid:16 tgid:16 ppid:2 task_flags:0x208040 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0x1b33/0x51f0 kernel/sched/core.c:6767 __schedule_loop kernel/sched/core.c:6845 [inline] schedule+0x163/0x360 kernel/sched/core.c:6860 schedule_timeout+0x15b/0x2b0 kernel/time/sleep_timeout.c:99 rcu_gp_fqs_loop+0x2e1/0x1340 kernel/rcu/tree.c:2046 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2248 kthread+0x7b7/0x940 kernel/kthread.c:464 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:153 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 rcu: Stack dump where RCU GP kthread last ran: CPU: 1 UID: 0 PID: 13 Comm: kworker/u8:1 Not tainted 6.14.0-syzkaller-11270-g08733088b566 #0 PREEMPT(full) 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:340 [inline] RIP: 0010:smp_call_function_many_cond+0x1bac/0x2d40 kernel/smp.c:885 Code: 03 84 c0 75 7e 45 8b 65 00 44 89 e6 83 e6 01 31 ff e8 48 02 0c 00 41 83 e4 01 4c 8b 64 24 68 75 07 e8 f8 fd 0b 00 eb 41 f3 90 <48> b8 00 00 00 00 00 fc ff df 0f b6 04 03 84 c0 75 11 41 f7 45 00 RSP: 0018:ffffc90000127640 EFLAGS: 00000293 RAX: ffffffff81b7702d RBX: 1ffff110170c8215 RCX: ffff88801d6d0000 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90000127840 R08: ffffffff81b76ff8 R09: 1ffffffff20bc98e R10: dffffc0000000000 R11: fffffbfff20bc98f R12: ffff8880b873ab88 R13: ffff8880b86410a8 R14: ffff8880b873ab80 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8881250e2000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6893b91d58 CR3: 000000000eb38000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:1052 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:2455 [inline] text_poke_bp_batch+0x354/0xb30 arch/x86/kernel/alternative.c:2665 text_poke_flush arch/x86/kernel/alternative.c:2856 [inline] text_poke_finish+0x30/0x50 arch/x86/kernel/alternative.c:2863 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x136/0x260 kernel/jump_label.c:210 static_key_enable+0x1a/0x20 kernel/jump_label.c:223 toggle_allocation_gate+0xc0/0x250 mm/kfence/core.c:850 process_one_work kernel/workqueue.c:3238 [inline] process_scheduled_works+0xac3/0x18e0 kernel/workqueue.c:3319 worker_thread+0x870/0xd50 kernel/workqueue.c:3400 kthread+0x7b7/0x940 kernel/kthread.c:464 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:153 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245