rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P5221/2:b..l rcu: (detected by 0, t=10502 jiffies, g=63529, q=2687679 ncpus=2) task:syz-executor state:R running task stack:20528 pid:5221 tgid:5221 ppid:5219 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5322 [inline] __schedule+0x1895/0x4b30 kernel/sched/core.c:6682 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:7004 irqentry_exit+0x5e/0x90 kernel/entry/common.c:354 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:lock_acquire+0x264/0x550 kernel/locking/lockdep.c:5829 Code: 2b 00 74 08 4c 89 f7 e8 8a 3f 8e 00 f6 44 24 61 02 0f 85 85 01 00 00 41 f7 c7 00 02 00 00 74 01 fb 48 c7 44 24 40 0e 36 e0 45 <4b> c7 44 25 00 00 00 00 00 43 c7 44 25 09 00 00 00 00 43 c7 44 25 RSP: 0018:ffffc9000363f520 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff920006c7eb0 RCX: f28e3a6fbfe75900 RDX: dffffc0000000000 RSI: ffffffff8c0adc40 RDI: ffffffff8c60fb20 RBP: ffffc9000363f670 R08: ffffffff942cc807 R09: 1ffffffff2859900 R10: dffffc0000000000 R11: fffffbfff2859901 R12: 1ffff920006c7eac R13: dffffc0000000000 R14: ffffc9000363f580 R15: 0000000000000246 rcu_lock_acquire include/linux/rcupdate.h:337 [inline] rcu_read_lock include/linux/rcupdate.h:849 [inline] is_bpf_text_address+0x46/0x2a0 kernel/bpf/core.c:767 kernel_text_address+0xa7/0xe0 kernel/extable.c:125 __kernel_text_address+0xd/0x40 kernel/extable.c:79 unwind_get_return_address+0x4d/0x90 arch/x86/kernel/unwind_orc.c:369 arch_stack_walk+0xfd/0x150 arch/x86/kernel/stacktrace.c:26 stack_trace_save+0x118/0x1d0 kernel/stacktrace.c:122 save_stack+0xfb/0x1f0 mm/page_owner.c:156 __reset_page_owner+0x76/0x430 mm/page_owner.c:297 reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1108 [inline] free_unref_page+0xcfb/0xf20 mm/page_alloc.c:2638 __slab_free+0x31b/0x3d0 mm/slub.c:4490 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x9a/0x140 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x14f/0x170 mm/kasan/quarantine.c:286 __kasan_slab_alloc+0x23/0x80 mm/kasan/common.c:329 kasan_slab_alloc include/linux/kasan.h:247 [inline] slab_post_alloc_hook mm/slub.c:4085 [inline] slab_alloc_node mm/slub.c:4134 [inline] kmem_cache_alloc_noprof+0x135/0x2a0 mm/slub.c:4141 alloc_empty_file+0x9e/0x1d0 fs/file_table.c:209 alloc_file fs/file_table.c:326 [inline] alloc_file_pseudo+0x1da/0x290 fs/file_table.c:357 create_pipe_files+0x33e/0x700 fs/pipe.c:938 __do_pipe_flags+0x48/0x2d0 fs/pipe.c:973 do_pipe2+0xd4/0x310 fs/pipe.c:1024 __do_sys_pipe2 fs/pipe.c:1042 [inline] __se_sys_pipe2 fs/pipe.c:1040 [inline] __x64_sys_pipe2+0x5a/0x70 fs/pipe.c:1040 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f31f9f7cd49 RSP: 002b:00007ffd86a8b078 EFLAGS: 00000246 ORIG_RAX: 0000000000000125 RAX: ffffffffffffffda RBX: 000055556510d370 RCX: 00007f31f9f7cd49 RDX: 000055503046f71c RSI: 0000000000000000 RDI: 00007ffd86a8b090 RBP: 00007ffd86a8b630 R08: 0000000000000007 R09: 000055556510cfb0 R10: 3150c4d7ad833d8a R11: 0000000000000246 R12: 000055556510cc90 R13: 000055556510ca98 R14: 00007ffd86a8b1c0 R15: 00005555651174b0 rcu: rcu_preempt kthread starved for 7315 jiffies! g63529 f0x2 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:25816 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5322 [inline] __schedule+0x1895/0x4b30 kernel/sched/core.c:6682 __schedule_loop kernel/sched/core.c:6759 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6774 schedule_timeout+0x1be/0x310 kernel/time/timer.c:2615 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2045 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2247 kthread+0x2f0/0x390 kernel/kthread.c:389 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: Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 5404 Comm: kworker/u8:13 Not tainted 6.12.0-rc2-syzkaller-00527-gc531f2269a53 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:__lock_acquire+0x1c1/0x2050 kernel/locking/lockdep.c:5111 Code: 30 01 00 00 85 d2 0f 84 28 01 00 00 48 8b 44 24 30 48 8d 98 e0 0a 00 00 83 fa 31 0f 83 50 1c 00 00 48 8d 04 92 4c 8d 6c c3 f8 <4c> 89 eb 48 c1 eb 03 0f b6 04 33 84 c0 0f 85 d5 16 00 00 48 83 bc RSP: 0018:ffffc90000a18810 EFLAGS: 00000087 RAX: 0000000000000019 RBX: ffff88807aca46e0 RCX: ffffffff9a3d3903 RDX: 0000000000000005 RSI: dffffc0000000000 RDI: 0000000000000001 RBP: ffff88807aca46d8 R08: 0000000000000001 R09: 0000000000000001 R10: dffffc0000000000 R11: fffffbfff203a10e R12: ffff88807aca3c00 R13: ffff88807aca47a0 R14: 0000000000000000 R15: ffffffff9a677828 FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f31f5dfffc0 CR3: 000000000e734000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5825 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xd5/0x120 kernel/locking/spinlock.c:162 debug_object_active_state+0x15d/0x360 lib/debugobjects.c:936 debug_rcu_head_unqueue kernel/rcu/rcu.h:233 [inline] rcu_do_batch kernel/rcu/tree.c:2559 [inline] rcu_core+0xa21/0x17a0 kernel/rcu/tree.c:2823 handle_softirqs+0x2c5/0x980 kernel/softirq.c:554 __do_softirq kernel/softirq.c:588 [inline] invoke_softirq kernel/softirq.c:428 [inline] __irq_exit_rcu+0xf4/0x1c0 kernel/softirq.c:637 irq_exit_rcu+0x9/0x30 kernel/softirq.c:649 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1037 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1037 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:csd_lock_wait kernel/smp.c:340 [inline] RIP: 0010:smp_call_function_many_cond+0x19fc/0x2ca0 kernel/smp.c:884 Code: 01 31 ff e8 56 f3 0b 00 41 83 e4 01 49 bc 00 00 00 00 00 fc ff df 75 07 e8 01 ef 0b 00 eb 38 f3 90 42 0f b6 04 23 84 c0 75 11 <41> f7 45 00 01 00 00 00 74 1e e8 e5 ee 0b 00 eb e4 44 89 e9 80 e1 RSP: 0018:ffffc9000484f6e0 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 1ffff110170c8ca1 RCX: ffff88807aca3c00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc9000484f8e0 R08: ffffffff8188f83a R09: 1ffffffff2859900 R10: dffffc0000000000 R11: fffffbfff2859901 R12: dffffc0000000000 R13: ffff8880b8646508 R14: ffff8880b873fc80 R15: 0000000000000000 on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:1051 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:2085 [inline] text_poke_bp_batch+0x352/0xb30 arch/x86/kernel/alternative.c:2295 text_poke_flush arch/x86/kernel/alternative.c:2486 [inline] text_poke_finish+0x30/0x50 arch/x86/kernel/alternative.c:2493 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x136/0x260 kernel/jump_label.c:210 static_key_enable+0x1a/0x20 kernel/jump_label.c:223 toggle_allocation_gate+0xbc/0x260 mm/kfence/core.c:849 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0xa63/0x1850 kernel/workqueue.c:3310 worker_thread+0x870/0xd30 kernel/workqueue.c:3391 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244