rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 0-...!: (10499 ticks this GP) idle=71ec/1/0x4000000000000000 softirq=21164/21164 fqs=0 (t=10500 jiffies g=29173 q=55 ncpus=2) rcu: rcu_preempt kthread timer wakeup didn't happen for 10499 jiffies! g29173 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=1 timer-softirq=17978 rcu: rcu_preempt kthread starved for 10500 jiffies! g29173 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->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:I stack:26912 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: Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 7802 Comm: syz.2.1188 Not tainted 6.1.137-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025 RIP: 0010:hlock_class kernel/locking/lockdep.c:223 [inline] RIP: 0010:check_wait_context kernel/locking/lockdep.c:4748 [inline] RIP: 0010:__lock_acquire+0x8f7/0x7c50 kernel/locking/lockdep.c:4999 Code: 00 00 00 48 c7 c0 a8 b6 fe 8d 48 c1 e8 03 48 89 84 24 c0 00 00 00 4d 89 e7 48 83 fb 31 0f 83 4f 01 00 00 4c 89 f8 48 c1 e8 03 <42> 0f b6 04 00 84 c0 0f 85 59 01 00 00 41 8b 04 24 41 89 c6 41 81 RSP: 0018:ffffc900001e0860 EFLAGS: 00000802 RAX: 1ffff11005ce08d5 RBX: 0000000000000001 RCX: ffff88802e703b80 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff908b8240 RBP: ffffc900001e0ab0 R08: dffffc0000000000 R09: fffffbfff2117049 R10: fffffbfff2117049 R11: 1ffffffff2117048 R12: ffff88802e7046a8 R13: ffff88802e704602 R14: 0000000000000001 R15: ffff88802e7046a8 FS: 00007f2f8ec176c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c293698 CR3: 0000000058bb1000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x1b4/0x490 kernel/locking/lockdep.c:5662 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xa4/0xf0 kernel/locking/spinlock.c:162 debug_object_activate+0x6a/0x490 lib/debugobjects.c:698 debug_hrtimer_activate kernel/time/hrtimer.c:411 [inline] debug_activate kernel/time/hrtimer.c:466 [inline] enqueue_hrtimer+0x30/0x3f0 kernel/time/hrtimer.c:1075 __run_hrtimer kernel/time/hrtimer.c:1708 [inline] __hrtimer_run_queues+0x642/0xc80 kernel/time/hrtimer.c:1755 hrtimer_interrupt+0x3bb/0x8d0 kernel/time/hrtimer.c:1817 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 4e 03 6e 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 36 7e 3e f7 65 8b 05 37 53 e9 75 85 c0 74 3c 48 c7 04 24 0e 36 RSP: 0018:ffffc900047c7b80 EFLAGS: 00000206 RAX: cd3ce392df95b200 RBX: 0000000000000a02 RCX: cd3ce392df95b200 RDX: dffffc0000000000 RSI: ffffffff8a6bfe00 RDI: 0000000000000001 RBP: ffffc900047c7c10 R08: dffffc0000000000 R09: fffffbfff2117049 R10: fffffbfff2117049 R11: 1ffffffff2117048 R12: dffffc0000000000 R13: dffffc0000000000 R14: ffff8880b8e2a580 R15: 1ffff920008f8f70 clock_was_set+0x17c/0x8e0 kernel/time/hrtimer.c:961 do_settimeofday64+0x575/0x720 kernel/time/timekeeping.c:1345 __do_sys_clock_settime kernel/time/posix-timers.c:1124 [inline] __se_sys_clock_settime kernel/time/posix-timers.c:1112 [inline] __x64_sys_clock_settime+0x223/0x270 kernel/time/posix-timers.c:1112 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:0x7f2f8dd8e969 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:00007f2f8ec17038 EFLAGS: 00000246 ORIG_RAX: 00000000000000e3 RAX: ffffffffffffffda RBX: 00007f2f8dfb5fa0 RCX: 00007f2f8dd8e969 RDX: 0000000000000000 RSI: 0000200000000040 RDI: 0000000000000000 RBP: 00007f2f8de10ab1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f2f8dfb5fa0 R15: 00007fffbf2d1bb8 CPU: 0 PID: 4376 Comm: kworker/u4:8 Not tainted 6.1.137-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/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 5d e9 0a 00 83 e3 01 48 bb 00 00 00 00 00 fc ff df 75 07 e8 e9 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 ce e5 0a RSP: 0000:ffffc900048b7800 EFLAGS: 00000293 RAX: ffffffff8175ddd2 RBX: dffffc0000000000 RCX: ffff888025341dc0 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc900048b7960 R08: dffffc0000000000 R09: fffffbfff2117049 R10: fffffbfff2117049 R11: 1ffffffff2117048 R12: 1ffff110171e81b9 R13: ffff8880b8e3bb00 R14: 0000000000000001 R15: ffff8880b8f40dc8 FS: 0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f85218121e6 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:1334 [inline] text_poke_bp_batch+0x2b0/0x7d0 arch/x86/kernel/alternative.c:1534 text_poke_flush arch/x86/kernel/alternative.c:1725 [inline] text_poke_finish+0x16/0x30 arch/x86/kernel/alternative.c:1732 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 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 7802 Comm: syz.2.1188 Not tainted 6.1.137-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025 RIP: 0010:advance_sched+0x213/0x970 net/sched/sch_taprio.c:-1 Code: 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8 d4 b3 86 f9 48 8b 1b 48 89 ef 48 89 de e8 96 42 35 f9 48 39 dd 0f 84 96 06 00 00 <48> 8b 44 24 08 48 8d 58 10 4c 89 f8 48 c1 e8 03 42 80 3c 28 00 74 RSP: 0018:ffffc900001e0c80 EFLAGS: 00000002 RAX: ffffffff884b82ea RBX: 0000000000000000 RCX: ffff88802e703b80 RDX: 0000000000010000 RSI: 0000000000000000 RDI: 1844b2f68d2cbc1f RBP: 1844b2f68d2cbc1f R08: 0000000000000004 R09: 0000000000000003 R10: fffff5200003c180 R11: 1ffff9200003c180 R12: ffff88802e745790 R13: dffffc0000000000 R14: 1ffff11005ce8af2 R15: ffff88802e745780 FS: 00007f2f8ec176c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c293698 CR3: 0000000058bb1000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __run_hrtimer kernel/time/hrtimer.c:1691 [inline] __hrtimer_run_queues+0x522/0xc80 kernel/time/hrtimer.c:1755 hrtimer_interrupt+0x3bb/0x8d0 kernel/time/hrtimer.c:1817 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 4e 03 6e 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 36 7e 3e f7 65 8b 05 37 53 e9 75 85 c0 74 3c 48 c7 04 24 0e 36 RSP: 0018:ffffc900047c7b80 EFLAGS: 00000206 RAX: cd3ce392df95b200 RBX: 0000000000000a02 RCX: cd3ce392df95b200 RDX: dffffc0000000000 RSI: ffffffff8a6bfe00 RDI: 0000000000000001 RBP: ffffc900047c7c10 R08: dffffc0000000000 R09: fffffbfff2117049 R10: fffffbfff2117049 R11: 1ffffffff2117048 R12: dffffc0000000000 R13: dffffc0000000000 R14: ffff8880b8e2a580 R15: 1ffff920008f8f70 clock_was_set+0x17c/0x8e0 kernel/time/hrtimer.c:961 do_settimeofday64+0x575/0x720 kernel/time/timekeeping.c:1345 __do_sys_clock_settime kernel/time/posix-timers.c:1124 [inline] __se_sys_clock_settime kernel/time/posix-timers.c:1112 [inline] __x64_sys_clock_settime+0x223/0x270 kernel/time/posix-timers.c:1112 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:0x7f2f8dd8e969 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:00007f2f8ec17038 EFLAGS: 00000246 ORIG_RAX: 00000000000000e3 RAX: ffffffffffffffda RBX: 00007f2f8dfb5fa0 RCX: 00007f2f8dd8e969 RDX: 0000000000000000 RSI: 0000200000000040 RDI: 0000000000000000 RBP: 00007f2f8de10ab1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f2f8dfb5fa0 R15: 00007fffbf2d1bb8