rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P3002/1:b..l (detected by 1, t=10503 jiffies, g=6257, q=109 ncpus=2) task:udevd state:R running task stack:24744 pid:3002 ppid:1 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5245 [inline] __schedule+0x142d/0x4550 kernel/sched/core.c:6558 preempt_schedule_irq+0xf7/0x1c0 kernel/sched/core.c:6870 irqentry_exit+0x53/0x80 kernel/entry/common.c:439 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:653 RIP: 0010:lock_acquire+0x26f/0x5a0 kernel/locking/lockdep.c:5666 Code: 2b 00 74 08 4c 89 f7 e8 7f a9 77 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:ffffc9000319f640 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff92000633ed4 RCX: 1ffff92000633e74 RDX: dffffc0000000000 RSI: ffffffff8aec1340 RDI: ffffffff8b3d45e0 RBP: ffffc9000319f788 R08: dffffc0000000000 R09: fffffbfff2093845 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92000633ed0 R13: dffffc0000000000 R14: ffffc9000319f6a0 R15: 0000000000000246 rcu_lock_acquire include/linux/rcupdate.h:350 [inline] rcu_read_lock include/linux/rcupdate.h:791 [inline] dput+0x54/0x1d0 fs/dcache.c:900 step_into+0x351/0x1070 fs/namei.c:1851 open_last_lookups fs/namei.c:3575 [inline] path_openat+0x1764/0x2e60 fs/namei.c:3782 do_filp_open+0x230/0x480 fs/namei.c:3812 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:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f48ac51a477 RSP: 002b:00007ffd6fd836f8 EFLAGS: 00000287 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 000055d85dfcf2c0 RCX: 00007f48ac51a477 RDX: 0000000000090800 RSI: 000055d85dfeb2e0 RDI: 00000000ffffff9c RBP: 000055d85e00fab0 R08: 0000000000090800 R09: 000055d85dfeb2e0 R10: 0000000000000000 R11: 0000000000000287 R12: 000055d85dfeb2e0 R13: 00000000000000ff R14: 000055d85d00a1c4 R15: 0000000000000000 rcu: rcu_preempt kthread starved for 10534 jiffies! g6257 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:26112 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5245 [inline] __schedule+0x142d/0x4550 kernel/sched/core.c:6558 schedule+0xbf/0x180 kernel/sched/core.c:6634 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1965 rcu_gp_fqs_loop+0x2d2/0x1150 kernel/rcu/tree.c:1706 rcu_gp_kthread+0xa3/0x3b0 kernel/rcu/tree.c:1905 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 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: 3674 Comm: syz-executor.2 Not tainted 6.1.92-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:35 [inline] RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:70 [inline] RIP: 0010:lockdep_hardirqs_on_prepare+0x10c/0x7a0 kernel/locking/lockdep.c:4296 Code: 48 c1 eb 03 80 3c 13 00 74 12 4c 89 f7 e8 cc e3 77 00 48 ba 00 00 00 00 00 fc ff df 48 c7 44 24 40 00 00 00 00 9c 8f 44 24 40 <80> 3c 13 00 74 12 4c 89 f7 e8 26 e3 77 00 48 ba 00 00 00 00 00 fc RSP: 0018:ffffc90004a57e20 EFLAGS: 00000046 RAX: 0000000000000004 RBX: 1ffff9200094afcc RCX: ffffffff91c94103 RDX: dffffc0000000000 RSI: 0000000000000000 RDI: ffffffff8a8b0e8e RBP: ffffc90004a57ee0 R08: dffffc0000000000 R09: fffffbfff1ce712e R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: 000000000000000f R14: ffffc90004a57e60 R15: 1ffff9200094afc8 FS: 00007f1cfe4c96c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fae59f6cf00 CR3: 0000000019783000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: trace_hardirqs_on+0x34/0x40 kernel/trace/trace_preemptirq.c:49 syscall_enter_from_user_mode+0x2e/0x230 kernel/entry/common.c:117 do_syscall_64+0x1e/0xb0 arch/x86/entry/common.c:77 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f1cfd6402e9 Code: 64 c7 00 16 00 00 00 b8 ff ff ff ff c3 0f 1f 40 00 90 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 c7 c0 0f 00 00 00 0f 05 <0f> 1f 80 00 00 00 00 48 81 ec 48 01 00 00 49 89 d0 64 48 8b 04 25 RSP: 002b:00007f1cfe4c8bc0 EFLAGS: 00000202 ORIG_RAX: 000000000000000f RAX: ffffffffffffffda RBX: 00007f1cfd7b3f88 RCX: 00007f1cfd6402e9 RDX: 00007f1cfe4c8bc0 RSI: 00007f1cfe4c8cf0 RDI: 0000000000000021 RBP: 00007f1cfd7b3f80 R08: 00007f1cfe4c96c0 R09: 00007f1cfe4c96c0 R10: 0000000000000000 R11: 0000000000000202 R12: 00007f1cfd7b3f8c R13: 000000000000000b R14: 00007fffc1bfa7f0 R15: 00007fffc1bfa8d8