rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P16146/1:b..l P3001/1:b..l (detected by 0, t=10502 jiffies, g=106045, q=85 ncpus=2) task:udevd state:R running task stack:22600 pid:3001 ppid:1 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5245 [inline] __schedule+0x142d/0x4550 kernel/sched/core.c:6558 preempt_schedule_common+0x83/0xd0 kernel/sched/core.c:6727 preempt_schedule+0xd9/0xe0 kernel/sched/core.c:6751 preempt_schedule_thunk+0x16/0x18 arch/x86/entry/thunk_64.S:34 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] _raw_spin_unlock_irqrestore+0x128/0x130 kernel/locking/spinlock.c:194 spin_unlock_irqrestore include/linux/spinlock.h:405 [inline] __wake_up_common_lock kernel/sched/wait.c:140 [inline] __wake_up_sync_key+0x121/0x1c0 kernel/sched/wait.c:208 sock_def_readable+0x15b/0x280 net/core/sock.c:3295 __netlink_sendskb net/netlink/af_netlink.c:1273 [inline] netlink_sendskb+0x8e/0x120 net/netlink/af_netlink.c:1279 netlink_unicast+0x394/0x970 net/netlink/af_netlink.c:1367 netlink_sendmsg+0xa26/0xd60 net/netlink/af_netlink.c:1874 sock_sendmsg_nosec net/socket.c:716 [inline] __sock_sendmsg net/socket.c:728 [inline] ____sys_sendmsg+0x59e/0x8f0 net/socket.c:2499 ___sys_sendmsg net/socket.c:2553 [inline] __sys_sendmsg+0x2a9/0x390 net/socket.c:2582 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:0x7f9856924a4b RSP: 002b:00007ffd8653a288 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 0000559f50ea5df0 RCX: 00007f9856924a4b RDX: 0000000000000000 RSI: 00007ffd8653a298 RDI: 0000000000000004 RBP: 0000559f50ed1f70 R08: 0000000000000001 R09: 0000000000000000 R10: 000000000000010f R11: 0000000000000246 R12: 0000000000000000 R13: 00000000000000b5 R14: 0000000000000000 R15: 0000000000000000 task:kworker/u4:21 state:R running task stack:22816 pid:16146 ppid:2 flags:0x00004000 Workqueue: netns cleanup_net 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:433 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:lock_acquire+0x26f/0x5a0 kernel/locking/lockdep.c:5666 Code: 2b 00 74 08 4c 89 f7 e8 af a2 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:ffffc900034ff900 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff9200069ff2c RCX: 1ffff9200069fecc RDX: dffffc0000000000 RSI: ffffffff8aebf620 RDI: ffffffff8b3cf3c0 RBP: ffffc900034ffa48 R08: dffffc0000000000 R09: fffffbfff2091c45 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff9200069ff28 R13: dffffc0000000000 R14: ffffc900034ff960 R15: 0000000000000246 rcu_lock_acquire include/linux/rcupdate.h:306 [inline] rcu_read_lock include/linux/rcupdate.h:747 [inline] inet_twsk_purge+0x164/0xb60 net/ipv4/inet_timewait_sock.c:295 ops_exit_list net/core/net_namespace.c:174 [inline] cleanup_net+0x763/0xb60 net/core/net_namespace.c:601 process_one_work+0x8a9/0x11d0 kernel/workqueue.c:2292 worker_thread+0xa47/0x1200 kernel/workqueue.c:2439 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 rcu: rcu_preempt kthread starved for 10556 jiffies! g106045 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:26680 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:1935 rcu_gp_fqs_loop+0x2d2/0x1120 kernel/rcu/tree.c:1674 rcu_gp_kthread+0xa3/0x3a0 kernel/rcu/tree.c:1873 kthread+0x28d/0x320 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: 21216 Comm: syz-executor.4 Not tainted 6.1.65-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:160 [inline] RIP: 0010:_raw_spin_unlock_irq+0x25/0x40 kernel/locking/spinlock.c:202 Code: 41 b8 f5 ff 90 53 48 89 fb 48 83 c7 18 48 8b 74 24 08 e8 fe 80 d6 f6 48 89 df e8 66 be d7 f6 e8 a1 66 fd f6 fb bf 01 00 00 00 46 4d ca f6 65 8b 05 f7 7e 6e 75 85 c0 74 02 5b c3 e8 34 9d 6c RSP: 0018:ffffc9000710fb30 EFLAGS: 00000286 RAX: 4db5b6b0cc700f00 RBX: ffff888085a65340 RCX: ffffffff91c86103 RDX: dffffc0000000000 RSI: ffffffff8aebe4a0 RDI: 0000000000000001 RBP: ffffc9000710fc70 R08: dffffc0000000000 R09: ffffed1010b4ca69 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff11010b4cafb R13: 000000001c000004 R14: 0000000000000021 R15: ffff888085a657d8 FS: 00005555565d5480(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b33221000 CR3: 0000000022487000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: spin_unlock_irq include/linux/spinlock.h:400 [inline] get_signal+0x154b/0x17d0 kernel/signal.c:2865 arch_do_signal_or_restart+0xb0/0x1a10 arch/x86/kernel/signal.c:871 exit_to_user_mode_loop+0x6a/0x100 kernel/entry/common.c:168 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline] syscall_exit_to_user_mode+0x60/0x270 kernel/entry/common.c:297 do_syscall_64+0x49/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f36128a7ef5 Code: 24 0c 89 3c 24 48 89 4c 24 18 e8 f6 b9 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 4f ba ff ff 48 8b 04 24 48 83 c4 28 f7 d8 RSP: 002b:00007ffdeffde480 EFLAGS: 00000293 RAX: fffffffffffffffc RBX: 00007f361299bf80 RCX: 00007f36128a7ef5 RDX: 00007ffdeffde4c0 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007f361299d980 R08: 0000000000000000 R09: 0000000000000010 R10: 0000000000000000 R11: 0000000000000293 R12: 00000000000d8a63 R13: ffffffffffffffff R14: 00007f3612400000 R15: 00000000000d8722 sched: RT throttling activated