rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P5475/1:b..l (detected by 1, t=10502 jiffies, g=20917, q=148) task:udevadm state:R running task stack:26328 pid: 5475 ppid: 3497 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6376 preempt_schedule_irq+0xf7/0x1c0 kernel/sched/core.c:6780 irqentry_exit+0x53/0x80 kernel/entry/common.c:432 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:lock_acquire+0x252/0x4f0 kernel/locking/lockdep.c:5627 Code: 2b 00 74 08 4c 89 f7 e8 5c 82 67 00 f6 44 24 61 02 0f 85 84 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:ffffc90003f87640 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff920007f0ed4 RCX: 1ffff920007f0e74 RDX: dffffc0000000000 RSI: ffffffff8a8b3ca0 RDI: ffffffff8ad8f700 RBP: ffffc90003f87788 R08: dffffc0000000000 R09: fffffbfff1f7f419 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff920007f0ed0 R13: dffffc0000000000 R14: ffffc90003f876a0 R15: 0000000000000246 rcu_lock_acquire+0x2a/0x30 include/linux/rcupdate.h:312 rcu_read_lock include/linux/rcupdate.h:739 [inline] dput+0x35/0x1a0 fs/dcache.c:879 step_into+0x352/0xe90 fs/namei.c:1815 walk_component+0x359/0x610 fs/namei.c:1982 link_path_walk+0x642/0xd90 path_lookupat+0xa9/0x450 fs/namei.c:2454 filename_lookup+0x230/0x5c0 fs/namei.c:2484 user_path_at_empty+0x40/0x180 fs/namei.c:2883 do_readlinkat+0x114/0x3a0 fs/stat.c:442 __do_sys_readlink fs/stat.c:475 [inline] __se_sys_readlink fs/stat.c:472 [inline] __x64_sys_readlink+0x7b/0x90 fs/stat.c:472 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f0f4a808d47 RSP: 002b:00007ffd1c406368 EFLAGS: 00000206 ORIG_RAX: 0000000000000059 RAX: ffffffffffffffda RBX: 000055706aa9f140 RCX: 00007f0f4a808d47 RDX: 0000000000000400 RSI: 00007ffd1c406778 RDI: 00007ffd1c406378 RBP: 00007ffd1c406bb8 R08: 000055706a2ed7b7 R09: 0000000000000000 R10: 0000000000000010 R11: 0000000000000206 R12: 0000000000000200 R13: 00007ffd1c406778 R14: 00007ffd1c406378 R15: 000055706aa8dda0 rcu: rcu_preempt kthread starved for 10534 jiffies! g20917 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:26240 pid: 15 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6376 schedule+0x11b/0x1f0 kernel/sched/core.c:6459 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1914 rcu_gp_fqs_loop+0x2bf/0x1080 kernel/rcu/tree.c:1972 rcu_gp_kthread+0xa4/0x360 kernel/rcu/tree.c:2145 kthread+0x3f6/0x4f0 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 rcu: Stack dump where RCU GP kthread last ran: Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 5473 Comm: syz.1.397 Not tainted 5.15.163-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 RIP: 0010:lockdep_hardirqs_on_prepare+0x199/0x7a0 kernel/locking/lockdep.c:4275 Code: 9a 03 00 00 65 8b 05 8a 00 a0 7e 85 c0 0f 85 f4 03 00 00 65 48 8b 05 06 fa 9f 7e 48 89 44 24 10 48 8d b8 e0 0a 00 00 48 89 f8 <48> c1 e8 03 80 3c 10 00 74 0f e8 c8 ba 67 00 48 ba 00 00 00 00 00 RSP: 0018:ffffc900043f7e00 EFLAGS: 00000046 RAX: ffff88801ff00ae0 RBX: 1ffff9200087efc8 RCX: ffffffff913f1f03 RDX: dffffc0000000000 RSI: 0000000000000000 RDI: ffff88801ff00ae0 RBP: ffffc900043f7ea8 R08: ffffffff8186de90 R09: ffffffff81510005 R10: 0000000000000003 R11: ffff88801ff00000 R12: 0000000000000000 R13: 0000000000000000 R14: ffffc900043f7e40 R15: 1ffff9200087efc4 FS: 0000555555acf500(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f232ac19f40 CR3: 000000005d3e2000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: trace_hardirqs_on+0x67/0x80 kernel/trace/trace_preemptirq.c:49 local_irq_enable_exit_to_user include/linux/entry-common.h:196 [inline] exit_to_user_mode_loop+0x39/0x130 kernel/entry/common.c:166 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:214 __syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline] syscall_exit_to_user_mode+0x5d/0x240 kernel/entry/common.c:307 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fa63cbbff05 Code: 24 0c 89 3c 24 48 89 4c 24 18 e8 c6 57 ff ff 4c 8b 54 24 18 48 8b 54 24 10 41 89 c0 8b 74 24 0c 8b 3c 24 b8 e6 00 00 00 0f 05 <44> 89 c7 48 89 04 24 e8 1f 58 ff ff 48 8b 04 24 48 83 c4 28 f7 d8 RSP: 002b:00007ffc27c83d10 EFLAGS: 00000293 RAX: fffffffffffffffc RBX: 00007fa63cd1df60 RCX: 00007fa63cbbff05 RDX: 00007ffc27c83d50 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007fa63cd1fa60 R08: 0000000000000000 R09: 0000000000000010 R10: 0000000000000000 R11: 0000000000000293 R12: 000000000002aa3f R13: 0000000000000032 R14: 00007fa63cd1fa60 R15: 00007fa63cd1e038