TCP: out of memory -- consider tuning tcp_mem ------------[ cut here ]------------ WARNING: CPU: 1 PID: 8424 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: 8424 Comm: syz.1.2740 Not tainted 6.12.30-syzkaller-gd893caf112c8 #0 64e33962539d0ce7a45dea9f0941eea22919d800 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 03 d8 c8 fc 0f 0b e9 53 fe ff ff e8 f7 d7 c8 fc 0f 0b e9 92 fe ff ff e8 eb d7 c8 fc 0f 0b e9 c4 fe ff ff e8 df d7 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:ffffc90004ac7be8 EFLAGS: 00010293 RAX: ffffffff84bcd071 RBX: 0000000080001000 RCX: ffff888107bdcc00 RDX: 0000000000000000 RSI: 0000000080001000 RDI: 0000000000000000 RBP: ffffc90004ac7c30 R08: ffff888122e99f7f R09: 1ffff110245d33ef R10: dffffc0000000000 R11: ffffed10245d33f0 R12: ffff888122e99e00 R13: ffff888122e99e00 R14: ffff888122e99f64 R15: 1ffff110245d33c2 FS: 0000555569d42500(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c2de409 CR3: 000000012c184000 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+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:0x7f41e698e929 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:00007ffc08f50078 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00000000000370e8 RCX: 00007f41e698e929 RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003 RBP: 00007f41e6bb7ba0 R08: 0000000000000001 R09: 0000001708f5036f R10: 00007f41e6800000 R11: 0000000000000246 R12: 00007f41e6bb5fac R13: 00007f41e6bb5fa0 R14: ffffffffffffffff R15: 00007ffc08f50190 ---[ end trace 0000000000000000 ]---