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: 56 Comm: kworker/u4:4 Not tainted 6.1.57-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023
Workqueue: bat_events batadv_nc_worker
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106
tfrc_rx_hist_sample_rtt+0x38f/0x4a0 net/dccp/ccids/lib/packet_history.c:414
ccid3_hc_rx_packet_recv+0x6aa/0xf40 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+0x1b3/0x310 net/dccp/input.c:374
dccp_v4_do_rcv+0xfb/0x1e0 net/dccp/ipv4.c:674
sk_backlog_rcv include/net/sock.h:1117 [inline]
__sk_receive_skb+0x41a/0x9d0 net/core/sock.c:567
ip_protocol_deliver_rcu+0x381/0x740 net/ipv4/ip_input.c:205
ip_local_deliver_finish+0x2b4/0x4f0 net/ipv4/ip_input.c:233
NF_HOOK+0x39d/0x450 include/linux/netfilter.h:302
NF_HOOK+0x39d/0x450 include/linux/netfilter.h:302
__netif_receive_skb_one_core net/core/dev.c:5496 [inline]
__netif_receive_skb+0x1c6/0x530 net/core/dev.c:5610
process_backlog+0x381/0x760 net/core/dev.c:5938
__napi_poll+0xc7/0x470 net/core/dev.c:6505
napi_poll net/core/dev.c:6572 [inline]
net_rx_action+0x70f/0xeb0 net/core/dev.c:6683
__do_softirq+0x2e9/0xa4c kernel/softirq.c:571
do_softirq+0x162/0x240 kernel/softirq.c:472
__local_bh_enable_ip+0x1b1/0x1f0 kernel/softirq.c:396
spin_unlock_bh include/linux/spinlock.h:395 [inline]
batadv_nc_purge_paths+0x30e/0x3b0 net/batman-adv/network-coding.c:471
batadv_nc_worker+0x361/0x610 net/batman-adv/network-coding.c:722
process_one_work+0x8a9/0x11d0 kernel/workqueue.c:2292
worker_thread+0xa47/0x1200 kernel/workqueue.c:2439
kthread+0x28d/0x320 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306