TCP: out of memory -- consider tuning tcp_mem ------------[ cut here ]------------ WARNING: CPU: 0 PID: 8187 at net/ipv4/af_inet.c:157 inet_sock_destruct+0x681/0x790 net/ipv4/af_inet.c:157 Modules linked in: CPU: 0 UID: 0 PID: 8187 Comm: syz.8.2698 Not tainted 6.12.30-syzkaller-ge2bf362ee23b #0 e1c904518e9113895a28c59b25a6002cdacb68bf Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:inet_sock_destruct+0x681/0x790 net/ipv4/af_inet.c:157 Code: a3 e8 d3 e6 c8 fc 0f 0b e9 53 fe ff ff e8 c7 e6 c8 fc 0f 0b e9 92 fe ff ff e8 bb e6 c8 fc 0f 0b e9 c4 fe ff ff e8 af e6 c8 fc <0f> 0b e9 f6 fe ff ff 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c 65 fc ff RSP: 0018:ffffc9000266fbe8 EFLAGS: 00010283 RAX: ffffffff84bcbc81 RBX: 0000000080004000 RCX: 0000000000080000 RDX: ffffc90005aa2000 RSI: 0000000000002a50 RDI: 0000000000002a51 RBP: ffffc9000266fc30 R08: ffff88812aa8ef7f R09: 1ffff11025551def R10: dffffc0000000000 R11: ffffed1025551df0 R12: ffff88812aa8ee00 R13: ffff88812aa8ee00 R14: ffff88812aa8ef64 R15: 1ffff11025551dc2 FS: 00007f0f1c1956c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000001000 CR3: 000000012cc2a000 CR4: 00000000003526b0 Call Trace: __sk_destruct+0x68/0x6a0 net/core/sock.c:2277 sk_destruct net/core/sock.c:2325 [inline] __sk_free+0x313/0x410 net/core/sock.c:2336 sk_free+0x58/0xb0 net/core/sock.c:2347 sock_put include/net/sock.h:1942 [inline] tcp_close+0xc4/0x120 net/ipv4/tcp.c:3246 inet_release+0x1b4/0x2c0 net/ipv4/af_inet.c:442 __sock_release net/socket.c:659 [inline] sock_close+0xda/0x280 net/socket.c:1427 __fput+0x1fe/0xa00 fs/file_table.c:431 ____fput+0x20/0x30 fs/file_table.c:459 task_work_run+0x1e3/0x250 kernel/task_work.c:240 resume_user_mode_work+0x36/0x50 include/linux/resume_user_mode.h:50 exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x64/0xb0 kernel/entry/common.c:218 do_syscall_64+0x64/0xf0 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x76/0x7e RIP: 0033:0x7f0f1b38e929 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:00007f0f1c195038 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00007f0f1b5b5fa0 RCX: 00007f0f1b38e929 RDX: 0000000000000000 RSI: ffffffffffffffff RDI: 0000000000000003 RBP: 00007f0f1b410b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f0f1b5b5fa0 R15: 00007ffe86b258c8 ---[ end trace 0000000000000000 ]---