TCP: too many orphaned sockets
------------[ cut here ]------------
WARNING: CPU: 0 PID: 4113 at net/core/stream.c:205 sk_stream_kill_queues+0x2eb/0x3d0 net/core/stream.c:205
Modules linked in:
CPU: 0 PID: 4113 Comm: syz-executor162 Not tainted 5.16.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:sk_stream_kill_queues+0x2eb/0x3d0 net/core/stream.c:205
Code: 03 0f b6 04 02 84 c0 74 08 3c 03 0f 8e ec 00 00 00 8b ab 30 02 00 00 e9 60 ff ff ff e8 de 37 4c fa 0f 0b eb 97 e8 d5 37 4c fa <0f> 0b eb a0 e8 cc 37 4c fa 0f 0b e9 6a fe ff ff e8 70 7c 93 fa e9
RSP: 0018:ffffc9000526fbf0 EFLAGS: 00010293
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: ffff888167a50000 RSI: ffffffff872c1b5b RDI: 0000000000000003
RBP: 0000000000000577 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff872c1afb R11: 0000000000000000 R12: ffff8881abca8e30
R13: ffffffff908b0600 R14: ffff8881abca8c28 R15: ffff8881abca8db8
FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fea369b61d0 CR3: 000000001d194000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
inet_csk_destroy_sock+0x1a5/0x440 net/ipv4/inet_connection_sock.c:1012
__tcp_close+0xd5b/0x12b0 net/ipv4/tcp.c:2907
tcp_close+0x29/0xc0 net/ipv4/tcp.c:2919
inet_release+0x12e/0x280 net/ipv4/af_inet.c:428
__sock_release+0xcd/0x280 net/socket.c:650
sock_close+0x18/0x20 net/socket.c:1318
__fput+0x286/0x9f0 fs/file_table.c:280
task_work_run+0xdd/0x1a0 kernel/task_work.c:164
exit_task_work include/linux/task_work.h:32 [inline]
do_exit+0xb29/0x2a30 kernel/exit.c:806
do_group_exit+0xd2/0x2f0 kernel/exit.c:935
__do_sys_exit_group kernel/exit.c:946 [inline]
__se_sys_exit_group kernel/exit.c:944 [inline]
__x64_sys_exit_group+0x3a/0x50 kernel/exit.c:944
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7fea3693fda9
Code: Unable to access opcode bytes at RIP 0x7fea3693fd7f.
RSP: 002b:00007fff6edf1828 EFLAGS: 00000246
ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 00007fea369b5330 RCX: 00007fea3693fda9
RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffffffffffffffc0 R09: 0000000000000001
R10: 0000000000000001 R11: 0000000000000246 R12: 00007fea369b5330
R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000001
irq event stamp: 1914
hardirqs last enabled at (1924): [] asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638
hardirqs last disabled at (1933): [] console_unlock+0x8e4/0xb70 kernel/printk/printk.c:2706
softirqs last enabled at (1296): [] sock_orphan include/net/sock.h:2019 [inline]
softirqs last enabled at (1296): [] __tcp_close+0x6fd/0x12b0 net/ipv4/tcp.c:2837
softirqs last disabled at (1298): [] sock_orphan include/net/sock.h:2018 [inline]
softirqs last disabled at (1298): [] __tcp_close+0x6ea/0x12b0 net/ipv4/tcp.c:2837
---[ end trace 0000000000000000 ]---