TCP: out of memory -- consider tuning tcp_mem ------------[ cut here ]------------ WARNING: CPU: 2 PID: 6185 at net/ipv4/af_inet.c:156 inet_sock_destruct+0x6f6/0x8b0 net/ipv4/af_inet.c:156 Modules linked in: CPU: 2 UID: 0 PID: 6185 Comm: syz.1.61 Not tainted 6.13.0-rc1-syzkaller-00025-gfeffde684ac2 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:inet_sock_destruct+0x6f6/0x8b0 net/ipv4/af_inet.c:156 Code: 0f 0b 90 e9 fa fd ff ff e8 07 73 ee f7 90 0f 0b 90 e9 30 fe ff ff e8 f9 72 ee f7 90 0f 0b 90 e9 84 fd ff ff e8 eb 72 ee f7 90 <0f> 0b 90 e9 8f fe ff ff e8 bd 5a 51 f8 e9 65 fc ff ff 48 89 ef e8 RSP: 0018:ffffc90003a4fc80 EFLAGS: 00010287 RAX: 0000000000001a1e RBX: ffff88804eb88000 RCX: ffffc90007142000 RDX: 0000000000080000 RSI: ffffffff89ab9325 RDI: 0000000000000005 RBP: 0000000080002000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080002000 R11: 0000000000000001 R12: ffff88804eb88028 R13: ffff88804eb88090 R14: 0000000000000000 R15: ffff888034bea4c0 FS: 00007f24014526c0(0000) GS:ffff88806a800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2401451fb8 CR3: 00000000330ca000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __sk_destruct+0x4d/0x720 net/core/sock.c:2260 sk_destruct+0xc2/0xf0 net/core/sock.c:2308 __sk_free+0xf4/0x3e0 net/core/sock.c:2319 sk_free+0x6a/0x90 net/core/sock.c:2330 sock_put include/net/sock.h:1904 [inline] tcp_close+0xd3/0x120 net/ipv4/tcp.c:3225 inet_release+0x13c/0x280 net/ipv4/af_inet.c:435 __sock_release+0xb0/0x270 net/socket.c:640 sock_close+0x1c/0x30 net/socket.c:1408 __fput+0x3f8/0xb60 fs/file_table.c:450 task_work_run+0x14e/0x250 kernel/task_work.c:239 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x27b/0x2a0 kernel/entry/common.c:218 do_syscall_64+0xda/0x250 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f240057ff19 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:00007f2401452058 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00007f2400745fa0 RCX: 00007f240057ff19 RDX: 0000000000000000 RSI: ffffffffffffffff RDI: 0000000000000009 RBP: 00007f24005f3986 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f2400745fa0 R15: 00007ffe2b2dc918