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: 1 PID: 30112 Comm: syz-executor.1 Not tainted 6.7.0-syzkaller-13004-g4fbbed787267 #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:1092 [inline]
__sk_receive_skb+0x2af/0x840 net/core/sock.c:567
dccp_v4_rcv+0x1281/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+0x1b8/0x2e0 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:5534
__netif_receive_skb+0x1f/0x1b0 net/core/dev.c:5648
process_backlog+0x101/0x6b0 net/core/dev.c:5976
__napi_poll.constprop.0+0xb4/0x540 net/core/dev.c:6576
napi_poll net/core/dev.c:6645 [inline]
net_rx_action+0x956/0xe90 net/core/dev.c:6778
__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:__sanitizer_cov_trace_pc+0x49/0x60 kernel/kcov.c:212
Code: f6 c4 01 74 35 8b 82 fc 15 00 00 85 c0 74 2b 8b 82 d8 15 00 00 83 f8 02 75 20 48 8b 8a e0 15 00 00 8b 92 dc 15 00 00 48 8b 01 <48> 83 c0 01 48 39 d0 73 07 48 89 01 48 89 34 c1 c3 66 0f 1f 44 00
RSP: 0018:ffffc9000437f4b0 EFLAGS: 00000246
RAX: 0000000000006832 RBX: ffffc9000437f5d8 RCX: ffffc90004ec9000
RDX: 0000000000040000 RSI: ffffffff813a4465 RDI: 0000000000000005
RBP: ffffc9000437f5a0 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000001 R12: ffffc9000437f5e0
R13: ffffc9000437f5e8 R14: ffffc90004378000 R15: 0000000000000001
on_stack arch/x86/include/asm/stacktrace.h:59 [inline]
stack_access_ok+0x1c5/0x270 arch/x86/kernel/unwind_orc.c:393
deref_stack_reg arch/x86/kernel/unwind_orc.c:403 [inline]
unwind_next_frame+0x1a98/0x2390 arch/x86/kernel/unwind_orc.c:648
__unwind_start+0x5a4/0x880 arch/x86/kernel/unwind_orc.c:760
unwind_start arch/x86/include/asm/unwind.h:64 [inline]
arch_stack_walk+0xaf/0x170 arch/x86/kernel/stacktrace.c:24
stack_trace_save+0x96/0xd0 kernel/stacktrace.c:122
kasan_save_stack+0x33/0x50 mm/kasan/common.c:47
kasan_save_track+0x14/0x30 mm/kasan/common.c:68
poison_kmalloc_redzone mm/kasan/common.c:372 [inline]
__kasan_kmalloc+0xa2/0xb0 mm/kasan/common.c:389
kasan_kmalloc include/linux/kasan.h:211 [inline]
__do_kmalloc_node mm/slub.c:3981 [inline]
__kmalloc+0x1f9/0x440 mm/slub.c:3994
kmalloc include/linux/slab.h:594 [inline]
sock_kmalloc+0x10d/0x170 net/core/sock.c:2684
____sys_sendmsg+0x6ea/0x940 net/socket.c:2556
___sys_sendmsg+0x135/0x1d0 net/socket.c:2638
__sys_sendmmsg+0x1a1/0x450 net/socket.c:2724
__do_sys_sendmmsg net/socket.c:2753 [inline]
__se_sys_sendmmsg net/socket.c:2750 [inline]
__x64_sys_sendmmsg+0x9c/0x100 net/socket.c:2750
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:0x7fc18a07cda9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fc1893ff0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000133
RAX: ffffffffffffffda RBX: 00007fc18a1abf80 RCX: 00007fc18a07cda9
RDX: 0000000000000004 RSI: 0000000020001700 RDI: 0000000000000005
RBP: 00007fc18a0c947a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000004000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007fc18a1abf80 R15: 00007ffd7f075708
----------------
Code disassembly (best guess):
0: f6 c4 01 test $0x1,%ah
3: 74 35 je 0x3a
5: 8b 82 fc 15 00 00 mov 0x15fc(%rdx),%eax
b: 85 c0 test %eax,%eax
d: 74 2b je 0x3a
f: 8b 82 d8 15 00 00 mov 0x15d8(%rdx),%eax
15: 83 f8 02 cmp $0x2,%eax
18: 75 20 jne 0x3a
1a: 48 8b 8a e0 15 00 00 mov 0x15e0(%rdx),%rcx
21: 8b 92 dc 15 00 00 mov 0x15dc(%rdx),%edx
27: 48 8b 01 mov (%rcx),%rax
* 2a: 48 83 c0 01 add $0x1,%rax <-- trapping instruction
2e: 48 39 d0 cmp %rdx,%rax
31: 73 07 jae 0x3a
33: 48 89 01 mov %rax,(%rcx)
36: 48 89 34 c1 mov %rsi,(%rcx,%rax,8)
3a: c3 ret
3b: 66 data16
3c: 0f .byte 0xf
3d: 1f (bad)
3e: 44 rex.R