rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (1 GPs behind) idle=fe0c/1/0x4000000000000000 softirq=30281/30282 fqs=0 (detected by 0, t=10506 jiffies, g=38509, q=88 ncpus=2) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 8665 Comm: syz.0.1255 Not tainted 6.1.141-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:check_kcov_mode kernel/kcov.c:182 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x1b/0x60 kernel/kcov.c:216 Code: 89 de 5b e9 c7 af 50 00 00 00 cc cc 00 00 cc 48 8b 04 24 65 48 8b 0d c4 98 81 7e 65 8b 15 c5 98 81 7e 81 e2 00 01 ff 00 74 11 <81> fa 00 01 00 00 75 35 83 b9 1c 16 00 00 00 74 2c 8b 91 f8 15 00 RSP: 0018:ffffc900001e0c90 EFLAGS: 00000006 RAX: ffffffff8a0087dd RBX: 1ffff110171e54da RCX: ffff8880261e9dc0 RDX: 0000000000010000 RSI: ffff88801ceb3340 RDI: ffff88801ceb3340 RBP: 0000000000000000 R08: dffffc0000000000 R09: fffffbfff1bfd0b6 R10: fffffbfff1bfd0b6 R11: 1ffffffff1bfd0b5 R12: ffff88801ceb3340 R13: dffffc0000000000 R14: ffff8880b8f2a6d0 R15: ffff88801ceb3340 FS: 00007fb1477926c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000003c80 CR3: 000000005838d000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rb_link_node include/linux/rbtree.h:63 [inline] rb_add_cached include/linux/rbtree.h:182 [inline] timerqueue_add+0x16d/0x1f0 lib/timerqueue.c:40 enqueue_hrtimer+0x1b3/0x3f0 kernel/time/hrtimer.c:1118 __run_hrtimer kernel/time/hrtimer.c:1769 [inline] __hrtimer_run_queues+0x68e/0xd60 kernel/time/hrtimer.c:1816 hrtimer_interrupt+0x3c5/0x9c0 kernel/time/hrtimer.c:1878 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1107 [inline] __sysvec_apic_timer_interrupt+0x153/0x5a0 arch/x86/kernel/apic/apic.c:1124 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1118 [inline] sysvec_apic_timer_interrupt+0x9b/0xc0 arch/x86/kernel/apic/apic.c:1118 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:691 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0xa5/0x100 kernel/locking/spinlock.c:194 Code: 74 05 e8 ce 97 6d f7 48 c7 44 24 20 00 00 00 00 9c 8f 44 24 20 f6 44 24 21 02 75 4b f7 c3 00 02 00 00 74 01 fb bf 01 00 00 00 c6 13 3e f7 65 8b 05 97 d4 e8 75 85 c0 74 3c 48 c7 04 24 0e 36 RSP: 0018:ffffc9000c6a7b80 EFLAGS: 00000206 RAX: 0072ef2d07b0e300 RBX: 0000000000000a02 RCX: 0072ef2d07b0e300 RDX: dffffc0000000000 RSI: ffffffff8a6bffe0 RDI: 0000000000000001 RBP: ffffc9000c6a7c10 R08: dffffc0000000000 R09: fffffbfff2117049 R10: fffffbfff2117049 R11: 1ffffffff2117048 R12: dffffc0000000000 R13: ffff8880b8e2a580 R14: ffff8880b8e2a580 R15: 1ffff920018d4f70 clock_was_set+0x189/0x990 kernel/time/hrtimer.c:996 do_settimeofday64+0x575/0x720 kernel/time/timekeeping.c:1345 __do_sys_clock_settime kernel/time/posix-timers.c:1125 [inline] __se_sys_clock_settime kernel/time/posix-timers.c:1113 [inline] __x64_sys_clock_settime+0x223/0x270 kernel/time/posix-timers.c:1113 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7fb14698e929 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:00007fb147792038 EFLAGS: 00000246 ORIG_RAX: 00000000000000e3 RAX: ffffffffffffffda RBX: 00007fb146bb5fa0 RCX: 00007fb14698e929 RDX: 0000000000000000 RSI: 0000200000003c80 RDI: 0000000000000000 RBP: 00007fb146a10b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fb146bb5fa0 R15: 00007ffe9c1d8888 rcu: rcu_preempt kthread starved for 10506 jiffies! g38509 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:27840 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5244 [inline] __schedule+0x10e9/0x40d0 kernel/sched/core.c:6561 schedule+0xb9/0x180 kernel/sched/core.c:6637 schedule_timeout+0x15c/0x280 kernel/time/timer.c:1965 rcu_gp_fqs_loop+0x2f2/0x1310 kernel/rcu/tree.c:1706 rcu_gp_kthread+0x95/0x380 kernel/rcu/tree.c:1905 kthread+0x29d/0x330 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 rcu: Stack dump where RCU GP kthread last ran: CPU: 0 PID: 7685 Comm: kworker/u4:20 Not tainted 6.1.141-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:424 [inline] RIP: 0010:smp_call_function_many_cond+0xe7b/0x1270 kernel/smp.c:998 Code: 00 00 00 41 8b 1f 89 de 83 e6 01 31 ff e8 6d e9 0a 00 83 e3 01 48 bb 00 00 00 00 00 fc ff df 75 07 e8 f9 e5 0a 00 eb 37 f3 90 <41> 0f b6 04 1c 84 c0 75 10 41 f7 07 01 00 00 00 74 1e e8 de e5 0a RSP: 0018:ffffc9000ceb7800 EFLAGS: 00000293 RAX: ffffffff8175f092 RBX: dffffc0000000000 RCX: ffff88807a8f5940 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc9000ceb7960 R08: dffffc0000000000 R09: fffffbfff2117049 R10: fffffbfff2117049 R11: 1ffffffff2117048 R12: 1ffff110171e81c1 R13: ffff8880b8e3bb40 R14: 0000000000000001 R15: ffff8880b8f40e08 FS: 0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0b8a57e2d8 CR3: 000000000c68e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: on_each_cpu_cond_mask+0x3b/0x80 kernel/smp.c:1166 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:1574 [inline] text_poke_bp_batch+0x2b0/0x7d0 arch/x86/kernel/alternative.c:1774 text_poke_flush arch/x86/kernel/alternative.c:1965 [inline] text_poke_finish+0x16/0x30 arch/x86/kernel/alternative.c:1972 arch_jump_label_transform_apply+0x13/0x20 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x11f/0x240 kernel/jump_label.c:207 static_key_enable+0x16/0x20 kernel/jump_label.c:220 toggle_allocation_gate+0xb4/0x430 mm/kfence/core.c:805 process_one_work+0x898/0x1160 kernel/workqueue.c:2292 worker_thread+0xaa2/0x1250 kernel/workqueue.c:2439 kthread+0x29d/0x330 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295