rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P2714/1:b..l rcu: (detected by 0, t=10502 jiffies, g=181465, q=188 ncpus=2) task:udevadm state:R running task stack:23688 pid:2714 ppid:350 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5381 [inline] __schedule+0x1873/0x48f0 kernel/sched/core.c:6710 preempt_schedule_irq+0xfb/0x1b0 kernel/sched/core.c:7022 irqentry_exit+0x57/0x80 kernel/entry/common.c:433 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:_raw_spin_lock+0x5/0x40 kernel/locking/spinlock.c:153 Code: 28 a5 f6 48 83 c4 08 eb 0f 4c 89 f7 be 01 02 00 00 e8 5f 77 8e f6 31 ed 89 e8 5b 41 5e 5d c3 66 0f 1f 44 00 00 f3 0f 1e fa 53 <48> 89 fb bf 01 00 00 00 e8 2e f9 98 f6 48 8d 7b 18 31 f6 31 d2 31 RSP: 0018:ffffc90004b2f898 EFLAGS: 00000286 RAX: 0000000000000000 RBX: 00000000ffffffff RCX: ffff888027858000 RDX: ffff888027858000 RSI: 00000000ffffffff RDI: ffff888021b5c960 RBP: 1ffff1100436b91a R08: ffffffff81fa5122 R09: 1ffffffff20f6060 R10: dffffc0000000000 R11: fffffbfff20f6061 R12: ffff888021b5c8d0 R13: dffffc0000000000 R14: ffff888021b5c960 R15: 00000000000800e0 spin_lock include/linux/spinlock.h:351 [inline] fast_dput fs/dcache.c:789 [inline] dput+0x230/0x420 fs/dcache.c:900 path_put fs/namei.c:561 [inline] terminate_walk+0x18a/0x420 fs/namei.c:683 path_openat+0x26c8/0x3180 fs/namei.c:3794 do_filp_open+0x234/0x490 fs/namei.c:3820 do_sys_openat2+0x13e/0x1d0 fs/open.c:1407 do_sys_open fs/open.c:1422 [inline] __do_sys_openat fs/open.c:1438 [inline] __se_sys_openat fs/open.c:1433 [inline] __x64_sys_openat+0x247/0x290 fs/open.c:1433 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f68796a5a46 RSP: 002b:00007fff0896ce38 EFLAGS: 00000287 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fff0896d098 RCX: 00007f68796a5a46 RDX: 0000000000080000 RSI: 00007fff0896ceb0 RDI: 00000000ffffff9c RBP: 00007fff0896cea0 R08: 0000000000080000 R09: 00007fff0896ceb0 R10: 0000000000000000 R11: 0000000000000287 R12: 00007fff0896ceb0 R13: 0000000000000009 R14: 00007fff0896d07f R15: 00000000ffffffff rcu: rcu_preempt kthread starved for 10495 jiffies! g181465 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:25288 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5381 [inline] __schedule+0x1873/0x48f0 kernel/sched/core.c:6710 schedule+0xc3/0x180 kernel/sched/core.c:6786 schedule_timeout+0x1bd/0x310 kernel/time/timer.c:2167 rcu_gp_fqs_loop+0x2c6/0x1010 kernel/rcu/tree.c:1609 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:1808 kthread+0x2b8/0x350 kernel/kthread.c:389 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 rcu: Stack dump where RCU GP kthread last ran: CPU: 0 PID: 32440 Comm: kworker/u4:10 Not tainted 6.4.0-syzkaller-12316-g4f6b6c2b2f86 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:296 [inline] RIP: 0010:smp_call_function_many_cond+0x1856/0x27d0 kernel/smp.c:835 Code: 03 84 c0 75 7e 45 8b 2c 24 44 89 ee 83 e6 01 31 ff e8 5e 17 0b 00 41 83 e5 01 4c 8b 6c 24 60 75 07 e8 9e 13 0b 00 eb 41 f3 90 <48> b8 00 00 00 00 00 fc ff df 0f b6 04 03 84 c0 75 11 41 f7 04 24 RSP: 0018:ffffc9000324f7a0 EFLAGS: 00000293 RAX: ffffffff8180ee67 RBX: 1ffff1101732857d RCX: ffff888030cf3b80 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc9000324f9a0 R08: ffffffff8180ee32 R09: 1ffffffff20f6060 R10: dffffc0000000000 R11: fffffbfff20f6061 R12: ffff8880b9942be8 R13: ffff8880b983d0c8 R14: ffff8880b983d0c0 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f09b9cfee00 CR3: 000000000d130000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:1003 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:1938 [inline] text_poke_bp_batch+0x2d7/0x960 arch/x86/kernel/alternative.c:2148 text_poke_flush arch/x86/kernel/alternative.c:2339 [inline] text_poke_finish+0x1a/0x30 arch/x86/kernel/alternative.c:2346 arch_jump_label_transform_apply+0x17/0x30 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x132/0x250 kernel/jump_label.c:205 static_key_enable+0x1a/0x20 kernel/jump_label.c:218 toggle_allocation_gate+0xb5/0x250 mm/kfence/core.c:831 process_one_work+0x92c/0x12c0 kernel/workqueue.c:2597 worker_thread+0xa63/0x1210 kernel/workqueue.c:2748 kthread+0x2b8/0x350 kernel/kthread.c:389 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308