rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P46/1:b..l (detected by 0, t=10502 jiffies, g=27405, q=62 ncpus=2) task:kworker/u4:3 state:R running task stack:21016 pid:46 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:check_kcov_mode kernel/kcov.c:193 [inline] RIP: 0010:write_comp_data kernel/kcov.c:245 [inline] RIP: 0010:__sanitizer_cov_trace_const_cmp4+0x30/0x80 kernel/kcov.c:313 Code: 8b 15 14 c8 77 7e 65 8b 05 15 c8 77 7e 25 00 01 ff 00 74 10 3d 00 01 00 00 75 5b 83 ba 1c 16 00 00 00 74 52 8b 82 f8 15 00 00 <83> f8 03 75 47 48 8b 8a 00 16 00 00 44 8b 8a fc 15 00 00 49 c1 e1 RSP: 0018:ffffc90000b77a38 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffff888017ab1dc0 RDX: ffff888017ab1dc0 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc90000b77b70 R08: ffffffff89226014 R09: fffffbfff20e7645 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff9200016ef62 R13: dffffc0000000000 R14: ffff888029025d08 R15: ffffffff9238bae0 rcu_read_lock include/linux/rcupdate.h:792 [inline] inet_twsk_purge+0x164/0xa40 net/ipv4/inet_timewait_sock.c:295 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 10329 jiffies! g27405 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:26712 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: 0 PID: 6920 Comm: syz.4.890 Not tainted 6.1.106-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0xd4/0x130 kernel/locking/spinlock.c:194 Code: 9c 8f 44 24 20 42 80 3c 23 00 74 08 4c 89 f7 e8 c2 51 32 f7 f6 44 24 21 02 75 4e 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 77 99 ae f6 65 8b 05 18 a2 52 75 85 c0 74 3f 48 c7 04 24 0e 36 RSP: 0018:ffffc9000428fba0 EFLAGS: 00000206 RAX: 08ce6aff42b51b00 RBX: 1ffff92000851f78 RCX: ffffffff91f33103 RDX: dffffc0000000000 RSI: ffffffff8b0c0260 RDI: 0000000000000001 RBP: ffffc9000428fc30 R08: dffffc0000000000 R09: ffffed100eefe379 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 1ffff92000851f74 R14: ffffc9000428fbc0 R15: 0000000000000246 FS: 00007f2becbde6c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2becbde000 CR3: 00000000142e7000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: spin_unlock_irqrestore include/linux/spinlock.h:406 [inline] unlock_task_sighand include/linux/sched/signal.h:753 [inline] do_send_sig_info kernel/signal.c:1301 [inline] group_send_sig_info+0x2d8/0x300 kernel/signal.c:1448 bpf_send_signal_common+0x2d8/0x420 kernel/trace/bpf_trace.c:882 ____bpf_send_signal kernel/trace/bpf_trace.c:887 [inline] bpf_send_signal+0x15/0x20 kernel/trace/bpf_trace.c:885 bpf_prog_7ba5217f62dcd359+0x38/0x3c bpf_dispatcher_nop_func include/linux/bpf.h:989 [inline] __bpf_prog_run include/linux/filter.h:603 [inline] bpf_prog_run include/linux/filter.h:610 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:2273 [inline] bpf_trace_run2+0x1fd/0x410 kernel/trace/bpf_trace.c:2312 __bpf_trace_sys_enter+0x60/0x70 include/trace/events/syscalls.h:18 trace_sys_enter include/trace/events/syscalls.h:18 [inline] syscall_trace_enter kernel/entry/common.c:81 [inline] __syscall_enter_from_user_work kernel/entry/common.c:100 [inline] syscall_enter_from_user_mode+0x206/0x230 kernel/entry/common.c:118 do_syscall_64+0x1e/0xb0 arch/x86/entry/common.c:77 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f2bebd157e9 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:00007f2becbddb40 EFLAGS: 00000246 ORIG_RAX: 000000000000000f RAX: ffffffffffffffda RBX: 00007f2bebf16138 RCX: 00007f2bebd157e9 RDX: 00007f2becbddb40 RSI: 00007f2becbddc70 RDI: 0000000000000011 RBP: 00007f2bebf16130 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f2bebf1613c R13: 0000000000000000 R14: 00007ffd11ee4fb0 R15: 00007ffd11ee5098