rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (1 GPs behind) idle=0f9c/1/0x4000000000000000 softirq=41409/41411 fqs=5 rcu: (detected by 1, t=10503 jiffies, g=47817, q=367 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 9882 Comm: syz-executor Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 RIP: 0010:arch_atomic_try_cmpxchg arch/x86/include/asm/atomic.h:115 [inline] RIP: 0010:raw_atomic_try_cmpxchg_acquire include/linux/atomic/atomic-arch-fallback.h:2151 [inline] RIP: 0010:atomic_try_cmpxchg_acquire include/linux/atomic/atomic-instrumented.h:1296 [inline] RIP: 0010:queued_spin_lock include/asm-generic/qspinlock.h:111 [inline] RIP: 0010:do_raw_spin_lock+0x12e/0x2c0 kernel/locking/spinlock_debug.c:115 Code: 00 48 89 df be 04 00 00 00 e8 9e a1 74 00 48 8d 7c 24 40 be 04 00 00 00 e8 8f a1 74 00 8b 44 24 40 b9 01 00 00 00 f0 0f b1 0b <0f> 85 d9 00 00 00 65 8b 1d 81 6e 9b 7e 48 b9 00 00 00 00 00 fc ff RSP: 0018:ffffc90000007be0 EFLAGS: 00000046 RAX: 0000000000000000 RBX: ffff8880b8e2b700 RCX: 0000000000000001 RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffffc90000007c20 RBP: ffffc90000007c90 R08: 0000000000000003 R09: 0000000000000004 R10: dffffc0000000000 R11: fffff52000000f84 R12: ffff8880b8e2b710 R13: ffff8880b8e2b708 R14: 1ffff110171c56e2 R15: 1ffff110171c56e1 FS: 000055555f1bc500(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f97a8b156c0 CR3: 000000006417d000 CR4: 00000000003506f0 Call Trace: __raw_spin_lock_irq include/linux/spinlock_api_smp.h:120 [inline] _raw_spin_lock_irq+0xaf/0xe0 kernel/locking/spinlock.c:170 __run_hrtimer kernel/time/hrtimer.c:1754 [inline] __hrtimer_run_queues+0x5e3/0xc40 kernel/time/hrtimer.c:1814 hrtimer_interrupt+0x3c9/0x9c0 kernel/time/hrtimer.c:1876 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1077 [inline] __sysvec_apic_timer_interrupt+0xfb/0x3b0 arch/x86/kernel/apic/apic.c:1094 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1088 [inline] sysvec_apic_timer_interrupt+0x9f/0xc0 arch/x86/kernel/apic/apic.c:1088 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:687 RIP: 0010:__nr_to_section include/linux/mmzone.h:1849 [inline] RIP: 0010:__pfn_to_section include/linux/mmzone.h:1957 [inline] RIP: 0010:pfn_valid+0x84/0x420 include/linux/mmzone.h:2010 Code: f0 96 e8 2f 1e f5 ff 48 8b 05 e8 bd 08 15 48 85 c0 74 40 4c 89 f1 48 c1 e9 16 48 8d 1c c8 48 89 d8 48 c1 e8 03 42 80 3c 20 00 <74> 08 48 89 df e8 02 1e f5 ff 4c 8b 3b 4d 85 ff 74 1e 4c 89 f3 48 RSP: 0018:ffffc90002ec74b8 EFLAGS: 00000246 RAX: 1ffff11047ffde00 RBX: ffff88823ffef000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000066285 RDI: 00000003ffffffff RBP: ffffc90002ec7850 R08: ffffea000198a147 R09: 1ffffd4000331428 R10: dffffc0000000000 R11: fffff94000331429 R12: dffffc0000000000 R13: dffffc0000000000 R14: 0000000000066285 R15: 0000000000066285 page_table_check_set+0x25/0x6f0 mm/page_table_check.c:110 page_table_check_ptes_set include/linux/page_table_check.h:74 [inline] set_ptes include/linux/pgtable.h:238 [inline] copy_present_pte mm/memory.c:978 [inline] copy_pte_range mm/memory.c:1082 [inline] copy_pmd_range mm/memory.c:1167 [inline] copy_pud_range mm/memory.c:1204 [inline] copy_p4d_range mm/memory.c:1228 [inline] copy_page_range+0x248d/0x3600 mm/memory.c:1322 dup_mmap kernel/fork.c:764 [inline] dup_mm kernel/fork.c:1692 [inline] copy_mm+0x11a8/0x1ca0 kernel/fork.c:1741 copy_process+0x16d3/0x3d70 kernel/fork.c:2506 kernel_clone+0x21b/0x840 kernel/fork.c:2914 __do_sys_clone kernel/fork.c:3057 [inline] __se_sys_clone kernel/fork.c:3041 [inline] __x64_sys_clone+0x18c/0x1e0 kernel/fork.c:3041 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f97a7d85713 Code: 1f 84 00 00 00 00 00 64 48 8b 04 25 10 00 00 00 45 31 c0 31 d2 31 f6 bf 11 00 20 01 4c 8d 90 d0 02 00 00 b8 38 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 35 89 c2 85 c0 75 2c 64 48 8b 04 25 10 00 00 RSP: 002b:00007ffdfa893e18 EFLAGS: 00000246 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f97a7d85713 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000001 R10: 000055555f1bc7d0 R11: 0000000000000246 R12: 0000000000000000 R13: 00000000000927c0 R14: 000000000004c070 R15: 00007ffdfa893fb0 rcu: rcu_preempt kthread starved for 10480 jiffies! g47817 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:27656 pid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5380 [inline] __schedule+0x14d2/0x44d0 kernel/sched/core.c:6699 schedule+0xbd/0x170 kernel/sched/core.c:6773 schedule_timeout+0x160/0x280 kernel/time/timer.c:2167 rcu_gp_fqs_loop+0x302/0x1560 kernel/rcu/tree.c:1667 rcu_gp_kthread+0x99/0x380 kernel/rcu/tree.c:1866 kthread+0x2fa/0x390 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293 rcu: Stack dump where RCU GP kthread last ran: CPU: 1 PID: 11 Comm: kworker/u4:0 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:311 [inline] RIP: 0010:smp_call_function_many_cond+0xddf/0x1130 kernel/smp.c:855 Code: 45 8b 2c 24 44 89 ee 83 e6 01 31 ff e8 da d6 0a 00 41 83 e5 01 49 bd 00 00 00 00 00 fc ff df 75 07 e8 15 d3 0a 00 eb 38 f3 90 <42> 0f b6 04 2b 84 c0 75 11 41 f7 04 24 01 00 00 00 74 1e e8 f9 d2 RSP: 0018:ffffc90000107780 EFLAGS: 00000293 RAX: ffffffff817abc67 RBX: 1ffff110171c8791 RCX: ffff88801ba4bc00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90000107900 R08: ffffffff90da7507 R09: 1ffffffff21b4ea0 R10: dffffc0000000000 R11: fffffbfff21b4ea1 R12: ffff8880b8e43c88 R13: dffffc0000000000 R14: ffff8880b8f3d348 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b31c1aff8 CR3: 000000000cb30000 CR4: 00000000003506e0 Call Trace: on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:1022 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:2222 [inline] text_poke_bp_batch+0x318/0x930 arch/x86/kernel/alternative.c:2432 text_poke_flush arch/x86/kernel/alternative.c:2623 [inline] text_poke_finish+0x30/0x50 arch/x86/kernel/alternative.c:2630 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x123/0x240 kernel/jump_label.c:207 static_key_enable+0x1a/0x20 kernel/jump_label.c:220 toggle_allocation_gate+0xaa/0x250 mm/kfence/core.c:831 process_one_work kernel/workqueue.c:2634 [inline] process_scheduled_works+0xa45/0x15b0 kernel/workqueue.c:2711 worker_thread+0xa55/0xfc0 kernel/workqueue.c:2792 kthread+0x2fa/0x390 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293 vkms_vblank_simulate: vblank timer overrun