rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (1 GPs behind) idle=216c/1/0x4000000000000000 softirq=7434/7436 fqs=1 rcu: (detected by 0, t=10502 jiffies, g=9673, q=98 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 5084 Comm: syz-executor344 Not tainted 6.8.0-syzkaller-08951-gfe46a7dd189e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024 RIP: 0010:__lock_acquire+0xc20/0x3b30 kernel/locking/lockdep.c:5132 Code: 8d 3c c3 e8 12 38 67 09 85 c0 74 c7 44 0f b7 ac 24 80 00 00 00 48 c7 c2 34 a3 9e 8f 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <0f> b6 14 02 48 c7 c0 34 a3 9e 8f 83 e0 07 83 c0 03 38 d0 7c 08 84 RSP: 0018:ffffc90000a08be0 EFLAGS: 00000807 RAX: dffffc0000000000 RBX: 124e57aca902e35f RCX: ffffffff816b110a RDX: 1ffffffff1f3d466 RSI: ffff8880745628d8 RDI: ffff888074562921 RBP: 0000000000000040 R08: 0000000000000000 R09: fffffbfff27b4e31 R10: ffffffff93da718f R11: 0000000000000001 R12: ffff8880745628f9 R13: 0000000000000067 R14: ffff888074562900 R15: 0000000000000002 FS: 0000555559011380(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000600 CR3: 000000007453e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire kernel/locking/lockdep.c:5754 [inline] lock_acquire+0x1b1/0x540 kernel/locking/lockdep.c:5719 __raw_spin_lock_irq include/linux/spinlock_api_smp.h:119 [inline] _raw_spin_lock_irq+0x36/0x50 kernel/locking/spinlock.c:170 __run_hrtimer kernel/time/hrtimer.c:1696 [inline] __hrtimer_run_queues+0x2c0/0xc20 kernel/time/hrtimer.c:1756 hrtimer_interrupt+0x31b/0x800 kernel/time/hrtimer.c:1818 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1032 [inline] __sysvec_apic_timer_interrupt+0x10f/0x410 arch/x86/kernel/apic/apic.c:1049 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0x90/0xb0 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+0x31/0x80 kernel/locking/spinlock.c:194 Code: f5 53 48 8b 74 24 10 48 89 fb 48 83 c7 18 e8 a6 3f 95 f6 48 89 df e8 0e bb 95 f6 f7 c5 00 02 00 00 75 23 9c 58 f6 c4 02 75 37 01 00 00 00 e8 95 08 87 f6 65 8b 05 e6 d0 2d 75 85 c0 74 16 5b RSP: 0018:ffffc900034afa60 EFLAGS: 00000246 RAX: 0000000000000006 RBX: ffff8880b942c9c0 RCX: 1ffffffff27b4f6f RDX: 0000000000000000 RSI: ffffffff8b0cb740 RDI: ffffffff8b6e88a0 RBP: 0000000000000286 R08: 0000000000000001 R09: fffffbfff27b4e30 R10: ffffffff93da7187 R11: 0000000000000002 R12: 0000000000000004 R13: 0000000000000000 R14: 0000000000000000 R15: dffffc0000000000 clock_was_set+0x591/0x850 kernel/time/hrtimer.c:973 timekeeping_inject_offset+0x4d1/0x640 kernel/time/timekeeping.c:1396 do_adjtimex+0x373/0xaa0 kernel/time/timekeeping.c:2445 do_clock_adjtime kernel/time/posix-timers.c:1159 [inline] __do_sys_clock_adjtime+0x173/0x290 kernel/time/posix-timers.c:1171 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xd2/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x6d/0x75 RIP: 0033:0x7fb036699ee9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 d1 19 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fff21f85888 EFLAGS: 00000246 ORIG_RAX: 0000000000000131 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007fb036699ee9 RDX: 00007fb036699ee9 RSI: 00000000200006c0 RDI: 0000000000000000 RBP: 00000000000f4240 R08: 0000000000000000 R09: 0000000100000000 R10: 0000000100000000 R11: 0000000000000246 R12: 00007fff21f858e0 R13: 0000000000000001 R14: 00007fff21f858e0 R15: 0000000000000003 INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 2.666 msecs rcu: rcu_preempt kthread starved for 10495 jiffies! g9673 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:28736 pid:16 tgid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0xf15/0x5c70 kernel/sched/core.c:6736 __schedule_loop kernel/sched/core.c:6813 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6828 schedule_timeout+0x136/0x2a0 kernel/time/timer.c:2572 rcu_gp_fqs_loop+0x1eb/0xb00 kernel/rcu/tree.c:1663 rcu_gp_kthread+0x271/0x380 kernel/rcu/tree.c:1862 kthread+0x2c1/0x3a0 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:243 rcu: Stack dump where RCU GP kthread last ran: CPU: 0 PID: 151 Comm: kworker/u8:7 Not tainted 6.8.0-syzkaller-08951-gfe46a7dd189e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:311 [inline] RIP: 0010:smp_call_function_many_cond+0x4e7/0x1590 kernel/smp.c:855 Code: 0c 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 4b 05 0c 00 f3 90 <41> 0f b6 04 24 40 38 c5 7c 08 84 c0 0f 85 5d 0e 00 00 8b 43 08 31 RSP: 0018:ffffc90002d6f910 EFLAGS: 00000293 RAX: 0000000000000000 RBX: ffff8880b9544380 RCX: ffffffff8180f38b RDX: ffff88801b790000 RSI: ffffffff8180f365 RDI: 0000000000000005 RBP: 0000000000000003 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000006 R12: ffffed10172a8871 R13: 0000000000000001 R14: ffff8880b9544388 R15: ffff8880b943f840 FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055bc276458c0 CR3: 000000000d57a000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 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:2086 [inline] text_poke_bp_batch+0x22b/0x760 arch/x86/kernel/alternative.c:2296 text_poke_flush arch/x86/kernel/alternative.c:2487 [inline] text_poke_flush arch/x86/kernel/alternative.c:2484 [inline] text_poke_finish+0x30/0x40 arch/x86/kernel/alternative.c:2494 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 jump_label_update+0x1d7/0x400 kernel/jump_label.c:829 static_key_enable_cpuslocked+0x1b7/0x270 kernel/jump_label.c:205 static_key_enable+0x1a/0x20 kernel/jump_label.c:218 toggle_allocation_gate mm/kfence/core.c:826 [inline] toggle_allocation_gate+0xf8/0x250 mm/kfence/core.c:818 process_one_work+0x9a9/0x1a60 kernel/workqueue.c:3254 process_scheduled_works kernel/workqueue.c:3335 [inline] worker_thread+0x6c8/0xf70 kernel/workqueue.c:3416 kthread+0x2c1/0x3a0 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:243