BUG: please report to dccp@vger.kernel.org => prev = 0, last = 0 at net/dccp/ccids/lib/packet_history.c:414/tfrc_rx_hist_sample_rtt() CPU: 0 PID: 5064 Comm: sshd Not tainted 6.7.0-syzkaller-01727-gab27740f7665 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x125/0x1b0 lib/dump_stack.c:106 tfrc_rx_hist_sample_rtt+0x3dd/0x4a0 net/dccp/ccids/lib/packet_history.c:414 ccid3_hc_rx_packet_recv+0x443/0xf50 net/dccp/ccids/ccid3.c:760 ccid_hc_rx_packet_recv net/dccp/ccid.h:182 [inline] dccp_deliver_input_to_ccids+0xe3/0x260 net/dccp/input.c:176 dccp_rcv_established net/dccp/input.c:374 [inline] dccp_rcv_established+0x106/0x160 net/dccp/input.c:364 dccp_v4_do_rcv+0x169/0x1b0 net/dccp/ipv4.c:675 sk_backlog_rcv include/net/sock.h:1121 [inline] __sk_receive_skb+0x2af/0x840 net/core/sock.c:571 dccp_v4_rcv+0x128a/0x1980 net/dccp/ipv4.c:898 ip_protocol_deliver_rcu+0x9f/0x480 net/ipv4/ip_input.c:205 ip_local_deliver_finish+0x2e4/0x510 net/ipv4/ip_input.c:233 NF_HOOK include/linux/netfilter.h:314 [inline] NF_HOOK include/linux/netfilter.h:308 [inline] ip_local_deliver+0x18e/0x1f0 net/ipv4/ip_input.c:254 dst_input include/net/dst.h:461 [inline] ip_rcv_finish+0x1c4/0x2f0 net/ipv4/ip_input.c:449 NF_HOOK include/linux/netfilter.h:314 [inline] NF_HOOK include/linux/netfilter.h:308 [inline] ip_rcv+0xaf/0xd0 net/ipv4/ip_input.c:569 __netif_receive_skb_one_core+0x115/0x180 net/core/dev.c:5532 __netif_receive_skb+0x1f/0x1b0 net/core/dev.c:5646 process_backlog+0x101/0x6b0 net/core/dev.c:5974 __napi_poll.constprop.0+0xb4/0x540 net/core/dev.c:6536 napi_poll net/core/dev.c:6605 [inline] net_rx_action+0x956/0xe90 net/core/dev.c:6738 __do_softirq+0x21a/0x8de kernel/softirq.c:553 invoke_softirq kernel/softirq.c:427 [inline] __irq_exit_rcu kernel/softirq.c:632 [inline] irq_exit_rcu+0xb7/0x120 kernel/softirq.c:644 sysvec_apic_timer_interrupt+0x95/0xb0 arch/x86/kernel/apic/apic.c:1076 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:tcp_error net/netfilter/nf_conntrack_proto_tcp.c:819 [inline] RIP: 0010:nf_conntrack_tcp_packet+0x2d0/0x6820 net/netfilter/nf_conntrack_proto_tcp.c:981 Code: 8d bd e5 11 00 00 48 89 fa 48 c1 ea 03 0f b6 04 02 48 89 fa 83 e2 07 38 d0 7f 08 84 c0 0f 85 f8 45 00 00 0f b6 ad e5 11 00 00 <31> ff 89 ee e8 f7 cb d1 f8 40 84 ed 74 40 e8 bd d0 d1 f8 48 8b 54 RSP: 0018:ffffc90003cff080 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffff88801d22412c RCX: ffffffff88b64360 RDX: 0000000000000005 RSI: ffffffff88b6436e RDI: ffffffff92d3d165 RBP: 0000000000000001 R08: 0000000000000004 R09: 0000000000000b0c R10: 0000000000000020 R11: 00000000ffff0000 R12: 0000000000000b0c R13: 0000000000000020 R14: 0000000000000014 R15: ffff88801d224120 nf_conntrack_handle_packet net/netfilter/nf_conntrack_core.c:1923 [inline] nf_conntrack_in+0x2e9/0x1850 net/netfilter/nf_conntrack_core.c:2013 ipv4_conntrack_local+0x160/0x260 net/netfilter/nf_conntrack_proto.c:229 nf_hook_entry_hookfn include/linux/netfilter.h:154 [inline] nf_hook_slow+0xbb/0x1f0 net/netfilter/core.c:626 nf_hook+0x386/0x6c0 include/linux/netfilter.h:269 __ip_local_out+0x346/0x640 net/ipv4/ip_output.c:118 ip_local_out net/ipv4/ip_output.c:127 [inline] __ip_queue_xmit+0x742/0x1a50 net/ipv4/ip_output.c:535 __tcp_transmit_skb+0x1aa5/0x3d10 net/ipv4/tcp_output.c:1462 tcp_transmit_skb net/ipv4/tcp_output.c:1480 [inline] tcp_write_xmit+0xfcb/0x7f10 net/ipv4/tcp_output.c:2792 __tcp_push_pending_frames+0xaf/0x390 net/ipv4/tcp_output.c:2977 tcp_push+0x22f/0x740 net/ipv4/tcp.c:736 tcp_sendmsg_locked+0x2769/0x3460 net/ipv4/tcp.c:1308 tcp_sendmsg+0x2e/0x40 net/ipv4/tcp.c:1340 inet_sendmsg+0x9d/0xe0 net/ipv4/af_inet.c:847 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg+0xd5/0x180 net/socket.c:745 sock_write_iter+0x29b/0x3d0 net/socket.c:1160 call_write_iter include/linux/fs.h:2085 [inline] new_sync_write fs/read_write.c:497 [inline] vfs_write+0x64f/0xdf0 fs/read_write.c:590 ksys_write+0x1f0/0x250 fs/read_write.c:643 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xd3/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f0638b16bf2 Code: 89 c7 48 89 44 24 08 e8 7b 34 fa ff 48 8b 44 24 08 48 83 c4 28 c3 c3 64 8b 04 25 18 00 00 00 85 c0 75 20 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 76 6f 48 8b 15 07 a2 0d 00 f7 d8 64 89 02 48 83 RSP: 002b:00007ffeb96efcf8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000aec RCX: 00007f0638b16bf2 RDX: 0000000000000aec RSI: 00005584ababadf0 RDI: 0000000000000004 RBP: 00005584aba9c3f0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00005584aa63aaa4 R13: 0000000000000c14 R14: 00005584aa63b3e8 R15: 00007ffeb96efd68 dccp_check_seqno: Step 6 failed for RESET packet, (LSWL(85189918161943) <= P.seqno(0) <= S.SWH(85189918162017)) and (P.ackno exists or LAWL(194849485391615) <= P.ackno(194849485391618) <= S.AWH(194849485391618), sending SYNC... ---------------- Code disassembly (best guess): 0: 8d bd e5 11 00 00 lea 0x11e5(%rbp),%edi 6: 48 89 fa mov %rdi,%rdx 9: 48 c1 ea 03 shr $0x3,%rdx d: 0f b6 04 02 movzbl (%rdx,%rax,1),%eax 11: 48 89 fa mov %rdi,%rdx 14: 83 e2 07 and $0x7,%edx 17: 38 d0 cmp %dl,%al 19: 7f 08 jg 0x23 1b: 84 c0 test %al,%al 1d: 0f 85 f8 45 00 00 jne 0x461b 23: 0f b6 ad e5 11 00 00 movzbl 0x11e5(%rbp),%ebp * 2a: 31 ff xor %edi,%edi <-- trapping instruction 2c: 89 ee mov %ebp,%esi 2e: e8 f7 cb d1 f8 call 0xf8d1cc2a 33: 40 84 ed test %bpl,%bpl 36: 74 40 je 0x78 38: e8 bd d0 d1 f8 call 0xf8d1d0fa 3d: 48 rex.W 3e: 8b .byte 0x8b 3f: 54 push %rsp