TCP: too many orphaned sockets ------------[ cut here ]------------ WARNING: CPU: 0 PID: 4132 at net/core/stream.c:205 sk_stream_kill_queues+0x2d8/0x350 net/core/stream.c:205 Modules linked in: CPU: 0 PID: 4132 Comm: syz-executor744 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+0x2d8/0x350 net/core/stream.c:205 Code: f9 48 83 c4 20 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 dd b9 67 f9 0f 0b e9 db fe ff ff e8 d1 b9 67 f9 0f 0b eb b1 e8 c8 b9 67 f9 <0f> 0b eb d3 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c d3 fe ff ff e8 4f RSP: 0018:ffffc900031bfad8 EFLAGS: 00010293 RAX: ffffffff881deae8 RBX: 0000000000000577 RCX: ffff8881ac5b5700 RDX: 0000000000000000 RSI: 0000000000000577 RDI: 0000000000000000 RBP: ffffffff8dc68ba8 R08: ffffffff881deab6 R09: ffff8881ac638a60 R10: ffffed10358c714e R11: 0000000000000000 R12: ffff8881ac6381b8 R13: dffffc0000000000 R14: dffffc0000000000 R15: ffff8881ac638230 FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7a641ee1d0 CR3: 000000001cc18000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: inet_csk_destroy_sock+0x15d/0x390 net/ipv4/inet_connection_sock.c:1012 __tcp_close+0xc53/0x10f0 net/ipv4/tcp.c:2906 tcp_close+0x26/0xb0 net/ipv4/tcp.c:2918 inet_release+0x16e/0x1f0 net/ipv4/af_inet.c:428 __sock_release net/socket.c:650 [inline] sock_close+0xd8/0x260 net/socket.c:1318 __fput+0x3fc/0x870 fs/file_table.c:280 task_work_run+0x146/0x1c0 kernel/task_work.c:164 exit_task_work include/linux/task_work.h:32 [inline] do_exit+0x63b/0x2140 kernel/exit.c:806 do_group_exit+0x2af/0x2b0 kernel/exit.c:935 __do_sys_exit_group+0x13/0x20 kernel/exit.c:946 __se_sys_exit_group+0x10/0x10 kernel/exit.c:944 __x64_sys_exit_group+0x37/0x40 kernel/exit.c:944 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f7a64177da9 Code: Unable to access opcode bytes at RIP 0x7f7a64177d7f. RSP: 002b:00007ffe71635858 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 00007f7a641ed330 RCX: 00007f7a64177da9 RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000000 RBP: 0000000000000000 R08: ffffffffffffffc0 R09: 0000000000000001 R10: 0000000000000001 R11: 0000000000000246 R12: 00007f7a641ed330 R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000001 irq event stamp: 1958 hardirqs last enabled at (1968): [] console_unlock+0xbda/0xe90 kernel/printk/printk.c:2714 hardirqs last disabled at (1979): [] sysvec_apic_timer_interrupt+0xa/0xb0 arch/x86/kernel/apic/apic.c:1097 softirqs last enabled at (1322): [] sock_orphan include/net/sock.h:2019 [inline] softirqs last enabled at (1322): [] __tcp_close+0x75b/0x10f0 net/ipv4/tcp.c:2836 softirqs last disabled at (1324): [] local_bh_disable+0x5/0x20 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]---