rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P3676/1:b..l (detected by 1, t=10503 jiffies, g=13793, q=88) task:kworker/u4:7 state:R running task stack:23960 pid: 3676 ppid: 2 flags:0x00004000 Workqueue: netns cleanup_net Call Trace: context_switch kernel/sched/core.c:5027 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6373 preempt_schedule_irq+0xf7/0x1c0 kernel/sched/core.c:6777 irqentry_exit+0x53/0x80 kernel/entry/common.c:432 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:__sanitizer_cov_trace_cmp8+0x78/0x80 kernel/kcov.c:274 Code: c1 e1 05 48 8d 41 28 4c 39 c8 77 1e 48 c7 44 11 08 06 00 00 00 48 89 7c 11 10 48 89 74 11 18 4c 89 44 11 20 49 ff c2 4c 89 12 0f 1f 80 00 00 00 00 4c 8b 04 24 65 48 8b 15 e4 12 82 7e 65 8b RSP: 0018:ffffc900045ffa58 EFLAGS: 00000293 RAX: 0000000000000000 RBX: 00000000000623a1 RCX: ffff88807a37d940 RDX: 0000000000000000 RSI: 00000000000623a1 RDI: 00000000000623a1 RBP: ffffc900045ffb70 R08: ffffffff88d346cb R09: fffffbfff20e2419 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff920008bff62 R13: 00000000000623a1 R14: dffffc0000000000 R15: ffff88814b311d08 inet_twsk_purge+0x75b/0x9d0 net/ipv4/inet_timewait_sock.c:307 ops_exit_list net/core/net_namespace.c:177 [inline] cleanup_net+0x763/0xb60 net/core/net_namespace.c:599 process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2310 worker_thread+0xaca/0x1280 kernel/workqueue.c:2457 kthread+0x3f6/0x4f0 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 rcu: rcu_preempt kthread timer wakeup didn't happen for 10029 jiffies! g13793 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=0 timer-softirq=11513 rcu: rcu_preempt kthread starved for 10032 jiffies! g13793 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->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:I stack:26712 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: 4725 Comm: syz.2.265 Not tainted 5.15.167-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:check_wait_context kernel/locking/lockdep.c:4687 [inline] RIP: 0010:__lock_acquire+0x529/0x1ff0 kernel/locking/lockdep.c:4962 Code: 00 00 48 89 d8 48 c1 e8 03 0f b6 04 10 84 c0 0f 85 b1 12 00 00 44 0f b6 33 48 8b 44 24 38 0f b6 04 10 84 c0 0f 85 c0 12 00 00 <41> 8b 1f 81 e3 ff 1f 00 00 89 d8 c1 e8 06 48 8d 3c c5 c0 20 71 90 RSP: 0018:ffffc900030379a0 EFLAGS: 00000046 RAX: 0000000000000000 RBX: ffffffff900eb038 RCX: ffffffff8162b81b RDX: dffffc0000000000 RSI: 0000000000000008 RDI: ffffffff907120c0 RBP: 0000000000000005 R08: dffffc0000000000 R09: fffffbfff20e2419 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000001 R13: ffff88801c000ae8 R14: 0000000000000002 R15: ffff88801c000b38 FS: 00007f2e0f3986c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2e1133d210 CR3: 00000000637cf000 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 rcu_lock_acquire+0x2a/0x30 include/linux/rcupdate.h:312 rcu_read_lock include/linux/rcupdate.h:739 [inline] __lock_task_sighand+0x20/0x290 kernel/signal.c:1387 lock_task_sighand include/linux/sched/signal.h:710 [inline] do_send_sig_info kernel/signal.c:1293 [inline] group_send_sig_info+0x23f/0x2d0 kernel/signal.c:1442 bpf_send_signal_common+0x2d8/0x420 kernel/trace/bpf_trace.c:824 ____bpf_send_signal kernel/trace/bpf_trace.c:829 [inline] bpf_send_signal+0x15/0x20 kernel/trace/bpf_trace.c:827 bpf_prog_7ba5217f62dcd359+0x38/0xa98 bpf_dispatcher_nop_func include/linux/bpf.h:790 [inline] __bpf_prog_run include/linux/filter.h:628 [inline] bpf_prog_run include/linux/filter.h:635 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:1880 [inline] bpf_trace_run2+0x19e/0x340 kernel/trace/bpf_trace.c:1917 __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:77 [inline] __syscall_enter_from_user_work kernel/entry/common.c:96 [inline] syscall_enter_from_user_mode+0x202/0x240 kernel/entry/common.c:114 do_syscall_64+0x1e/0xb0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f2e11120959 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:00007f2e0f397b40 EFLAGS: 00000246 ORIG_RAX: 000000000000000f RAX: ffffffffffffffda RBX: 00007f2e1133d210 RCX: 00007f2e11120959 RDX: 00007f2e0f397b40 RSI: 00007f2e0f397c70 RDI: 0000000000000011 RBP: 00007f2e1133d208 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f2e1133d214 R13: 0000000000000000 R14: 00007ffe93c6fe30 R15: 00007ffe93c6ff18