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: 1 PID: 6010 Comm: syz-executor409 Not tainted 6.3.0-rc3-syzkaller-ge8d018dd0257 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 Call trace: dump_backtrace+0x1c8/0x1f4 arch/arm64/kernel/stacktrace.c:158 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:165 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd0/0x124 lib/dump_stack.c:106 dump_stack+0x1c/0x28 lib/dump_stack.c:113 tfrc_rx_hist_sample_rtt+0x34c/0x444 net/dccp/ccids/lib/packet_history.c:414 ccid3_hc_rx_packet_recv+0x554/0xc98 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+0x1ac/0x2d8 net/dccp/input.c:374 dccp_v4_do_rcv+0xe8/0x1d4 net/dccp/ipv4.c:674 sk_backlog_rcv include/net/sock.h:1113 [inline] __sk_receive_skb+0x3f8/0x900 net/core/sock.c:565 dccp_v4_rcv+0xcc8/0x1254 net/dccp/ipv4.c:897 ip_protocol_deliver_rcu+0x504/0xc8c net/ipv4/ip_input.c:205 ip_local_deliver_finish+0x23c/0x46c net/ipv4/ip_input.c:233 NF_HOOK+0x328/0x3d4 include/linux/netfilter.h:302 ip_local_deliver+0x11c/0x190 net/ipv4/ip_input.c:254 dst_input include/net/dst.h:454 [inline] ip_rcv_finish+0x224/0x250 net/ipv4/ip_input.c:449 NF_HOOK+0x328/0x3d4 include/linux/netfilter.h:302 ip_rcv+0x78/0x98 net/ipv4/ip_input.c:569 __netif_receive_skb_one_core net/core/dev.c:5479 [inline] __netif_receive_skb+0x18c/0x400 net/core/dev.c:5593 process_backlog+0x3c0/0x70c net/core/dev.c:5921 __napi_poll+0xb4/0x648 net/core/dev.c:6482 napi_poll net/core/dev.c:6549 [inline] net_rx_action+0x5b8/0xc9c net/core/dev.c:6659 __do_softirq+0x2dc/0xd60 kernel/softirq.c:571 ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:80 call_on_irq_stack+0x24/0x4c arch/arm64/kernel/entry.S:899 do_softirq_own_stack+0x20/0x2c arch/arm64/kernel/irq.c:85 do_softirq+0x11c/0x1d8 kernel/softirq.c:472 __local_bh_enable_ip+0x2b0/0x4ac kernel/softirq.c:396 local_bh_enable+0x28/0x1b0 include/linux/bottom_half.h:33 rcu_read_unlock_bh include/linux/rcupdate.h:843 [inline] ip_finish_output2+0xd2c/0x11a0 net/ipv4/ip_output.c:229 __ip_finish_output+0x1b0/0x458 ip_finish_output+0x40/0x268 net/ipv4/ip_output.c:316 NF_HOOK_COND include/linux/netfilter.h:291 [inline] ip_output+0x330/0x49c net/ipv4/ip_output.c:430 dst_output include/net/dst.h:444 [inline] ip_local_out net/ipv4/ip_output.c:126 [inline] __ip_queue_xmit+0xe8c/0x1a00 net/ipv4/ip_output.c:532 ip_queue_xmit+0x5c/0x78 net/ipv4/ip_output.c:546 dccp_transmit_skb+0xbd4/0x11dc net/dccp/output.c:138 dccp_xmit_packet+0x234/0x448 net/dccp/output.c:281 dccp_write_xmit+0x128/0x208 net/dccp/output.c:366 dccp_sendmsg+0x54c/0x9f4 net/dccp/proto.c:788 inet_sendmsg+0x15c/0x290 net/ipv4/af_inet.c:825 sock_sendmsg_nosec net/socket.c:724 [inline] sock_sendmsg net/socket.c:747 [inline] ____sys_sendmsg+0x568/0x81c net/socket.c:2501 ___sys_sendmsg net/socket.c:2555 [inline] __sys_sendmsg+0x26c/0x33c net/socket.c:2584 __do_sys_sendmsg net/socket.c:2593 [inline] __se_sys_sendmsg net/socket.c:2591 [inline] __arm64_sys_sendmsg+0x80/0x94 net/socket.c:2591 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x64/0x198 arch/arm64/kernel/syscall.c:193 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:591 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: 1 PID: 6017 Comm: syz-executor409 Not tainted 6.3.0-rc3-syzkaller-ge8d018dd0257 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 Call trace: dump_backtrace+0x1c8/0x1f4 arch/arm64/kernel/stacktrace.c:158 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:165 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd0/0x124 lib/dump_stack.c:106 dump_stack+0x1c/0x28 lib/dump_stack.c:113 tfrc_rx_hist_sample_rtt+0x34c/0x444 net/dccp/ccids/lib/packet_history.c:414 ccid3_hc_rx_packet_recv+0x554/0xc98 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+0x1ac/0x2d8 net/dccp/input.c:374 dccp_v4_do_rcv+0xe8/0x1d4 net/dccp/ipv4.c:674 sk_backlog_rcv include/net/sock.h:1113 [inline] __sk_receive_skb+0x3f8/0x900 net/core/sock.c:565 dccp_v4_rcv+0xcc8/0x1254 net/dccp/ipv4.c:897 ip_protocol_deliver_rcu+0x504/0xc8c net/ipv4/ip_input.c:205 ip_local_deliver_finish+0x23c/0x46c net/ipv4/ip_input.c:233 NF_HOOK+0x328/0x3d4 include/linux/netfilter.h:302 ip_local_deliver+0x11c/0x190 net/ipv4/ip_input.c:254 dst_input include/net/dst.h:454 [inline] ip_rcv_finish+0x224/0x250 net/ipv4/ip_input.c:449 NF_HOOK+0x328/0x3d4 include/linux/netfilter.h:302 ip_rcv+0x78/0x98 net/ipv4/ip_input.c:569 __netif_receive_skb_one_core net/core/dev.c:5479 [inline] __netif_receive_skb+0x18c/0x400 net/core/dev.c:5593 process_backlog+0x3c0/0x70c net/core/dev.c:5921 __napi_poll+0xb4/0x648 net/core/dev.c:6482 napi_poll net/core/dev.c:6549 [inline] net_rx_action+0x5b8/0xc9c net/core/dev.c:6659 __do_softirq+0x2dc/0xd60 kernel/softirq.c:571 ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:80 call_on_irq_stack+0x24/0x4c arch/arm64/kernel/entry.S:899 do_softirq_own_stack+0x20/0x2c arch/arm64/kernel/irq.c:85 do_softirq+0x11c/0x1d8 kernel/softirq.c:472 __local_bh_enable_ip+0x2b0/0x4ac kernel/softirq.c:396 local_bh_enable+0x28/0x1b0 include/linux/bottom_half.h:33 rcu_read_unlock_bh include/linux/rcupdate.h:843 [inline] ip_finish_output2+0xd2c/0x11a0 net/ipv4/ip_output.c:229 __ip_finish_output+0x1b0/0x458 ip_finish_output+0x40/0x268 net/ipv4/ip_output.c:316 NF_HOOK_COND include/linux/netfilter.h:291 [inline] ip_output+0x330/0x49c net/ipv4/ip_output.c:430 dst_output include/net/dst.h:444 [inline] ip_local_out net/ipv4/ip_output.c:126 [inline] __ip_queue_xmit+0xe8c/0x1a00 net/ipv4/ip_output.c:532 ip_queue_xmit+0x5c/0x78 net/ipv4/ip_output.c:546 dccp_transmit_skb+0xbd4/0x11dc net/dccp/output.c:138 dccp_xmit_packet+0x234/0x448 net/dccp/output.c:281 dccp_write_xmit+0x128/0x208 net/dccp/output.c:366 dccp_sendmsg+0x54c/0x9f4 net/dccp/proto.c:788 inet_sendmsg+0x15c/0x290 net/ipv4/af_inet.c:825 sock_sendmsg_nosec net/socket.c:724 [inline] sock_sendmsg net/socket.c:747 [inline] ____sys_sendmsg+0x568/0x81c net/socket.c:2501 ___sys_sendmsg net/socket.c:2555 [inline] __sys_sendmsg+0x26c/0x33c net/socket.c:2584 __do_sys_sendmsg net/socket.c:2593 [inline] __se_sys_sendmsg net/socket.c:2591 [inline] __arm64_sys_sendmsg+0x80/0x94 net/socket.c:2591 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x64/0x198 arch/arm64/kernel/syscall.c:193 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:591