rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (1 GPs behind) idle=9c1c/1/0x4000000000000000 softirq=7348/7349 fqs=5 rcu: (detected by 0, t=10502 jiffies, g=10517, q=99 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 5080 Comm: syz-executor893 Not tainted 6.6.0-next-20231103-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 RIP: 0010:debug_spin_lock_before kernel/locking/spinlock_debug.c:86 [inline] RIP: 0010:do_raw_spin_lock+0xae/0x2b0 kernel/locking/spinlock_debug.c:114 Code: 01 00 00 8b 43 04 3d ad 4e ad de 0f 85 7d 01 00 00 4c 8d 6b 10 48 b8 00 00 00 00 00 fc ff df 4c 89 ea 48 c1 ea 03 80 3c 02 00 <0f> 85 c0 01 00 00 48 8b 53 10 65 48 8b 05 f0 fa 99 7e 48 39 c2 0f RSP: 0018:ffffc900001f0c38 EFLAGS: 00000046 RAX: dffffc0000000000 RBX: ffffffff929b7618 RCX: fffff5200003e161 RDX: 1ffffffff2536ec5 RSI: ffffffff8accc100 RDI: ffffffff929b761c RBP: 1ffff9200003e188 R08: 0000000000000000 R09: fffffbfff23e51d0 R10: ffffffff91f28e87 R11: dffffc0000000000 R12: 000000000005b050 R13: ffffffff929b7628 R14: ffffffff8acf3f00 R15: 1ffff9200003e1a2 FS: 0000555557132380(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc917dc33b0 CR3: 0000000027028000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:111 [inline] _raw_spin_lock_irqsave+0x42/0x50 kernel/locking/spinlock.c:162 debug_object_activate+0x1a0/0x490 lib/debugobjects.c:717 debug_hrtimer_activate kernel/time/hrtimer.c:422 [inline] debug_activate kernel/time/hrtimer.c:477 [inline] enqueue_hrtimer+0x25/0x320 kernel/time/hrtimer.c:1087 __run_hrtimer kernel/time/hrtimer.c:1705 [inline] __hrtimer_run_queues+0xa07/0xc00 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+0x10c/0x400 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:queue_work_on+0x92/0x110 kernel/workqueue.c:1839 Code: ff 48 89 ee e8 2f 5e 32 00 48 85 ed 75 3b e8 95 62 32 00 9c 5b 81 e3 00 02 00 00 31 ff 48 89 de e8 13 5e 32 00 48 85 db 75 66 79 62 32 00 44 89 e8 5b 5d 41 5c 41 5d 41 5e 41 5f c3 e8 66 62 RSP: 0018:ffffc90004267bf0 EFLAGS: 00000293 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff81569c9d RDX: ffff8880265fd940 RSI: ffffffff81569ca7 RDI: 0000000000000007 RBP: 0000000000000200 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000008 R13: 0000000000000001 R14: ffff888013072400 R15: 0000000000000000 queue_work include/linux/workqueue.h:562 [inline] ntp_notify_cmos_timer+0x7a/0x90 kernel/time/ntp.c:671 do_adjtimex+0x729/0xaa0 kernel/time/timekeeping.c:2481 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+0x62/0x6a RIP: 0033:0x7fc917d75ee9 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:00007ffc1fa7ba48 EFLAGS: 00000246 ORIG_RAX: 0000000000000131 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007fc917d75ee9 RDX: 00007fc917d75ee9 RSI: 00000000200006c0 RDI: 0000000000000000 RBP: 00000000000f4240 R08: 0000000000000000 R09: 0000000100000000 R10: 0000000100000000 R11: 0000000000000246 R12: 00007ffc1fa7baa0 R13: 0000000000000001 R14: 00007ffc1fa7baa0 R15: 0000000000000003 INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 2.132 msecs rcu: rcu_preempt kthread starved for 10492 jiffies! g10517 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:28128 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5376 [inline] __schedule+0xee5/0x59b0 kernel/sched/core.c:6688 __schedule_loop kernel/sched/core.c:6763 [inline] schedule+0xe5/0x270 kernel/sched/core.c:6778 schedule_timeout+0x156/0x2b0 kernel/time/timer.c:2167 rcu_gp_fqs_loop+0x1eb/0xb00 kernel/rcu/tree.c:1626 rcu_gp_kthread+0x243/0x380 kernel/rcu/tree.c:1825 kthread+0x337/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: 2791 Comm: kworker/u4:7 Not tainted 6.6.0-next-20231103-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:__sanitizer_cov_trace_pc+0x33/0x60 kernel/kcov.c:207 Code: bd 7a 7e 65 8b 05 d5 bd 7a 7e a9 00 01 ff 00 48 8b 34 24 74 0f f6 c4 01 74 35 8b 82 fc 15 00 00 85 c0 74 2b 8b 82 d8 15 00 00 <83> f8 02 75 20 48 8b 8a e0 15 00 00 8b 92 dc 15 00 00 48 8b 01 48 RSP: 0018:ffffc90009d47908 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffff8880b9941a60 RCX: ffffffff817d39e5 RDX: ffff888026c2d940 RSI: ffffffff817d39bf RDI: 0000000000000005 RBP: 0000000000000003 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffffed101732834d R13: 0000000000000001 R14: ffff8880b9941a68 R15: ffff8880b983d8c0 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000600 CR3: 000000000cd78000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rep_nop arch/x86/include/asm/vdso/processor.h:13 [inline] cpu_relax arch/x86/include/asm/vdso/processor.h:18 [inline] csd_lock_wait kernel/smp.c:311 [inline] smp_call_function_many_cond+0x4bf/0x1560 kernel/smp.c:855 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+0x8a2/0x15e0 kernel/workqueue.c:2630 process_scheduled_works kernel/workqueue.c:2703 [inline] worker_thread+0x8b6/0x1280 kernel/workqueue.c:2784 kthread+0x337/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