rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P11/1:b..l (detected by 1, t=10502 jiffies, g=8513, q=6 ncpus=2) task:kworker/u4:1 state:R running task stack:22200 pid:11 ppid:2 flags:0x00004000 Workqueue: netns cleanup_net Call Trace: context_switch kernel/sched/core.c:5241 [inline] __schedule+0x143f/0x4570 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 8f a6 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:ffffc90000107860 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff92000020f18 RCX: 1ffff92000020eb8 RDX: dffffc0000000000 RSI: ffffffff8b0c13e0 RDI: ffffffff8b5d5ec0 RBP: ffffc900001079a8 R08: dffffc0000000000 R09: fffffbfff20e7445 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92000020f14 R13: dffffc0000000000 R14: ffffc900001078c0 R15: 0000000000000246 rcu_lock_acquire include/linux/rcupdate.h:350 [inline] rcu_read_lock include/linux/rcupdate.h:791 [inline] inet_twsk_purge+0x150/0xa40 net/ipv4/inet_timewait_sock.c:295 tcp_twsk_purge+0xd6/0x140 net/ipv4/tcp_minisocks.c:360 tcp_sk_exit_batch+0x29/0x120 net/ipv4/tcp_ipv4.c:3245 ops_exit_list net/core/net_namespace.c:177 [inline] cleanup_net+0x763/0xb60 net/core/net_namespace.c:604 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:295 rcu: rcu_preempt kthread starved for 10525 jiffies! g8513 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=1 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:27160 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5241 [inline] __schedule+0x143f/0x4570 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:295 rcu: Stack dump where RCU GP kthread last ran: CPU: 1 PID: 4012 Comm: syz.1.88 Not tainted 6.1.105-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 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: d1 9d f5 ff 90 53 48 89 fb 48 83 c7 18 48 8b 74 24 08 e8 0e eb ba f6 48 89 df e8 76 28 bc f6 e8 41 b5 e1 f6 fb bf 01 00 00 00 f6 b8 ae f6 65 8b 05 97 c1 52 75 85 c0 74 02 5b c3 e8 44 e5 50 RSP: 0018:ffffc90004fe7b30 EFLAGS: 00000286 RAX: ac36b45349870500 RBX: ffff88801f20ca00 RCX: ffffffff91f32103 RDX: dffffc0000000000 RSI: ffffffff8b0c0260 RDI: 0000000000000001 RBP: ffffc90004fe7c70 R08: dffffc0000000000 R09: ffffed1003e41941 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff11003e419d3 R13: 000000001c000004 R14: 0000000000000021 R15: ffff88801f20ce98 FS: 0000555556f02500(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2ee1eff8 CR3: 0000000055ac4000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: spin_unlock_irq include/linux/spinlock.h:401 [inline] get_signal+0x154b/0x17d0 kernel/signal.c:2873 arch_do_signal_or_restart+0xb0/0x1a10 arch/x86/kernel/signal.c:871 exit_to_user_mode_loop+0x6a/0x100 kernel/entry/common.c:174 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:210 __syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline] syscall_exit_to_user_mode+0x60/0x270 kernel/entry/common.c:303 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:87 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f65d2fab9a5 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:00007fffd280e010 EFLAGS: 00000293 RAX: fffffffffffffffc RBX: 00007f65d3115f80 RCX: 00007f65d2fab9a5 RDX: 00007fffd280e050 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007f65d3117a80 R08: 0000000000000000 R09: 0000000000000010 R10: 0000000000000000 R11: 0000000000000293 R12: 000000000001416f R13: 00007fffd280e170 R14: 00007fffd280e190 R15: ffffffffffffffff