rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (0 ticks this GP) idle=1324/1/0x4000000000000000 softirq=5496/5496 fqs=0 rcu: (detected by 0, t=10506 jiffies, g=5565, q=101 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 5079 Comm: syz-executor100 Not tainted 6.6.0-syzkaller-16159-g3ca112b71f35 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 RIP: 0010:lock_acquire+0x5f/0x510 kernel/locking/lockdep.c:5721 Code: eb 03 89 4c 24 04 48 c7 44 24 10 b3 8a b5 41 48 01 d8 48 c7 44 24 18 ba e4 95 8c 48 c7 44 24 20 20 0a 69 81 c7 00 f1 f1 f1 f1 40 04 f1 f1 00 00 c7 40 08 00 00 00 f3 c7 40 0c f3 f3 f3 f3 65 RSP: 0018:ffffc900001f0c38 EFLAGS: 00000082 RAX: fffff5200003e189 RBX: 1ffff9200003e189 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff9297c860 RBP: 0000000000000012 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: dffffc0000000000 R12: 0000000000000001 R13: 0000000000000000 R14: ffffffff9297c860 R15: 0000000000000000 FS: 0000555555814380(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000600 CR3: 000000001ee47000 CR4: 0000000000350ef0 Call Trace: __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x3a/0x50 kernel/locking/spinlock.c:162 debug_object_deactivate lib/debugobjects.c:783 [inline] debug_object_deactivate+0x113/0x320 lib/debugobjects.c:771 debug_hrtimer_deactivate kernel/time/hrtimer.c:427 [inline] debug_deactivate kernel/time/hrtimer.c:483 [inline] __run_hrtimer kernel/time/hrtimer.c:1656 [inline] __hrtimer_run_queues+0x470/0xc10 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+0x105/0x3f0 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:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0x31/0x70 kernel/locking/spinlock.c:194 Code: f5 53 48 8b 74 24 10 48 89 fb 48 83 c7 18 e8 b6 c8 df f6 48 89 df e8 ae 47 e0 f6 f7 c5 00 02 00 00 75 1f 9c 58 f6 c4 02 75 2f 01 00 00 00 e8 f5 93 d1 f6 65 8b 05 06 8a 7a 75 85 c0 74 12 5b RSP: 0018:ffffc90003affa78 EFLAGS: 00000246 RAX: 0000000000000006 RBX: ffff8880b982b940 RCX: 1ffffffff23e4716 RDX: 0000000000000000 RSI: ffffffff8accb920 RDI: ffffffff8b2f1240 RBP: 0000000000000282 R08: 0000000000000001 R09: fffffbfff23e45d0 R10: ffffffff91f22e87 R11: 0000000000000002 R12: 0000000000000004 R13: 0000000000000000 R14: 0000000000000000 R15: dffffc0000000000 clock_was_set+0x592/0x850 kernel/time/hrtimer.c:972 timekeeping_inject_offset+0x4d1/0x640 kernel/time/timekeeping.c:1395 do_adjtimex+0x373/0xaa0 kernel/time/timekeeping.c:2444 do_clock_adjtime kernel/time/posix-timers.c:1159 [inline] __do_sys_clock_adjtime+0x173/0x280 kernel/time/posix-timers.c:1171 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3f/0x110 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f53205cbee9 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:00007ffc69623cb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000131 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f53205cbee9 RDX: 00007f53205cbee9 RSI: 0000000020000040 RDI: 0000000000000000 RBP: 00000000000f4240 R08: 0000000000000000 R09: 0000000100000000 R10: 0000000100000000 R11: 0000000000000246 R12: 00007ffc69623d10 R13: 0000000000000001 R14: 00007ffc69623d10 R15: 0000000000000003 INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 1.104 msecs rcu: rcu_preempt kthread starved for 10506 jiffies! g5565 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:28496 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5376 [inline] __schedule+0xee2/0x59a0 kernel/sched/core.c:6688 __schedule_loop kernel/sched/core.c:6763 [inline] schedule+0xe7/0x270 kernel/sched/core.c:6778 schedule_timeout+0x157/0x2c0 kernel/time/timer.c:2167 rcu_gp_fqs_loop+0x1ec/0xb10 kernel/rcu/tree.c:1631 rcu_gp_kthread+0x249/0x380 kernel/rcu/tree.c:1830 kthread+0x33c/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: 48 Comm: kworker/u4:3 Not tainted 6.6.0-syzkaller-16159-g3ca112b71f35 #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+0x4db/0x1570 kernel/smp.c:855 Code: 4d 48 b8 00 00 00 00 00 fc ff df 4d 89 fc 4c 89 fd 49 c1 ec 03 83 e5 07 49 01 c4 83 c5 03 e8 0c c5 0b 00 f3 90 41 0f b6 04 24 <40> 38 c5 7c 08 84 c0 0f 85 3c 0e 00 00 8b 43 08 31 ff 83 e0 01 41 RSP: 0018:ffffc90000b8f920 EFLAGS: 00000293 RAX: 0000000000000000 RBX: ffff8880b9941a60 RCX: ffffffff817cdffa RDX: ffff88801a263b80 RSI: ffffffff817cdfd4 RDI: 0000000000000005 RBP: 0000000000000003 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffffed101732834d R13: 0000000000000001 R14: ffff8880b983d8c0 R15: ffff8880b9941a68 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f53206193b0 CR3: 000000000cd77000 CR4: 0000000000350ef0 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+0x884/0x15c0 kernel/workqueue.c:2630 process_scheduled_works kernel/workqueue.c:2703 [inline] worker_thread+0x8b9/0x1290 kernel/workqueue.c:2784 kthread+0x33c/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