rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P17137/1:b..l rcu: (detected by 0, t=10502 jiffies, g=80973, q=28 ncpus=2) task:syz.0.2787 state:R running task stack:27016 pid:17137 ppid:5786 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5381 [inline] __schedule+0x14e2/0x4580 kernel/sched/core.c:6700 preempt_schedule_irq+0xb5/0x140 kernel/sched/core.c:7010 irqentry_exit+0x67/0x70 kernel/entry/common.c:438 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:687 RIP: 0010:__sanitizer_cov_trace_const_cmp4+0x0/0x90 kernel/kcov.c:314 Code: c0 4c 89 01 48 c7 44 11 08 03 00 00 00 48 89 7c 11 10 48 89 74 11 18 48 89 44 11 20 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 0f 1e fa 48 8b 04 24 65 48 8b 15 10 20 7e 7e 65 8b 0d 11 20 7e RSP: 0018:ffffc9000465f4f8 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffffc9000465f528 RCX: ffff88801a645a00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: 0000000000000001 R08: ffff88801a645a00 R09: 0000000000000003 R10: 0000000000000004 R11: 0000000000000000 R12: ffffffff81d0b61e R13: 1ffff920008cbed0 R14: dffffc0000000000 R15: ffffc9000465f528 unwind_done arch/x86/include/asm/unwind.h:50 [inline] unwind_get_return_address+0x37/0xc0 arch/x86/kernel/unwind_orc.c:366 arch_stack_walk+0x11d/0x190 arch/x86/kernel/stacktrace.c:26 stack_trace_save+0x9c/0xe0 kernel/stacktrace.c:122 save_stack+0xf7/0x1f0 mm/page_owner.c:128 __reset_page_owner+0x4e/0x190 mm/page_owner.c:149 reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1154 [inline] free_unref_page_prepare+0x7ce/0x8e0 mm/page_alloc.c:2336 free_unref_page_list+0xbe/0x860 mm/page_alloc.c:2475 release_pages+0x1fa0/0x2220 mm/swap.c:1022 tlb_batch_pages_flush mm/mmu_gather.c:98 [inline] tlb_flush_mmu_free mm/mmu_gather.c:293 [inline] tlb_flush_mmu+0x368/0x4f0 mm/mmu_gather.c:300 tlb_finish_mmu+0xc3/0x1d0 mm/mmu_gather.c:392 exit_mmap+0x3f0/0xb50 mm/mmap.c:3311 __mmput+0x118/0x3c0 kernel/fork.c:1355 exit_mm+0x1da/0x2c0 kernel/exit.c:569 do_exit+0x88e/0x23c0 kernel/exit.c:870 do_group_exit+0x21b/0x2d0 kernel/exit.c:1024 __do_sys_exit_group kernel/exit.c:1035 [inline] __se_sys_exit_group kernel/exit.c:1033 [inline] __x64_sys_exit_group+0x3f/0x40 kernel/exit.c:1033 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:0x7f491cf8e9a9 RSP: 002b:00007ffca0e8bae8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f491cf8e9a9 RDX: 0000000000000064 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007ffca0e8bb4c R08: 00000013a0e8bbdf R09: 00000000000927c0 R10: 0000000000000d44 R11: 0000000000000246 R12: 00000000000002f0 R13: 00000000000927c0 R14: 000000000018150b R15: 00007ffca0e8bba0 rcu: rcu_preempt kthread starved for 10500 jiffies! g80973 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:27208 pid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5381 [inline] __schedule+0x14e2/0x4580 kernel/sched/core.c:6700 schedule+0xbd/0x170 kernel/sched/core.c:6774 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: 0 PID: 7897 Comm: kworker/u4:37 Not tainted 6.6.99-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: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 ea d6 0a 00 41 83 e5 01 49 bd 00 00 00 00 00 fc ff df 75 07 e8 25 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 09 d3 RSP: 0018:ffffc900032c7780 EFLAGS: 00000293 RAX: ffffffff817ac327 RBX: 1ffff110171e82f5 RCX: ffff8880553e8000 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc900032c7900 R08: ffffffff90da2527 R09: 1ffffffff21b44a4 R10: dffffc0000000000 R11: fffffbfff21b44a5 R12: ffff8880b8f417a8 R13: dffffc0000000000 R14: ffff8880b8e3d588 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fdc73927f98 CR3: 000000000cb30000 CR4: 00000000003506f0 Call Trace: 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: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