rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P4977/1:b..l rcu: (detected by 0, t=10502 jiffies, g=101225, q=265 ncpus=2) task:udevd state:R running task stack:22440 pid:4977 tgid:4977 ppid:1 task_flags:0x400140 flags:0x00080001 Call Trace: context_switch kernel/sched/core.c:5510 [inline] __schedule+0x17d9/0x56c0 kernel/sched/core.c:7234 preempt_schedule_irq+0x4d/0xa0 kernel/sched/core.c:7556 irqentry_exit_to_kernel_mode include/linux/irq-entry-common.h:539 [inline] irqentry_exit+0x14f/0x8f0 kernel/entry/common.c:167 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674 RIP: 0010:lockdep_enabled kernel/locking/lockdep.c:118 [inline] RIP: 0010:lock_acquire+0x8b/0x350 kernel/locking/lockdep.c:5844 Code: 0f 84 ca 01 00 00 83 3d a2 e8 b4 0e 00 0f 84 d3 00 00 00 48 8b b4 24 90 00 00 00 4c 89 ef e8 5c bc 91 00 83 3d 85 e8 b4 0e 00 <0f> 84 ce 00 00 00 65 8b 05 28 ce ca 11 85 c0 0f 85 bf 00 00 00 65 RSP: 0018:ffffc90002f670c8 EFLAGS: 00000202 RAX: 0000000000000001 RBX: 0000000000000000 RCX: 0000000080000001 RDX: 0000000000000000 RSI: ffffffff8177829c RDI: 1ffffffff1d6b38c RBP: ffffffff8177827f R08: 0000000000000000 R09: 0000000000000000 R10: ffffc90002f67268 R11: fffff520005ece59 R12: 0000000000000002 R13: ffffffff8eb59c60 R14: 0000000000000000 R15: 0000000000000000 rcu_lock_acquire include/linux/rcupdate.h:300 [inline] rcu_read_lock include/linux/rcupdate.h:840 [inline] class_rcu_constructor include/linux/rcupdate.h:1183 [inline] unwind_next_frame+0xac/0x2550 arch/x86/kernel/unwind_orc.c:495 __unwind_start+0x514/0x660 arch/x86/kernel/unwind_orc.c:787 unwind_start arch/x86/include/asm/unwind.h:64 [inline] arch_stack_walk+0xe3/0x150 arch/x86/kernel/stacktrace.c:24 stack_trace_save+0xa9/0x100 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:57 [inline] kasan_save_track+0x3e/0x80 mm/kasan/common.c:78 poison_kmalloc_redzone mm/kasan/common.c:398 [inline] __kasan_kmalloc+0x93/0xb0 mm/kasan/common.c:415 kasan_kmalloc include/linux/kasan.h:263 [inline] __do_kmalloc_node mm/slub.c:5334 [inline] __kmalloc_noprof+0x375/0x720 mm/slub.c:5359 _kmalloc_noprof include/linux/slab.h:992 [inline] tomoyo_realpath_from_path+0xef/0x640 security/tomoyo/realpath.c:251 tomoyo_get_realpath security/tomoyo/file.c:151 [inline] tomoyo_check_open_permission+0x229/0x470 security/tomoyo/file.c:776 security_file_open+0xa9/0x240 security/security.c:2739 do_dentry_open+0x4a0/0x1380 fs/open.c:924 vfs_open+0x3b/0x340 fs/open.c:1052 do_open fs/namei.c:4700 [inline] path_openat+0x2e44/0x3830 fs/namei.c:4863 do_file_open+0x23e/0x4a0 fs/namei.c:4892 do_sys_openat2+0x115/0x200 fs/open.c:1368 do_sys_open fs/open.c:1374 [inline] __do_sys_openat fs/open.c:1390 [inline] __se_sys_openat fs/open.c:1385 [inline] __x64_sys_openat+0x138/0x170 fs/open.c:1385 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7ff404b15c3a RSP: 002b:00007ffccfa6ca68 EFLAGS: 00000206 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000562ea160be60 RCX: 00007ff404b15c3a RDX: 0000000000090800 RSI: 0000562ea15e3430 RDI: 00000000ffffff9c RBP: 0000562ea15e3430 R08: 0000000000000000 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000206 R12: 0000562ea15eb7b0 R13: 00000000000000ff R14: 0000562e6e5babe0 R15: 00007ffccfa6ccf0 rcu: rcu_preempt kthread starved for 10502 jiffies! g101225 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:27656 pid:16 tgid:16 ppid:2 task_flags:0x208040 flags:0x00080000 Call Trace: context_switch kernel/sched/core.c:5510 [inline] __schedule+0x17d9/0x56c0 kernel/sched/core.c:7234 __schedule_loop kernel/sched/core.c:7311 [inline] schedule+0x164/0x2b0 kernel/sched/core.c:7326 schedule_timeout+0x152/0x2c0 kernel/time/sleep_timeout.c:99 rcu_gp_fqs_loop+0x30c/0x11f0 kernel/rcu/tree.c:2123 rcu_gp_kthread+0x9e/0x2b0 kernel/rcu/tree.c:2325 kthread+0x388/0x470 kernel/kthread.c:436 ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 rcu: Stack dump where RCU GP kthread last ran: CPU: 0 UID: 0 PID: 9340 Comm: kworker/u8:33 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:342 [inline] RIP: 0010:smp_call_function_many_cond+0x11e6/0x15f0 kernel/smp.c:912 Code: c0 75 7a 41 8b 1e 89 de 83 e6 01 31 ff e8 e2 1e 0c 00 83 e3 01 48 bb 00 00 00 00 00 fc ff df 75 07 e8 8e 1a 0c 00 eb 37 f3 90 <41> 0f b6 04 1c 84 c0 75 10 41 f7 06 01 00 00 00 74 1e e8 73 1a 0c RSP: 0018:ffffc9000deff700 EFLAGS: 00000293 RAX: ffffffff81bae6ed RBX: dffffc0000000000 RCX: ffff88803318dd00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc9000deff860 R08: ffffffff90576c37 R09: 1ffffffff20aed86 R10: dffffc0000000000 R11: fffffbfff20aed87 R12: 1ffff110170e8211 R13: ffff8880b863c648 R14: ffff8880b8741088 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff888124f4c000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c28d10c CR3: 000000000e946000 CR4: 00000000003526f0 Call Trace: on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:1077 on_each_cpu include/linux/smp.h:72 [inline] smp_text_poke_sync_each_cpu arch/x86/kernel/alternative.c:2773 [inline] smp_text_poke_batch_finish+0x5fd/0x1110 arch/x86/kernel/alternative.c:2983 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x128/0x240 kernel/jump_label.c:210 static_key_enable+0x1a/0x20 kernel/jump_label.c:223 toggle_allocation_gate+0xab/0x290 mm/kfence/core.c:911 process_one_work kernel/workqueue.c:3322 [inline] process_scheduled_works+0xa8e/0x14e0 kernel/workqueue.c:3405 worker_thread+0xa47/0xfb0 kernel/workqueue.c:3486 kthread+0x388/0x470 kernel/kthread.c:436 ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245