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 PID: 7844 Comm: syz-executor.1 Not tainted 5.15.104-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 Call trace: dump_backtrace+0x0/0x530 arch/arm64/kernel/stacktrace.c:152 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:216 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x108/0x170 lib/dump_stack.c:106 dump_stack+0x1c/0x58 lib/dump_stack.c:113 tfrc_rx_hist_sample_rtt+0x31c/0x3f0 net/dccp/ccids/lib/packet_history.c:414 ccid3_hc_rx_packet_recv+0x4e4/0xaf8 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+0xa8/0x188 net/dccp/ipv4.c:669 sk_backlog_rcv include/net/sock.h:1057 [inline] __sk_receive_skb+0x3f0/0x960 net/core/sock.c:528 dccp_v4_rcv+0xec4/0x1458 net/dccp/ipv4.c:892 ip_protocol_deliver_rcu+0x36c/0x770 net/ipv4/ip_input.c:204 ip_local_deliver_finish+0x1b8/0x30c net/ipv4/ip_input.c:231 NF_HOOK+0x324/0x3d0 include/linux/netfilter.h:307 ip_local_deliver+0x11c/0x190 net/ipv4/ip_input.c:252 dst_input include/net/dst.h:459 [inline] ip_rcv_finish+0x22c/0x264 net/ipv4/ip_input.c:447 NF_HOOK+0x324/0x3d0 include/linux/netfilter.h:307 ip_rcv+0x78/0x98 net/ipv4/ip_input.c:566 __netif_receive_skb_one_core net/core/dev.c:5458 [inline] __netif_receive_skb+0x18c/0x400 net/core/dev.c:5572 process_backlog+0x3ec/0x7e0 net/core/dev.c:6449 __napi_poll+0xb4/0x624 net/core/dev.c:7008 napi_poll net/core/dev.c:7075 [inline] net_rx_action+0x500/0xc10 net/core/dev.c:7162 __do_softirq+0x344/0xe20 kernel/softirq.c:558 do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] do_softirq+0x120/0x20c kernel/softirq.c:459 __local_bh_enable_ip+0x2c0/0x4d0 kernel/softirq.c:383 local_bh_enable+0x28/0x1d0 include/linux/bottom_half.h:32 rcu_read_unlock_bh include/linux/rcupdate.h:766 [inline] ip_finish_output2+0xe8c/0x1330 net/ipv4/ip_output.c:229 __ip_finish_output+0x1b0/0x458 ip_finish_output+0x40/0x218 net/ipv4/ip_output.c:316 NF_HOOK_COND include/linux/netfilter.h:296 [inline] ip_output+0x330/0x49c net/ipv4/ip_output.c:430 dst_output include/net/dst.h:449 [inline] ip_local_out net/ipv4/ip_output.c:126 [inline] __ip_queue_xmit+0xe70/0x1930 net/ipv4/ip_output.c:532 ip_queue_xmit+0x5c/0x78 net/ipv4/ip_output.c:546 dccp_transmit_skb+0xa98/0xe74 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+0x544/0x9ec net/dccp/proto.c:794 inet_sendmsg+0x15c/0x290 net/ipv4/af_inet.c:823 sock_sendmsg_nosec net/socket.c:704 [inline] sock_sendmsg net/socket.c:724 [inline] ____sys_sendmsg+0x584/0x870 net/socket.c:2412 ___sys_sendmsg+0x214/0x294 net/socket.c:2466 __sys_sendmsg net/socket.c:2495 [inline] __do_sys_sendmsg net/socket.c:2504 [inline] __se_sys_sendmsg net/socket.c:2502 [inline] __arm64_sys_sendmsg+0x1ac/0x25c net/socket.c:2502 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:596 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:614 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 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 PID: 7880 Comm: syz-executor.5 Not tainted 5.15.104-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 Call trace: dump_backtrace+0x0/0x530 arch/arm64/kernel/stacktrace.c:152 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:216 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x108/0x170 lib/dump_stack.c:106 dump_stack+0x1c/0x58 lib/dump_stack.c:113 tfrc_rx_hist_sample_rtt+0x31c/0x3f0 net/dccp/ccids/lib/packet_history.c:414 ccid3_hc_rx_packet_recv+0x4e4/0xaf8 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+0xa8/0x188 net/dccp/ipv4.c:669 sk_backlog_rcv include/net/sock.h:1057 [inline] __sk_receive_skb+0x3f0/0x960 net/core/sock.c:528 dccp_v4_rcv+0xec4/0x1458 net/dccp/ipv4.c:892 ip_protocol_deliver_rcu+0x36c/0x770 net/ipv4/ip_input.c:204 ip_local_deliver_finish+0x1b8/0x30c net/ipv4/ip_input.c:231 NF_HOOK+0x324/0x3d0 include/linux/netfilter.h:307 ip_local_deliver+0x11c/0x190 net/ipv4/ip_input.c:252 dst_input include/net/dst.h:459 [inline] ip_rcv_finish+0x22c/0x264 net/ipv4/ip_input.c:447 NF_HOOK+0x324/0x3d0 include/linux/netfilter.h:307 ip_rcv+0x78/0x98 net/ipv4/ip_input.c:566 __netif_receive_skb_one_core net/core/dev.c:5458 [inline] __netif_receive_skb+0x18c/0x400 net/core/dev.c:5572 process_backlog+0x3ec/0x7e0 net/core/dev.c:6449 __napi_poll+0xb4/0x624 net/core/dev.c:7008 napi_poll net/core/dev.c:7075 [inline] net_rx_action+0x500/0xc10 net/core/dev.c:7162 __do_softirq+0x344/0xe20 kernel/softirq.c:558 do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] do_softirq+0x120/0x20c kernel/softirq.c:459 __local_bh_enable_ip+0x2c0/0x4d0 kernel/softirq.c:383 local_bh_enable+0x28/0x1d0 include/linux/bottom_half.h:32 rcu_read_unlock_bh include/linux/rcupdate.h:766 [inline] ip_finish_output2+0xe8c/0x1330 net/ipv4/ip_output.c:229 __ip_finish_output+0x1b0/0x458 ip_finish_output+0x40/0x218 net/ipv4/ip_output.c:316 NF_HOOK_COND include/linux/netfilter.h:296 [inline] ip_output+0x330/0x49c net/ipv4/ip_output.c:430 dst_output include/net/dst.h:449 [inline] ip_local_out net/ipv4/ip_output.c:126 [inline] __ip_queue_xmit+0xe70/0x1930 net/ipv4/ip_output.c:532 ip_queue_xmit+0x5c/0x78 net/ipv4/ip_output.c:546 dccp_transmit_skb+0xa98/0xe74 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+0x544/0x9ec net/dccp/proto.c:794 inet_sendmsg+0x15c/0x290 net/ipv4/af_inet.c:823 sock_sendmsg_nosec net/socket.c:704 [inline] sock_sendmsg net/socket.c:724 [inline] ____sys_sendmsg+0x584/0x870 net/socket.c:2412 ___sys_sendmsg+0x214/0x294 net/socket.c:2466 __sys_sendmsg net/socket.c:2495 [inline] __do_sys_sendmsg net/socket.c:2504 [inline] __se_sys_sendmsg net/socket.c:2502 [inline] __arm64_sys_sendmsg+0x1ac/0x25c net/socket.c:2502 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:596 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:614 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584