------------[ cut here ]------------ WARNING: CPU: 1 PID: 1625 at net/ipv4/af_inet.c:157 inet_sock_destruct+0x54c/0x62c net/ipv4/af_inet.c:157 Modules linked in: CPU: 1 PID: 1625 Comm: kworker/u4:5 Not tainted 5.15.173-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: netns cleanup_net pstate: 40400005 (nZcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : inet_sock_destruct+0x54c/0x62c net/ipv4/af_inet.c:157 lr : inet_sock_destruct+0x54c/0x62c net/ipv4/af_inet.c:157 sp : ffff800024207610 x29: ffff800024207610 x28: 0000000000000003 x27: dfff800000000000 x26: 1fffe0001aa811c2 x25: dfff800000000000 x24: dfff800000000000 x23: ffff8000242077a0 x22: 1fffe0001aa8119a x21: 0000000000000007 x20: 0000000000000ffe x19: ffff0000d5408cc0 x18: ffff800024206ac0 x17: 0000000000000000 x16: ffff8000084c42fc x15: ffff8000107c563c x14: 1ffff0000296c06c x13: dfff800000000000 x12: 0000000000000001 x11: 0000000000000101 x10: 0000000000000000 x9 : ffff0000cd27d1c0 x8 : ffff800010823c6c x7 : ffff800008392828 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000000 x3 : ffff800010823b10 x2 : 0000000000000000 x1 : 0000000000000ffe x0 : 0000000000000000 Call trace: inet_sock_destruct+0x54c/0x62c net/ipv4/af_inet.c:157 inet6_sock_destruct+0x28/0x38 net/ipv6/af_inet6.c:114 __sk_destruct+0x5c/0x600 net/core/sock.c:1955 rcu_do_batch kernel/rcu/tree.c:2523 [inline] rcu_core+0x830/0x1b34 kernel/rcu/tree.c:2763 rcu_core_si+0x10/0x1c kernel/rcu/tree.c:2776 handle_softirqs+0x384/0xdbc kernel/softirq.c:558 __do_softirq kernel/softirq.c:592 [inline] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] do_softirq+0xfc/0x1b0 kernel/softirq.c:459 __local_bh_enable_ip+0x298/0x470 kernel/softirq.c:383 __raw_spin_unlock_bh include/linux/spinlock_api_smp.h:176 [inline] _raw_spin_unlock_bh+0xf8/0x180 kernel/locking/spinlock.c:210 spin_unlock_bh include/linux/spinlock.h:408 [inline] tcp_metrics_flush_all+0x288/0x348 net/ipv4/tcp_metrics.c:917 tcp_net_metrics_exit_batch+0x18/0x24 net/ipv4/tcp_metrics.c:1036 ops_exit_list net/core/net_namespace.c:177 [inline] cleanup_net+0x5e0/0x9bc net/core/net_namespace.c:599 process_one_work+0x790/0x11b8 kernel/workqueue.c:2310 worker_thread+0x910/0x1034 kernel/workqueue.c:2457 kthread+0x37c/0x45c kernel/kthread.c:334 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:870 irq event stamp: 1678645 hardirqs last enabled at (1678644): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline] hardirqs last enabled at (1678644): [] _raw_spin_unlock_irqrestore+0xac/0x158 kernel/locking/spinlock.c:194 hardirqs last disabled at (1678645): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396 softirqs last enabled at (1678606): [] spin_unlock_bh include/linux/spinlock.h:408 [inline] softirqs last enabled at (1678606): [] tcp_metrics_flush_all+0x288/0x348 net/ipv4/tcp_metrics.c:917 softirqs last disabled at (1678607): [] __do_softirq kernel/softirq.c:592 [inline] softirqs last disabled at (1678607): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (1678607): [] do_softirq+0xfc/0x1b0 kernel/softirq.c:459 ---[ end trace c418c78893442c16 ]---