rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P2966/1:b..l (detected by 1, t=10502 jiffies, g=6989, q=407) task:udevd state:R running task stack:25280 pid: 2966 ppid: 1 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5027 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6373 preempt_schedule_common+0x83/0xd0 kernel/sched/core.c:6549 preempt_schedule+0xd9/0xe0 kernel/sched/core.c:6574 preempt_schedule_thunk+0x16/0x18 arch/x86/entry/thunk_64.S:34 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:161 [inline] _raw_spin_unlock_irqrestore+0x128/0x130 kernel/locking/spinlock.c:194 spin_unlock_irqrestore include/linux/spinlock.h:418 [inline] __wake_up_common_lock kernel/sched/wait.c:140 [inline] __wake_up_sync_key+0x121/0x1c0 kernel/sched/wait.c:205 sock_def_readable+0x135/0x240 net/core/sock.c:3092 __netlink_sendskb net/netlink/af_netlink.c:1273 [inline] netlink_sendskb+0x8e/0x120 net/netlink/af_netlink.c:1279 netlink_unicast+0x3a1/0x980 net/netlink/af_netlink.c:1367 netlink_sendmsg+0xa30/0xd60 net/netlink/af_netlink.c:1920 sock_sendmsg_nosec net/socket.c:704 [inline] __sock_sendmsg net/socket.c:716 [inline] ____sys_sendmsg+0x59e/0x8f0 net/socket.c:2436 ___sys_sendmsg+0x252/0x2e0 net/socket.c:2490 __sys_sendmsg net/socket.c:2519 [inline] __do_sys_sendmsg net/socket.c:2528 [inline] __se_sys_sendmsg+0x19a/0x260 net/socket.c:2526 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:0x7f81c6b3da4b RSP: 002b:00007fffaea68458 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00005583ce2d0df0 RCX: 00007f81c6b3da4b RDX: 0000000000000000 RSI: 00007fffaea68468 RDI: 0000000000000004 RBP: 00005583ce2f1fb0 R08: 0000000000000001 R09: 0000000000000000 R10: 000000000000010f R11: 0000000000000246 R12: 0000000000000000 R13: 00000000000000b1 R14: 0000000000000000 R15: 0000000000000000 rcu: rcu_preempt kthread starved for 10534 jiffies! g6989 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: 15 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5027 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6373 schedule+0x11b/0x1f0 kernel/sched/core.c:6456 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: 4044 Comm: syz-executor.0 Not tainted 5.15.169-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:hlock_class kernel/locking/lockdep.c:197 [inline] RIP: 0010:__lock_acquire+0x1211/0x1ff0 kernel/locking/lockdep.c:5009 Code: 00 00 41 8b 1f 81 e3 ff 1f 00 00 89 d8 c1 e8 06 48 8d 3c c5 00 21 c1 8f be 08 00 00 00 e8 57 6a 67 00 48 0f a3 1d ff 4b 5e 0e <73> 1b 48 8d 04 5b 48 c1 e0 06 48 8d 98 c0 3f 8f 8f 48 ba 00 00 00 RSP: 0018:ffffc900011efaa0 EFLAGS: 00000057 RAX: 0000000000000001 RBX: 00000000000000a2 RCX: ffffffff8162d4f9 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8fc12110 RBP: 1e40456c94acc51e R08: dffffc0000000000 R09: fffffbfff1f82423 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000 R13: ffff88801b7c28a8 R14: ffff88801b7c1dc0 R15: ffff88801b7c28d0 FS: 00007fe525fea6c0(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe525fe9d80 CR3: 0000000077e4c000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x1db/0x4f0 kernel/locking/lockdep.c:5623 __raw_spin_lock_irq include/linux/spinlock_api_smp.h:128 [inline] _raw_spin_lock_irq+0xcf/0x110 kernel/locking/spinlock.c:170 spin_lock_irq include/linux/spinlock.h:388 [inline] __set_current_blocked+0x11b/0x2f0 kernel/signal.c:3086 __do_sys_rt_sigreturn+0x181/0x250 arch/x86/kernel/signal.c:672 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:0x7fe526c2d2d9 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:00007fe525fe9bc0 EFLAGS: 00000202 ORIG_RAX: 000000000000000f RAX: ffffffffffffffda RBX: 00007fe526d97f88 RCX: 00007fe526c2d2d9 RDX: 00007fe525fe9bc0 RSI: 00007fe525fe9cf0 RDI: 0000000000000021 RBP: 00007fe526d97f80 R08: 00007fe525fea6c0 R09: 00007fe525fea6c0 R10: 0000000000000000 R11: 0000000000000202 R12: 00007fe526d97f8c R13: 000000000000000b R14: 00007ffe799cbff0 R15: 00007ffe799cc0d8