------------[ cut here ]------------ WARNING: CPU: 0 PID: 24639 at net/ipv4/inet_connection_sock.c:1155 inet_csk_destroy_sock+0x1f8/0x238 net/ipv4/inet_connection_sock.c:1155 Modules linked in: CPU: 0 PID: 24639 Comm: syz-executor.1 Not tainted 6.1.0-rc4-syzkaller-31859-g56751c56c2a2 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : inet_csk_destroy_sock+0x1f8/0x238 net/ipv4/inet_connection_sock.c:1155 lr : inet_csk_destroy_sock+0x1f8/0x238 net/ipv4/inet_connection_sock.c:1155 sp : ffff80002293bc50 x29: ffff80002293bc50 x28: 00000000002e0003 x27: 0000000000000000 x26: ffff0001113b6618 x25: 0000000000000000 x24: ffff0000fdf33480 x23: 0000000100000201 x22: ffff000111c66718 x21: 0000000000000007 x20: 000000000000b364 x19: ffff000111c66680 x18: 0000000000000000 x17: 0000000000000000 x16: ffff80000db1a158 x15: ffff0000fdf33480 x14: 00000000000000a8 x13: 00000000ffffffff x12: ffff0000fdf33480 x11: ff8080000b5b0070 x10: 0000000000000000 x9 : ffff80000b5b0070 x8 : ffff0000fdf33480 x7 : ffff80000baf3828 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000001 x3 : 0000000000000000 x2 : 0000000000000001 x1 : 000000000000b364 x0 : 0000000000000000 Call trace: inet_csk_destroy_sock+0x1f8/0x238 net/ipv4/inet_connection_sock.c:1155 dccp_close+0x518/0x688 net/dccp/proto.c:1060 inet_release+0xc8/0xe4 net/ipv4/af_inet.c:428 inet6_release+0x3c/0x58 net/ipv6/af_inet6.c:488 __sock_release net/socket.c:650 [inline] sock_close+0x50/0xf0 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+0x174/0x1f0 arch/arm64/kernel/signal.c:1127 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/0x150 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:584 irq event stamp: 1743 hardirqs last enabled at (1741): [] __local_bh_enable_ip+0x13c/0x1a4 kernel/softirq.c:401 hardirqs last disabled at (1743): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (1740): [] spin_unlock_bh include/linux/spinlock.h:395 [inline] softirqs last enabled at (1740): [] release_sock+0xf4/0x108 net/core/sock.c:3473 softirqs last disabled at (1742): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]---