BUG: please report to dccp@vger.kernel.org => prev = 0, last = 0 at net/dccp/ccids/lib/packet_history.c:417/tfrc_rx_hist_sample_rtt() CPU: 0 UID: 0 PID: 9405 Comm: syz.1.1126 Not tainted 6.12.0-rc1-syzkaller-00237-gcf9545686230 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120 tfrc_rx_hist_sample_rtt+0x397/0x4b0 net/dccp/ccids/lib/packet_history.c:414 ccid3_hc_rx_packet_recv+0x69d/0xe60 net/dccp/ccids/ccid3.c:760 ccid_hc_rx_packet_recv net/dccp/ccid.h:182 [inline] dccp_deliver_input_to_ccids net/dccp/input.c:176 [inline] dccp_rcv_established+0x1bb/0x320 net/dccp/input.c:374 dccp_v4_do_rcv+0xff/0x1f0 net/dccp/ipv4.c:680 sk_backlog_rcv include/net/sock.h:1119 [inline] __sk_receive_skb+0x82b/0x8b0 net/core/sock.c:570 ip_protocol_deliver_rcu+0x2e9/0x440 net/ipv4/ip_input.c:205 ip_local_deliver_finish+0x341/0x5f0 net/ipv4/ip_input.c:233 NF_HOOK+0x3a4/0x450 include/linux/netfilter.h:314 NF_HOOK+0x3a4/0x450 include/linux/netfilter.h:314 __netif_receive_skb_one_core net/core/dev.c:5666 [inline] __netif_receive_skb+0x2bf/0x650 net/core/dev.c:5779 process_backlog+0x662/0x15b0 net/core/dev.c:6111 __napi_poll+0xcb/0x490 net/core/dev.c:6775 napi_poll net/core/dev.c:6844 [inline] net_rx_action+0x89b/0x1240 net/core/dev.c:6966 handle_softirqs+0x2c5/0x980 kernel/softirq.c:554 __do_softirq kernel/softirq.c:588 [inline] invoke_softirq kernel/softirq.c:428 [inline] __irq_exit_rcu+0xf4/0x1c0 kernel/softirq.c:637 irq_exit_rcu+0x9/0x30 kernel/softirq.c:649 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1037 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1037 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:memset_orig+0x75/0xb0 arch/x86/lib/memset_64.S:90 Code: 89 47 30 48 89 47 38 48 8d 7f 40 75 d8 0f 1f 84 00 00 00 00 00 89 d1 83 e1 38 74 14 c1 e9 03 66 0f 1f 44 00 00 ff c9 48 89 07 <48> 8d 7f 08 75 f5 83 e2 07 74 0a ff ca 88 07 48 8d 7f 01 75 f6 4c RSP: 0018:ffffc90003f8e9e8 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffff888061ec9580 RCX: 0000000000000000 RDX: 0000000000000020 RSI: 0000000000000000 RDI: ffff888061ec9598 RBP: 0000000000000000 R08: ffffffff84f4154d R09: 0000000000000000 R10: ffff888061ec9580 R11: fffff520007f1d60 R12: 0000000000000020 R13: ffff88801ac41780 R14: ffffffff84f4159b R15: 0000000000002920 slab_post_alloc_hook mm/slub.c:4089 [inline] slab_alloc_node mm/slub.c:4135 [inline] __kmalloc_cache_noprof+0x156/0x2c0 mm/slub.c:4291 kmalloc_noprof include/linux/slab.h:878 [inline] kzalloc_noprof include/linux/slab.h:1014 [inline] ref_tracker_alloc+0x14b/0x490 lib/ref_tracker.c:203 __netdev_tracker_alloc include/linux/netdevice.h:4054 [inline] netdev_hold include/linux/netdevice.h:4083 [inline] dst_init+0xee/0x490 net/core/dst.c:52 dst_alloc+0x14f/0x190 net/core/dst.c:93 rt_dst_alloc net/ipv4/route.c:1612 [inline] __mkroute_output net/ipv4/route.c:2577 [inline] ip_route_output_key_hash_rcu+0x13cc/0x2390 net/ipv4/route.c:2799 ip_route_output_key_hash+0x193/0x2b0 net/ipv4/route.c:2628 __ip_route_output_key include/net/route.h:141 [inline] ip_route_output_flow+0x29/0x140 net/ipv4/route.c:2856 ip_route_output_key include/net/route.h:151 [inline] sctp_v4_get_dst+0x488/0x14a0 net/sctp/protocol.c:453 sctp_transport_route+0x12c/0x2e0 net/sctp/transport.c:455 sctp_assoc_add_peer+0x614/0x15c0 net/sctp/associola.c:662 sctp_process_param net/sctp/sm_make_chunk.c:2576 [inline] sctp_process_init+0xe40/0x2b20 net/sctp/sm_make_chunk.c:2396 sctp_cmd_process_init net/sctp/sm_sideeffect.c:706 [inline] sctp_cmd_interpreter net/sctp/sm_sideeffect.c:1389 [inline] sctp_side_effects net/sctp/sm_sideeffect.c:1198 [inline] sctp_do_sm+0x19aa/0x60c0 net/sctp/sm_sideeffect.c:1169 sctp_assoc_bh_rcv+0x3f1/0x640 net/sctp/associola.c:1051 sctp_backlog_rcv+0x177/0x3f0 net/sctp/input.c:331 sk_backlog_rcv include/net/sock.h:1119 [inline] __release_sock+0x243/0x350 net/core/sock.c:3085 release_sock+0x61/0x1f0 net/core/sock.c:3639 sctp_wait_for_connect+0x3ce/0x6e0 net/sctp/socket.c:9352 sctp_sendmsg_to_asoc+0x1404/0x1800 net/sctp/socket.c:1885 sctp_sendmsg+0x1bc3/0x3520 net/sctp/socket.c:2031 sock_sendmsg_nosec net/socket.c:729 [inline] __sock_sendmsg+0x1a6/0x270 net/socket.c:744 __sys_sendto+0x39b/0x4f0 net/socket.c:2209 __do_sys_sendto net/socket.c:2221 [inline] __se_sys_sendto net/socket.c:2217 [inline] __x64_sys_sendto+0xde/0x100 net/socket.c:2217 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f2952f7dff9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f2953cfd038 EFLAGS: 00000246 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007f2953135f80 RCX: 00007f2952f7dff9 RDX: 0000000000000001 RSI: 0000000020000500 RDI: 0000000000000007 RBP: 00007f2952ff0296 R08: 0000000020000000 R09: 0000000000000010 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f2953135f80 R15: 00007ffd34bb9f08 dccp_check_seqno: Step 6 failed for CLOSEREQ packet, (LSWL(100466406198339) <= P.seqno(100466406198338) <= S.SWH(100466406198413)) and (P.ackno exists or LAWL(29836505530800) <= P.ackno(29836505530800) <= S.AWH(29836505530800), sending SYNC... ---------------- Code disassembly (best guess): 0: 89 47 30 mov %eax,0x30(%rdi) 3: 48 89 47 38 mov %rax,0x38(%rdi) 7: 48 8d 7f 40 lea 0x40(%rdi),%rdi b: 75 d8 jne 0xffffffe5 d: 0f 1f 84 00 00 00 00 nopl 0x0(%rax,%rax,1) 14: 00 15: 89 d1 mov %edx,%ecx 17: 83 e1 38 and $0x38,%ecx 1a: 74 14 je 0x30 1c: c1 e9 03 shr $0x3,%ecx 1f: 66 0f 1f 44 00 00 nopw 0x0(%rax,%rax,1) 25: ff c9 dec %ecx 27: 48 89 07 mov %rax,(%rdi) * 2a: 48 8d 7f 08 lea 0x8(%rdi),%rdi <-- trapping instruction 2e: 75 f5 jne 0x25 30: 83 e2 07 and $0x7,%edx 33: 74 0a je 0x3f 35: ff ca dec %edx 37: 88 07 mov %al,(%rdi) 39: 48 8d 7f 01 lea 0x1(%rdi),%rdi 3d: 75 f6 jne 0x35 3f: 4c rex.WR