rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (0 ticks this GP) idle=9134/1/0x4000000000000000 softirq=5946/5949 fqs=1 rcu: (detected by 1, t=10502 jiffies, g=5465, q=78 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 5093 Comm: syz-executor336 Not tainted 6.9.0-rc6-syzkaller-00053-g0106679839f7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:preempt_count_add+0x6c/0x190 kernel/sched/core.c:5874 Code: 9e 7e 48 c7 c0 60 66 6f 94 48 c1 e8 03 42 0f b6 04 38 84 c0 0f 85 e4 00 00 00 83 3d cd ae 09 13 00 75 11 65 8b 05 ec 1b 9e 7e <0f> b6 c0 3d f5 00 00 00 73 5e 65 8b 05 db 1b 9e 7e 25 ff ff ff 7f RSP: 0018:ffffc90000007b40 EFLAGS: 00000046 RAX: 0000000080010003 RBX: 0000000000000001 RCX: ffffffff946f6603 RDX: 0000000000000002 RSI: ffffffff8bcaca20 RDI: 0000000000000001 RBP: ffffc90000007bf0 R08: ffffffff8fa7ccef R09: 1ffffffff1f4f99d R10: dffffc0000000000 R11: fffffbfff1f4f99e R12: 0000000000000046 R13: 1ffff92000000f6c R14: ffffffff948edb58 R15: dffffc0000000000 FS: 000055557b3ac380(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000600 CR3: 0000000078518000 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:109 [inline] _raw_spin_lock_irqsave+0xba/0x120 kernel/locking/spinlock.c:162 debug_object_activate+0x16d/0x510 lib/debugobjects.c:708 debug_hrtimer_activate kernel/time/hrtimer.c:423 [inline] debug_activate kernel/time/hrtimer.c:478 [inline] enqueue_hrtimer+0x30/0x3c0 kernel/time/hrtimer.c:1090 __run_hrtimer kernel/time/hrtimer.c:1709 [inline] __hrtimer_run_queues+0x6d5/0xd50 kernel/time/hrtimer.c:1756 hrtimer_interrupt+0x396/0x990 kernel/time/hrtimer.c:1818 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1032 [inline] __sysvec_apic_timer_interrupt+0x110/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 7e 0a 75 f6 f6 44 24 21 02 75 52 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 13 62 e3 f5 65 8b 05 c4 7c 81 74 85 c0 74 43 48 c7 04 24 0e 36 RSP: 0018:ffffc900039ef900 EFLAGS: 00000206 RAX: 0a15cd173c7d2d00 RBX: 1ffff9200073df24 RCX: ffffffff8173002a RDX: dffffc0000000000 RSI: ffffffff8bcab8a0 RDI: 0000000000000001 RBP: ffffc900039ef990 R08: ffffffff92efe507 R09: 1ffffffff25dfca0 R10: dffffc0000000000 R11: fffffbfff25dfca1 R12: dffffc0000000000 R13: 1ffff9200073df20 R14: ffffc900039ef920 R15: 0000000000000246 clock_was_set+0x6a4/0x830 kernel/time/hrtimer.c:973 timekeeping_inject_offset+0x4e8/0x580 kernel/time/timekeeping.c:1396 do_adjtimex+0x515/0xab0 kernel/time/timekeeping.c:2445 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+0x1e1/0x290 kernel/time/posix-timers.c:1162 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f4c51debee9 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:00007ffde4743808 EFLAGS: 00000246 ORIG_RAX: 0000000000000131 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f4c51debee9 RDX: 00007f4c51debee9 RSI: 0000000020000280 RDI: 0000000000000000 RBP: 00000000000f4240 R08: 0000000100000000 R09: 0000000100000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffde4743860 R13: 0000000000000001 R14: 00007ffde4743860 R15: 0000000000000003 INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 2.149 msecs rcu: rcu_preempt kthread starved for 10495 jiffies! g5465 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:26256 pid:16 tgid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0x1796/0x4a00 kernel/sched/core.c:6746 __schedule_loop kernel/sched/core.c:6823 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6838 schedule_timeout+0x1be/0x310 kernel/time/timer.c:2582 rcu_gp_fqs_loop+0x2df/0x1370 kernel/rcu/tree.c:1663 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:1862 kthread+0x2f0/0x390 kernel/kthread.c:388 ret_from_fork+0x4b/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 PID: 10 Comm: kworker/u8:0 Not tainted 6.9.0-rc6-syzkaller-00053-g0106679839f7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:get_current arch/x86/include/asm/current.h:49 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x8/0x70 kernel/kcov.c:206 Code: 8b 3d 9c a0 3d 0c 48 89 de 5b e9 c3 d0 55 00 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 48 8b 04 24 <65> 48 8b 0c 25 80 d3 03 00 65 8b 15 40 c2 6d 7e f7 c2 00 01 ff 00 RSP: 0018:ffffc900000f76d8 EFLAGS: 00000202 RAX: ffffffff818a3a8c RBX: 1ffff11017288c45 RCX: ffff888017699e00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc900000f78e0 R08: ffffffff818a3a5b R09: 1ffffffff25dfca0 R10: dffffc0000000000 R11: fffffbfff25dfca1 R12: dffffc0000000000 R13: ffff8880b9446228 R14: ffff8880b953f780 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555fc1b63000 CR3: 000000000e134000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: csd_lock_wait kernel/smp.c:311 [inline] smp_call_function_many_cond+0x18ac/0x2a00 kernel/smp.c:855 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:2086 [inline] text_poke_bp_batch+0x352/0xb30 arch/x86/kernel/alternative.c:2296 text_poke_flush arch/x86/kernel/alternative.c:2487 [inline] text_poke_finish+0x30/0x50 arch/x86/kernel/alternative.c:2494 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x136/0x260 kernel/jump_label.c:205 static_key_enable+0x1a/0x20 kernel/jump_label.c:218 toggle_allocation_gate+0xb5/0x250 mm/kfence/core.c:826 process_one_work kernel/workqueue.c:3267 [inline] process_scheduled_works+0xa10/0x17c0 kernel/workqueue.c:3348 worker_thread+0x86d/0xd70 kernel/workqueue.c:3429 kthread+0x2f0/0x390 kernel/kthread.c:388 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244