TCP: out of memory -- consider tuning tcp_mem ------------[ cut here ]------------ WARNING: CPU: 0 PID: 6787 at net/ipv4/af_inet.c:156 inet_sock_destruct+0x684/0x830 net/ipv4/af_inet.c:156 Modules linked in: CPU: 0 UID: 0 PID: 6787 Comm: syz.3.226 Not tainted 6.16.0-rc2-syzkaller-00024-g9afe652958c3 #0 PREEMPT(full) 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+0x684/0x830 net/ipv4/af_inet.c:156 Code: 0f 0b 90 e9 12 fe ff ff e8 09 dd bd f7 90 0f 0b 90 e9 5e fe ff ff e8 fb dc bd f7 90 0f 0b 90 e9 94 fe ff ff e8 ed dc bd f7 90 <0f> 0b 90 e9 d3 fe ff ff e8 9f b4 24 f8 e9 d7 fc ff ff 4c 89 ff e8 RSP: 0018:ffffc9000c95f940 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff88805703e600 RCX: ffffffff89fe3dd7 RDX: ffff88802421a440 RSI: ffffffff89fe3f03 RDI: 0000000000000005 RBP: 0000000080005000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080005000 R11: 0000000000000001 R12: ffff88805703e600 R13: ffff88805703e690 R14: 0000000000000000 R15: ffff888055e618c0 FS: 0000000000000000(0000) GS:ffff8880d6753000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000005f00 CR3: 0000000050e36000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __sk_destruct+0x81/0x980 net/core/sock.c:2347 sk_destruct+0xc2/0xf0 net/core/sock.c:2409 __sk_free+0xf4/0x3e0 net/core/sock.c:2420 sk_free+0x6a/0x90 net/core/sock.c:2431 sock_put include/net/sock.h:1960 [inline] tcp_close+0xd3/0x120 net/ipv4/tcp.c:3281 inet_release+0x13f/0x280 net/ipv4/af_inet.c:435 __sock_release+0xb0/0x270 net/socket.c:647 sock_close+0x1c/0x30 net/socket.c:1391 __fput+0x3ff/0xb70 fs/file_table.c:465 task_work_run+0x150/0x240 kernel/task_work.c:227 exit_task_work include/linux/task_work.h:40 [inline] do_exit+0x864/0x2bd0 kernel/exit.c:955 do_group_exit+0xd3/0x2a0 kernel/exit.c:1104 get_signal+0x2673/0x26d0 kernel/signal.c:3034 arch_do_signal_or_restart+0x8f/0x7d0 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop+0x84/0x110 kernel/entry/common.c:111 exit_to_user_mode_prepare include/linux/entry-common.h:330 [inline] syscall_exit_to_user_mode_work include/linux/entry-common.h:414 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:449 [inline] do_syscall_64+0x3f6/0x4c0 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f4420d8e929 Code: Unable to access opcode bytes at 0x7f4420d8e8ff. RSP: 002b:00007f4421c660e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007f4420fb6088 RCX: 00007f4420d8e929 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f4420fb6088 RBP: 00007f4420fb6080 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f4420fb608c R13: 0000000000000000 R14: 00007ffd24a5fde0 R15: 00007ffd24a5fec8