------------[ cut here ]------------ WARNING: CPU: 0 PID: 13775 at net/core/stream.c:212 sk_stream_kill_queues+0x140/0x148 net/core/stream.c:212 Modules linked in: CPU: 0 PID: 13775 Comm: syz-executor.5 Not tainted 6.2.0-rc7-syzkaller-17907-g2d3827b3f393 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : sk_stream_kill_queues+0x140/0x148 net/core/stream.c:212 lr : sk_stream_kill_queues+0x140/0x148 net/core/stream.c:212 sp : ffff800013f43920 x29: ffff800013f43920 x28: 00000000002e0003 x27: 0000000000000054 x26: 0000000000000000 x25: 0000000000000015 x24: ffff000111443780 x23: 000000000000004a x22: 000000000000004a x21: ffff000117e463b8 x20: 0000000000000000 x19: 0000000000000b00 x18: 0000000000000000 x17: 00000000c780862c x16: ffff00011d09be20 x15: ffff80000dbd2118 x14: ffff00011d09b400 x13: 00000000ffffffff x12: ffff00011d09b400 x11: ff8080000b167964 x10: 0000000000000000 x9 : ffff80000b167964 x8 : ffff00011d09b400 x7 : ffff80000b159e1c x6 : 0000000000000000 x5 : 0000000000000001 x4 : 0000000000000001 x3 : 0000000000000000 x2 : 0000000000000006 x1 : 0000000000000b00 x0 : 0000000000000000 Call trace: sk_stream_kill_queues+0x140/0x148 net/core/stream.c:212 inet_csk_destroy_sock+0x9c/0x238 net/ipv4/inet_connection_sock.c:1177 tcp_done+0x1e8/0x280 net/ipv4/tcp.c:4655 tcp_time_wait+0x250/0x304 net/ipv4/tcp_minisocks.c:348 tcp_rcv_state_process+0x6c0/0x1600 tcp_v6_do_rcv+0x460/0x788 net/ipv6/tcp_ipv6.c:1514 sk_backlog_rcv include/net/sock.h:1113 [inline] __release_sock+0xe4/0x1d0 net/core/sock.c:2928 __tcp_close+0x234/0x84c net/ipv4/tcp.c:2957 tcp_close+0x38/0xe0 net/ipv4/tcp.c:3033 inet_release+0xb0/0xe4 net/ipv4/af_inet.c:428 inet6_release+0x3c/0x58 net/ipv6/af_inet6.c:489 __sock_release net/socket.c:650 [inline] sock_close+0x50/0xf4 net/socket.c:1365 __fput+0x198/0x3e4 fs/file_table.c:320 ____fput+0x20/0x30 fs/file_table.c:348 task_work_run+0x100/0x148 kernel/task_work.c:179 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] do_notify_resume+0x165c/0x2628 arch/arm64/kernel/signal.c:1302 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:137 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:142 [inline] el0_svc+0x9c/0x14c arch/arm64/kernel/entry-common.c:638 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:591 irq event stamp: 2854 hardirqs last enabled at (2853): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] hardirqs last enabled at (2853): [] _raw_spin_unlock_irqrestore+0x44/0x84 kernel/locking/spinlock.c:194 hardirqs last disabled at (2854): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (2848): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (2846): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]---