rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (1 GPs behind) idle=194c/1/0x4000000000000000 softirq=144767/144768 fqs=0 rcu: (detected by 1, t=10505 jiffies, g=220049, q=271 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 11981 Comm: syz.1.16464 Not tainted 6.11.0-rc6-syzkaller-00019-g67784a74e258 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 RIP: 0010:debug_deactivate+0xae/0x220 kernel/time/hrtimer.c:486 Code: 84 ed 74 10 e8 43 bf f8 ff 84 c0 74 0e e8 0a 89 12 00 eb 15 e8 03 89 12 00 eb 0e 80 3d c4 37 81 0e 01 75 19 e8 f3 88 12 00 5b <41> 5e 5d e9 45 3d 6f 0a e8 e5 88 12 00 90 0f 0b 90 eb 81 e8 da 88 RSP: 0018:ffffc90000007d48 EFLAGS: 00000006 RAX: ffffffff818103a6 RBX: ffff8880b882cac8 RCX: ffff88808c5c1e00 RDX: 0000000000010000 RSI: ffffffff8c608d20 RDI: ffffffff8c608ce0 RBP: 0000000000000001 R08: ffffffff81810393 R09: 1ffffffff2030de5 R10: dffffc0000000000 R11: fffffbfff2030de6 R12: 1ffff1101710595b R13: dffffc0000000000 R14: ffff88806aaa9340 R15: ffff8880b882ca80 FS: 00007fb4e68f76c0(0000) GS:ffff8880b8800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000440 CR3: 00000000320da000 CR4: 0000000000350ef0 Call Trace: __run_hrtimer kernel/time/hrtimer.c:1657 [inline] __hrtimer_run_queues+0x305/0xd50 kernel/time/hrtimer.c:1753 hrtimer_interrupt+0x396/0x990 kernel/time/hrtimer.c:1815 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1032 [inline] __sysvec_apic_timer_interrupt+0x112/0x3f0 arch/x86/kernel/apic/apic.c:1049 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0xa1/0xc0 arch/x86/kernel/apic/apic.c:1043 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+0xd8/0x140 kernel/locking/spinlock.c:194 Code: 9c 8f 44 24 20 42 80 3c 23 00 74 08 4c 89 f7 e8 6e 1d 37 f6 f6 44 24 21 02 75 52 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 e3 46 9f f5 65 8b 05 b4 1c 40 74 85 c0 74 43 48 c7 04 24 0e 36 RSP: 0018:ffffc9000bfc78c0 EFLAGS: 00000206 RAX: 16f880f0b9e34600 RBX: 1ffff920017f8f1c RCX: ffffffff9a33b903 RDX: dffffc0000000000 RSI: ffffffff8c0ad560 RDI: 0000000000000001 RBP: ffffc9000bfc7958 R08: ffffffff90186f2f R09: 1ffffffff2030de5 R10: dffffc0000000000 R11: fffffbfff2030de6 R12: dffffc0000000000 R13: 1ffff920017f8f18 R14: ffffc9000bfc78e0 R15: 0000000000000246 spin_unlock_irqrestore include/linux/spinlock.h:406 [inline] timerfd_clock_was_set+0x1e0/0x2f0 fs/timerfd.c:113 clock_was_set+0x78e/0x810 kernel/time/hrtimer.c:978 timekeeping_inject_offset+0x4e8/0x580 kernel/time/timekeeping.c:1524 do_adjtimex+0x515/0xab0 kernel/time/timekeeping.c:2574 do_clock_adjtime kernel/time/posix-timers.c:1159 [inline] __do_sys_clock_adjtime kernel/time/posix-timers.c:1171 [inline] __se_sys_clock_adjtime kernel/time/posix-timers.c:1162 [inline] __x64_sys_clock_adjtime+0x1e3/0x290 kernel/time/posix-timers.c:1162 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fb4e5b79eb9 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:00007fb4e68f7038 EFLAGS: 00000246 ORIG_RAX: 0000000000000131 RAX: ffffffffffffffda RBX: 00007fb4e5d15f80 RCX: 00007fb4e5b79eb9 RDX: 0000000000000000 RSI: 0000000020000040 RDI: 0000000000000000 RBP: 00007fb4e5be793e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fb4e5d15f80 R15: 00007ffd38536648 rcu: rcu_preempt kthread starved for 10505 jiffies! g220049 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:25560 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5188 [inline] __schedule+0x1800/0x4a60 kernel/sched/core.c:6529 __schedule_loop kernel/sched/core.c:6606 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6621 schedule_timeout+0x1be/0x310 kernel/time/timer.c:2581 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2034 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2236 kthread+0x2f2/0x390 kernel/kthread.c:389 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 rcu: Stack dump where RCU GP kthread last ran: CPU: 1 UID: 0 PID: 957 Comm: kworker/u8:5 Not tainted 6.11.0-rc6-syzkaller-00019-g67784a74e258 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:312 [inline] RIP: 0010:smp_call_function_many_cond+0x1865/0x29d0 kernel/smp.c:856 Code: 89 e6 83 e6 01 31 ff e8 39 18 0c 00 41 83 e4 01 49 bc 00 00 00 00 00 fc ff df 75 07 e8 e4 13 0c 00 eb 38 f3 90 42 0f b6 04 23 <84> c0 75 11 41 f7 45 00 01 00 00 00 74 1e e8 c8 13 0c 00 eb e4 44 RSP: 0018:ffffc90003c77700 EFLAGS: 00000293 RAX: 0000000000000000 RBX: 1ffff11017108c59 RCX: ffff888026795a00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90003c778e0 R08: ffffffff818778b7 R09: 1ffffffff283c908 R10: dffffc0000000000 R11: fffffbfff283c909 R12: dffffc0000000000 R13: ffff8880b88462c8 R14: ffff8880b893fb40 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b8900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005555876ea808 CR3: 000000000e734000 CR4: 0000000000350ef0 Call Trace: on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:1023 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:2085 [inline] text_poke_bp_batch+0x352/0xb30 arch/x86/kernel/alternative.c:2295 text_poke_flush arch/x86/kernel/alternative.c:2486 [inline] text_poke_finish+0x30/0x50 arch/x86/kernel/alternative.c:2493 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+0xb5/0x250 mm/kfence/core.c:833 process_one_work kernel/workqueue.c:3231 [inline] process_scheduled_works+0xa2e/0x1830 kernel/workqueue.c:3312 worker_thread+0x86d/0xd10 kernel/workqueue.c:3389 kthread+0x2f2/0x390 kernel/kthread.c:389 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244