Hello,
syzbot found the following issue on:
HEAD commit: e3a87a10f259 Linux 6.1.21
git tree: linux-6.1.y
console output:
https://syzkaller.appspot.com/x/log.txt?x=13fb6bcec80000
kernel config:
https://syzkaller.appspot.com/x/.config?x=390800ef8aeebc47
dashboard link:
https://syzkaller.appspot.com/bug?extid=6b3815bf8825a0399316
compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2
userspace arch: arm64
Unfortunately, I don't have any reproducer for this issue yet.
Downloadable assets:
disk image:
https://storage.googleapis.com/syzbot-assets/9f5022ccd560/disk-e3a87a10.raw.xz
vmlinux:
https://storage.googleapis.com/syzbot-assets/f8524664c631/vmlinux-e3a87a10.xz
kernel image:
https://storage.googleapis.com/syzbot-assets/ad699b30c2c4/Image-e3a87a10.gz.xz
IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by:
[email protected]
BUG: please report to
[email protected] => prev = 0, last = 0 at net/dccp/ccids/lib/packet_history.c:417/tfrc_rx_hist_sample_rtt()
CPU: 1 PID: 6078 Comm: syz-executor.3 Not tainted 6.1.21-syzkaller #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+0x108/0x170 lib/dump_stack.c:106
dump_stack+0x1c/0x5c 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:1109 [inline]
__sk_receive_skb+0x3f8/0x900 net/core/sock.c:565
dccp_v4_rcv+0xf2c/0x1564 net/dccp/ipv4.c:897
ip_protocol_deliver_rcu+0x340/0x764 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:5491 [inline]
__netif_receive_skb+0x18c/0x400 net/core/dev.c:5605
process_backlog+0x410/0x784 net/core/dev.c:5933
__napi_poll+0xb4/0x3f0 net/core/dev.c:6500
napi_poll net/core/dev.c:6567 [inline]
net_rx_action+0x5cc/0xd3c net/core/dev.c:6678
__do_softirq+0x30c/0xea0 kernel/softirq.c:571
____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:79
call_on_irq_stack+0x2c/0x54 arch/arm64/kernel/entry.S:889
do_softirq_own_stack+0x20/0x2c arch/arm64/kernel/irq.c:84
do_softirq+0x120/0x20c kernel/softirq.c:472
__local_bh_enable_ip+0x2c0/0x4d0 kernel/softirq.c:396
local_bh_enable+0x28/0x1d0 include/linux/bottom_half.h:33
rcu_read_unlock_bh include/linux/rcupdate.h:817 [inline]
ip_finish_output2+0xd40/0x11b4 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+0x570/0xa8c net/dccp/proto.c:782
inet_sendmsg+0x15c/0x290 net/ipv4/af_inet.c:828
sock_sendmsg_nosec net/socket.c:716 [inline]
sock_sendmsg net/socket.c:736 [inline]
____sys_sendmsg+0x558/0x844 net/socket.c:2482
___sys_sendmsg net/socket.c:2536 [inline]
__sys_sendmsg+0x26c/0x33c net/socket.c:2565
__do_sys_sendmsg net/socket.c:2574 [inline]
__se_sys_sendmsg net/socket.c:2572 [inline]
__arm64_sys_sendmsg+0x80/0x94 net/socket.c:2572
__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/0x218 arch/arm64/kernel/syscall.c:206
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+0x18c/0x190 arch/arm64/kernel/entry.S:581