rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P2968/2:b..l (detected by 0, t=10502 jiffies, g=27889, q=83 ncpus=2) task:udevd state:R running task stack:24520 pid:2968 ppid:1 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5241 [inline] __schedule+0x132c/0x4330 kernel/sched/core.c:6554 preempt_schedule_irq+0xf7/0x1c0 kernel/sched/core.c:6866 irqentry_exit+0x53/0x80 kernel/entry/common.c:433 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:seqcount_lockdep_reader_access+0x1d2/0x220 include/linux/seqlock.h:105 Code: 5e e8 c2 f8 8b ff 4d 85 f6 48 bb 00 00 00 00 00 fc ff df 75 07 e8 ae f8 8b ff eb 06 e8 a7 f8 8b ff fb 48 c7 04 24 0e 36 e0 45 <4a> c7 04 23 00 00 00 00 66 42 c7 44 23 09 00 00 42 c6 44 23 0b 00 RSP: 0018:ffffc9000314f3a0 EFLAGS: 00000293 RAX: ffffffff81fe0669 RBX: dffffc0000000000 RCX: ffff88807c481dc0 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc9000314f458 R08: ffffffff81fe0644 R09: fffffbfff209345a R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92000629e74 R13: ffffc9000314f3c0 R14: 0000000000000200 R15: 0000000000000046 read_seqbegin include/linux/seqlock.h:836 [inline] read_seqbegin_or_lock include/linux/seqlock.h:1140 [inline] prepend_path+0x28e/0xb70 fs/d_path.c:170 d_absolute_path+0x175/0x300 fs/d_path.c:233 tomoyo_get_absolute_path security/tomoyo/realpath.c:101 [inline] tomoyo_realpath_from_path+0x2aa/0x5d0 security/tomoyo/realpath.c:271 tomoyo_get_realpath security/tomoyo/file.c:151 [inline] tomoyo_path_perm+0x273/0x6b0 security/tomoyo/file.c:822 security_path_truncate+0xcf/0x120 security/security.c:1212 handle_truncate fs/namei.c:3214 [inline] do_open fs/namei.c:3561 [inline] path_openat+0x277f/0x2e60 fs/namei.c:3714 do_filp_open+0x230/0x480 fs/namei.c:3741 do_sys_openat2+0x13b/0x500 fs/open.c:1318 do_sys_open fs/open.c:1334 [inline] __do_sys_openat fs/open.c:1350 [inline] __se_sys_openat fs/open.c:1345 [inline] __x64_sys_openat+0x243/0x290 fs/open.c:1345 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f4d3e5169a4 RSP: 002b:00007ffe5c300940 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007f4d3e5169a4 RDX: 0000000000080241 RSI: 00007ffe5c300d78 RDI: 00000000ffffff9c RBP: 00007ffe5c300d78 R08: 0000000000000004 R09: 0000000000000001 R10: 00000000000001b6 R11: 0000000000000246 R12: 0000000000080241 R13: 000055d3bf94172e R14: 0000000000000001 R15: 0000000000000000 rcu: rcu_preempt kthread starved for 10396 jiffies! g27889 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:27064 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5241 [inline] __schedule+0x132c/0x4330 kernel/sched/core.c:6554 schedule+0xbf/0x180 kernel/sched/core.c:6630 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1935 rcu_gp_fqs_loop+0x2c2/0x1010 kernel/rcu/tree.c:1661 rcu_gp_kthread+0xa3/0x3a0 kernel/rcu/tree.c:1860 kthread+0x26e/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 rcu: Stack dump where RCU GP kthread last ran: CPU: 0 PID: 7008 Comm: syz-executor.2 Not tainted 6.1.47-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 RIP: 0010:lock_acquire+0x1/0x5a0 kernel/locking/lockdep.c:5637 Code: fd ff ff 48 c7 c7 68 b8 73 8e e8 ca a7 76 00 e9 a2 fd ff ff 0f 1f 44 00 00 65 8b 05 e1 82 98 7e a9 00 ff ff 00 0f 95 c0 c3 55 <48> 89 e5 41 57 41 56 41 55 41 54 53 48 83 e4 e0 48 81 ec 20 01 00 RSP: 0018:ffffc9000330fd80 EFLAGS: 00000246 RAX: ffffffff81a1d84a RBX: ffffc90002ffe048 RCX: 0000000000000002 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff8d129f20 RBP: ffffc9000330fdd0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc9000330fe20 R13: ffffc90002ffe030 R14: 0000000000b20000 R15: 1ffff920005ffc05 FS: 00007f02468716c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f024682ef80 CR3: 000000007c5e6000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_lock_acquire+0x2a/0x30 include/linux/rcupdate.h:306 rcu_read_lock include/linux/rcupdate.h:747 [inline] ____bpf_get_current_ancestor_cgroup_id kernel/bpf/helpers.c:416 [inline] bpf_get_current_ancestor_cgroup_id+0x1a/0x3b0 kernel/bpf/helpers.c:410 bpf_prog_2ebb745ad7623958+0x15/0x17 bpf_dispatcher_nop_func include/linux/bpf.h:974 [inline] __bpf_prog_run include/linux/filter.h:600 [inline] bpf_prog_run include/linux/filter.h:607 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:2275 [inline] bpf_trace_run2+0x1d6/0x3e0 kernel/trace/bpf_trace.c:2314 __bpf_trace_sys_enter+0x60/0x70 include/trace/events/syscalls.h:18 __traceiter_sys_enter+0x26/0x40 include/trace/events/syscalls.h:18 trace_sys_enter include/trace/events/syscalls.h:18 [inline] syscall_trace_enter kernel/entry/common.c:81 [inline] __syscall_enter_from_user_work kernel/entry/common.c:94 [inline] syscall_enter_from_user_mode+0x201/0x220 kernel/entry/common.c:112 do_syscall_64+0x1e/0xb0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f0245a7a267 Code: 0b e9 68 fe ff ff 48 83 c4 18 48 8d 3d f2 05 c5 00 5b 5d 41 5c 41 5d 41 5e 41 5f e9 c3 68 fd ff 0f 1f 00 b8 27 00 00 00 0f 05 0f 1f 84 00 00 00 00 00 b8 66 00 00 00 0f 05 c3 0f 1f 84 00 00 RSP: 002b:00007f0246870b88 EFLAGS: 00000206 ORIG_RAX: 0000000000000027 RAX: ffffffffffffffda RBX: 00007f0246870cf0 RCX: 00007f0245a7a267 RDX: 00007f0246870bc0 RSI: 00007f0246870cf0 RDI: 0000000000000021 RBP: 0000000000000000 R08: 00007f02468716c0 R09: 00007f02468716c0 R10: 0000000000000000 R11: 0000000000000206 R12: 00007f0245b9c05c R13: 000000000000006e R14: 00007ffe9afc4aa0 R15: 00007ffe9afc4b88