------------[ cut here ]------------ WARNING: CPU: 0 PID: 24671 at net/ipv4/inet_connection_sock.c:1155 inet_csk_destroy_sock+0x2dd/0x440 net/ipv4/inet_connection_sock.c:1155 Modules linked in: CPU: 0 PID: 24671 Comm: syz-executor.0 Not tainted 6.1.0-rc7-syzkaller-00200-gc2bf05db6c78 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:inet_csk_destroy_sock+0x2dd/0x440 net/ipv4/inet_connection_sock.c:1155 Code: 41 5c 41 5d 41 5e e9 62 9a 46 f9 e8 5d 9a 46 f9 48 89 ef e8 65 f4 71 ff 5b 5d 41 5c 41 5d 41 5e e9 48 9a 46 f9 e8 43 9a 46 f9 <0f> 0b e9 66 fe ff ff e8 37 9a 46 f9 4c 89 e7 be 03 00 00 00 e8 da RSP: 0018:ffffc90003ccfc80 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000000009c94 RCX: 0000000000000000 RDX: ffff88807f219d40 RSI: ffffffff88397ffd RDI: ffff8880288bb9e0 RBP: ffff8880288bb340 R08: 0000000000000003 R09: 0000000000000000 R10: 0000000000009c94 R11: 0000000000000000 R12: ffff8880288bb3a0 R13: ffff8880288bb3d8 R14: ffff8880288bb4f8 R15: 0000000000000000 FS: 00005555568a6400(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b30a24000 CR3: 000000001d0b0000 CR4: 00000000003506f0 Call Trace: dccp_close+0xa41/0xd60 net/dccp/proto.c:1059 inet_release+0x132/0x270 net/ipv4/af_inet.c:428 __sock_release+0xcd/0x280 net/socket.c:650 sock_close+0x1c/0x20 net/socket.c:1365 __fput+0x27c/0xa90 fs/file_table.c:320 task_work_run+0x16f/0x270 kernel/task_work.c:179 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop kernel/entry/common.c:171 [inline] exit_to_user_mode_prepare+0x23c/0x250 kernel/entry/common.c:203 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x1d/0x50 kernel/entry/common.c:296 do_syscall_64+0x46/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f8a30c3df8b 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:00007f8a30ecfb80 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000005 RCX: 00007f8a30c3df8b RDX: 00007f8a30800648 RSI: ffffffffffffffff RDI: 0000000000000004 RBP: 00007f8a30dad980 R08: 0000000000000000 R09: 00007f8a30800000 R10: 00007f8a30800650 R11: 0000000000000293 R12: 000000000014edef R13: 00007f8a30ecfc80 R14: 00007f8a30dabf80 R15: 0000000000000032