TCP: out of memory -- consider tuning tcp_mem ------------[ cut here ]------------ WARNING: CPU: 1 PID: 1813 at net/ipv4/af_inet.c:157 inet_sock_destruct+0x681/0x790 net/ipv4/af_inet.c:157 Modules linked in: CPU: 1 UID: 0 PID: 1813 Comm: syz.2.527 Not tainted 6.12.38-syzkaller-g125206b4d7d6 #0 b4183df40fdd555480841fc2136fdfcd4e3aa3fe Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 RIP: 0010:inet_sock_destruct+0x681/0x790 net/ipv4/af_inet.c:157 Code: a3 e8 a3 26 c3 fc 0f 0b e9 53 fe ff ff e8 97 26 c3 fc 0f 0b e9 92 fe ff ff e8 8b 26 c3 fc 0f 0b e9 c4 fe ff ff e8 7f 26 c3 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:ffffc9000fd5fbe8 EFLAGS: 00010283 RAX: ffffffff84c2b7b1 RBX: 0000000080003000 RCX: 0000000000080000 RDX: ffffc90001e83000 RSI: 0000000000002ea7 RDI: 0000000000002ea8 RBP: ffffc9000fd5fc30 R08: ffff88811d29d17f R09: 1ffff11023a53a2f R10: dffffc0000000000 R11: ffffed1023a53a30 R12: ffff88811d29d000 R13: ffff88811d29d000 R14: ffff88811d29d164 R15: 1ffff11023a53a02 FS: 00007f791047d6c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c33c8f4 CR3: 000000013a6b6000 CR4: 00000000003526b0 Call Trace: __sk_destruct+0x6b/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+0xdd/0x280 net/socket.c:1427 __fput+0x1fb/0xa00 fs/file_table.c:429 ____fput+0x20/0x30 fs/file_table.c:457 task_work_run+0x1e0/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:0x7f790f58ebe9 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:00007f791047d038 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00007f790f7b5fa0 RCX: 00007f790f58ebe9 RDX: 0000000000000000 RSI: ffffffffffffffff RDI: 0000000000000003 RBP: 00007f790f611e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f790f7b6038 R14: 00007f790f7b5fa0 R15: 00007ffec1bc78b8 ---[ end trace 0000000000000000 ]---