------------[ cut here ]------------ WARNING: CPU: 1 PID: 16274 at net/ipv4/inet_connection_sock.c:1155 inet_csk_destroy_sock+0x2d9/0x440 net/ipv4/inet_connection_sock.c:1155 Modules linked in: CPU: 1 PID: 16274 Comm: syz-executor.5 Not tainted 6.0.0-syzkaller-09589-g55be6084c8e0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022 RIP: 0010:inet_csk_destroy_sock+0x2d9/0x440 net/ipv4/inet_connection_sock.c:1155 Code: 41 5c 41 5d 41 5e e9 f6 5b 9e f9 e8 f1 5b 9e f9 48 89 ef e8 e9 57 72 ff 5b 5d 41 5c 41 5d 41 5e e9 dc 5b 9e f9 e8 d7 5b 9e f9 <0f> 0b e9 66 fe ff ff e8 cb 5b 9e f9 4c 89 e7 be 03 00 00 00 e8 7e RSP: 0018:ffffc9000b297cf0 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 000000000000d16c RCX: 0000000000000000 RDX: ffff88807afb8000 RSI: ffffffff87dcee69 RDI: ffff8880403e2560 RBP: ffff8880403e1ec0 R08: 0000000000000003 R09: 0000000000000000 R10: 000000000000d16c R11: 000000000008c07d R12: ffff8880403e1f20 R13: ffff8880403e1f58 R14: ffff8880403e2078 R15: 0000000000000000 FS: 000055555657d400(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f81ed84eff8 CR3: 000000007a83c000 CR4: 00000000003526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: dccp_close+0xa3d/0xd50 net/dccp/proto.c:1060 inet_release+0x12e/0x270 net/ipv4/af_inet.c:428 __sock_release+0xcd/0x280 net/socket.c:650 sock_close+0x18/0x20 net/socket.c:1365 __fput+0x27c/0xa90 fs/file_table.c:320 task_work_run+0xdd/0x1a0 kernel/task_work.c:177 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop kernel/entry/common.c:169 [inline] exit_to_user_mode_prepare+0x23c/0x250 kernel/entry/common.c:201 __syscall_exit_to_user_mode_work kernel/entry/common.c:283 [inline] syscall_exit_to_user_mode+0x19/0x50 kernel/entry/common.c:294 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f81ec63d37b Code: 0f 05 48 3d 00 f0 ff ff 77 45 c3 0f 1f 40 00 48 83 ec 18 89 7c 24 0c e8 63 fc ff ff 8b 7c 24 0c 41 89 c0 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 35 44 89 c7 89 44 24 0c e8 a1 fc ff ff 8b 44 RSP: 002b:00007f81eccdfb80 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000005 RCX: 00007f81ec63d37b RDX: 00007f81ec7b06c0 RSI: ffffffffffffffff RDI: 0000000000000004 RBP: 00007f81ec7ad980 R08: 0000000000000000 R09: 00007f81ec7b06c8 R10: 00007f81eccdfc80 R11: 0000000000000293 R12: 000000000013b152 R13: 00007f81eccdfc80 R14: 00007f81ec7abf80 R15: 0000000000000032