------------[ cut here ]------------ WARNING: CPU: 0 PID: 4721 at net/ipv4/tcp_input.c:2131 tcp_enter_loss+0xc68/0x1070 net/ipv4/tcp_input.c:2164 Modules linked in: CPU: 0 PID: 4721 Comm: syz-executor107 Not tainted 5.17.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:tcp_timeout_mark_lost net/ipv4/tcp_input.c:2131 [inline] RIP: 0010:tcp_enter_loss+0xc68/0x1070 net/ipv4/tcp_input.c:2143 Code: 46 ae 50 09 00 00 41 89 ae 50 09 00 00 e9 17 fc ff ff 49 8d 86 d0 0a 00 00 48 89 44 24 28 49 8d ae 6c 08 00 00 e9 df f7 ff ff <0f> 0b e9 a5 f6 ff ff 48 8b 7c 24 28 e8 97 67 9a fa e9 ab fc ff ff RSP: 0018:ffffc9000350fa50 EFLAGS: 00010212 RAX: 0000000000000009 RBX: 0000000000000011 RCX: 0000000000000000 RDX: 0000000000000009 RSI: ffff888079ab2780 RDI: ffff888079ab1b88 RBP: ffff888079ab1180 R08: 0000000000000000 R09: ffff88807ab81867 R10: ffffed100f57030c R11: ffff888079ab1180 R12: 0000000000000000 R13: ffff88807ab8213c R14: ffff88807ab81800 R15: 0000000000000008 FS: 00007f380577a700(0000) GS:ffff8880b9e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000021000000 CR3: 0000000019cdc000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: tcp_retransmit_timer+0x1f04/0x2e80 net/ipv4/tcp_timer.c:505 tcp_write_timer_handler+0x4d5/0x970 net/ipv4/tcp_timer.c:622 tcp_release_cb+0x1a2/0x270 net/ipv4/tcp_output.c:1106 release_sock+0xa0/0x170 net/core/sock.c:3317 do_tcp_setsockopt net/ipv4/tcp.c:3686 [inline] tcp_setsockopt+0x55b/0x1f90 net/ipv4/tcp.c:3698 __sys_setsockopt+0x1fd/0x4e0 net/socket.c:2180 __do_sys_setsockopt net/socket.c:2191 [inline] __se_sys_setsockopt net/socket.c:2188 [inline] __x64_sys_setsockopt+0xb5/0x150 net/socket.c:2188 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f38057ee079 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 d1 15 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f380577a2f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00007f380588c030 RCX: 00007f38057ee079 RDX: 0000000000000016 RSI: 0000000000000006 RDI: 0000000000000003 RBP: 00007f380588c03c R08: 000000002000019f R09: 0000000000000000 R10: 0000000020000000 R11: 0000000000000246 R12: 00007f38058447d4 R13: 00007f3805844570 R14: 0000000020000640 R15: 00007f380588c038