------------[ cut here ]------------ refcount_t: decrement hit 0; leaking memory. WARNING: CPU: 0 PID: 6902 at lib/refcount.c:31 refcount_warn_saturate+0xfa/0x1d0 lib/refcount.c:31 Modules linked in: CPU: 0 UID: 0 PID: 6902 Comm: syz.4.499 Not tainted 6.10.0-syzkaller-12586-g9da49aa80d68 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 RIP: 0010:refcount_warn_saturate+0xfa/0x1d0 lib/refcount.c:31 Code: b2 00 00 00 e8 87 89 e3 fc 5b 5d c3 cc cc cc cc e8 7b 89 e3 fc c6 05 16 80 31 0b 01 90 48 c7 c7 c0 17 40 8c e8 a7 97 a5 fc 90 <0f> 0b 90 90 eb d9 e8 5b 89 e3 fc c6 05 f3 7f 31 0b 01 90 48 c7 c7 RSP: 0018:ffffc90002ecf940 EFLAGS: 00010246 RAX: 0186c320c4580800 RBX: ffff8880254623c0 RCX: ffff88801cfc5a00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000004 R08: ffffffff81559432 R09: 1ffffffff26a3d01 R10: dffffc0000000000 R11: fffffbfff26a3d02 R12: ffffc90001b418d8 R13: dffffc0000000000 R14: 1ffff11005ccf40c R15: ffff88802e67a000 FS: 00007f24911ba6c0(0000) GS:ffff8880b9200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f914fd020c0 CR3: 000000003c1e6000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __refcount_dec include/linux/refcount.h:336 [inline] refcount_dec include/linux/refcount.h:351 [inline] inet_twsk_kill+0x74b/0x890 net/ipv4/inet_timewait_sock.c:70 inet_twsk_deschedule_put+0xec/0x2c0 net/ipv4/inet_timewait_sock.c:266 inet_twsk_purge+0x7fa/0x980 net/ipv4/inet_timewait_sock.c:349 tcp_twsk_purge+0xcb/0x140 net/ipv4/tcp_minisocks.c:401 tcp_sk_exit_batch+0x28/0x130 net/ipv4/tcp_ipv4.c:3517 ops_exit_list net/core/net_namespace.c:178 [inline] setup_net+0xa3b/0xca0 net/core/net_namespace.c:375 copy_net_ns+0x4e2/0x7b0 net/core/net_namespace.c:508 create_new_namespaces+0x425/0x7b0 kernel/nsproxy.c:110 unshare_nsproxy_namespaces+0x124/0x180 kernel/nsproxy.c:228 ksys_unshare+0x619/0xc10 kernel/fork.c:3309 __do_sys_unshare kernel/fork.c:3380 [inline] __se_sys_unshare kernel/fork.c:3378 [inline] __x64_sys_unshare+0x38/0x40 kernel/fork.c:3378 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f2490377299 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f24911ba048 EFLAGS: 00000246 ORIG_RAX: 0000000000000110 RAX: ffffffffffffffda RBX: 00007f2490505f80 RCX: 00007f2490377299 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000068060200 RBP: 00007f24903e48e6 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f2490505f80 R15: 00007ffec9a3bec8