syzbot


BUG: please report to dccp@vger.kernel.org => prev = NUM, last = NUM at net/dccp/ccids/lib/packet_history.c:LINE/tfrc_rx

Status: upstream: reported syz repro on 2022/07/13 03:43
Reported-by: syzbot+6636d992ba37499afd8c@syzkaller.appspotmail.com
First crash: 712d, last: 604d
Fix bisection: failed (error log, bisect log)
  
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 BUG: please report to dccp@vger.kernel.org => prev = NUM, last = NUM at net/dccp/ccids/lib/packet_history.c:LINE/tfrc_rx C error 7 650d 715d 0/1 upstream: reported C repro on 2022/07/10 15:34
upstream BUG: please report to dccp@vger.kernel.org => prev = NUM, last = NUM at net/dccp/ccids/lib/packet_history.c:LINE/tfrc_rx dccp C unreliable 190 3d17h 1033d 0/27 closed as dup on 2021/08/30 08:50
linux-6.1 BUG: please report to dccp@vger.kernel.org => prev = NUM, last = NUM at net/dccp/ccids/lib/packet_history.c:LINE/tfrc_rx origin:upstream C 21 22d 456d 0/3 upstream: reported C repro on 2023/03/26 07:03
linux-5.15 BUG: please report to dccp@vger.kernel.org => prev = NUM, last = NUM at net/dccp/ccids/lib/packet_history.c:LINE/tfrc_rx origin:upstream C error 56 91d 456d 0/3 upstream: reported C repro on 2023/03/26 07:00
Fix bisection attempts (3)
Created Duration User Patch Repo Result
2023/02/03 12:28 0m bisect fix linux-4.14.y error job log (0)
2022/10/29 13:15 23m bisect fix linux-4.14.y job log (0) log
2022/09/18 15:41 23m bisect fix linux-4.14.y job log (0) log

Sample crash report:
IPv6: ADDRCONF(NETDEV_UP): veth1_macvtap: link is not ready
IPv6: ADDRCONF(NETDEV_CHANGE): veth1_macvtap: link becomes ready
IPv6: ADDRCONF(NETDEV_CHANGE): veth0_macvtap: link becomes ready
device veth0_macvtap entered promiscuous mode
IPv6: ADDRCONF(NETDEV_UP): macvtap0: link is not ready
BUG: please report to dccp@vger.kernel.org => prev = 0, last = 0 at net/dccp/ccids/lib/packet_history.c:424/tfrc_rx_hist_sample_rtt()
device veth1_macvtap entered promiscuous mode
CPU: 1 PID: 9420 Comm: syz-executor.1 Not tainted 4.14.290-syzkaller #0
IPv6: ADDRCONF(NETDEV_UP): macsec0: link is not ready
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022
Call Trace:
 <IRQ>
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x1b2/0x281 lib/dump_stack.c:58
 tfrc_rx_hist_sample_rtt.cold+0x59/0x5e net/dccp/ccids/lib/packet_history.c:424
 ccid3_hc_rx_packet_recv+0x4fd/0xde0 net/dccp/ccids/ccid3.c:766
 ccid_hc_rx_packet_recv net/dccp/ccid.h:185 [inline]
 dccp_deliver_input_to_ccids+0xd3/0x240 net/dccp/input.c:180
 dccp_rcv_established net/dccp/input.c:378 [inline]
 dccp_rcv_established+0xdb/0x140 net/dccp/input.c:368
IPv6: ADDRCONF(NETDEV_UP): veth0_to_batadv: link is not ready
 dccp_v4_do_rcv+0x119/0x170 net/dccp/ipv4.c:656
 sk_backlog_rcv include/net/sock.h:923 [inline]
 __sk_receive_skb+0x5b9/0x960 net/core/sock.c:511
 dccp_v4_rcv+0xe75/0x17e0 net/dccp/ipv4.c:877
IPv6: ADDRCONF(NETDEV_UP): veth1_to_batadv: link is not ready
 ip_local_deliver_finish+0x3f2/0xab0 net/ipv4/ip_input.c:216
 NF_HOOK include/linux/netfilter.h:250 [inline]
 ip_local_deliver+0x167/0x460 net/ipv4/ip_input.c:257
batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3d) already exists on: batadv_slave_0
 dst_input include/net/dst.h:476 [inline]
 ip_rcv_finish+0x6e3/0x19f0 net/ipv4/ip_input.c:396
 NF_HOOK include/linux/netfilter.h:250 [inline]
 ip_rcv+0x8a7/0xf10 net/ipv4/ip_input.c:493
batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems!
 __netif_receive_skb_core+0x15ee/0x2a30 net/core/dev.c:4474
batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3d) already exists on: batadv_slave_0
 __netif_receive_skb+0x27/0x1a0 net/core/dev.c:4512
 process_backlog+0x218/0x6f0 net/core/dev.c:5195
batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems!
 napi_poll net/core/dev.c:5604 [inline]
 net_rx_action+0x466/0xfd0 net/core/dev.c:5670
batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3d) already exists on: batadv_slave_0
 __do_softirq+0x24d/0x9ff kernel/softirq.c:288
batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems!
 do_softirq_own_stack+0x2a/0x40 arch/x86/entry/entry_64.S:1016
 </IRQ>
 do_softirq.part.0+0x154/0x1b0 kernel/softirq.c:332
 do_softirq kernel/softirq.c:324 [inline]
 __local_bh_enable_ip+0x12b/0x170 kernel/softirq.c:185
 local_bh_enable include/linux/bottom_half.h:32 [inline]
 rcu_read_unlock_bh include/linux/rcupdate.h:725 [inline]
 ip_finish_output2+0xbfc/0x1340 net/ipv4/ip_output.c:239
 ip_finish_output+0x37c/0xc50 net/ipv4/ip_output.c:325
batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3d) already exists on: batadv_slave_0
 NF_HOOK_COND include/linux/netfilter.h:239 [inline]
 ip_output+0x1cd/0x510 net/ipv4/ip_output.c:413
batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems!
 dst_output include/net/dst.h:470 [inline]
 ip_local_out+0x93/0x170 net/ipv4/ip_output.c:125
 ip_queue_xmit+0x82b/0x1b40 net/ipv4/ip_output.c:513
 dccp_transmit_skb+0x8d6/0x11e0 net/dccp/output.c:142
batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3d) already exists on: batadv_slave_0
 dccp_xmit_packet+0x1c9/0x6d0 net/dccp/output.c:281
batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems!
 dccp_write_xmit+0x140/0x1a0 net/dccp/output.c:363
 dccp_sendmsg+0x6f6/0x890 net/dccp/proto.c:811
 inet_sendmsg+0x11a/0x4e0 net/ipv4/af_inet.c:762
IPv6: ADDRCONF(NETDEV_UP): batadv_slave_0: link is not ready
 sock_sendmsg_nosec net/socket.c:646 [inline]
 sock_sendmsg+0xb5/0x100 net/socket.c:656
 ___sys_sendmsg+0x6c8/0x800 net/socket.c:2062
batman_adv: batadv0: Interface activated: batadv_slave_0
IPv6: ADDRCONF(NETDEV_CHANGE): macvtap0: link becomes ready
 __sys_sendmsg+0xa3/0x120 net/socket.c:2096
 SYSC_sendmsg net/socket.c:2107 [inline]
 SyS_sendmsg+0x27/0x40 net/socket.c:2103
IPv6: ADDRCONF(NETDEV_CHANGE): macsec0: link becomes ready
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x7fa84fe2c279
IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_0: link becomes ready
RSP: 002b:00007fa84f5a1168 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007fa84ff3ef80 RCX: 00007fa84fe2c279
RDX: 0000000000040000 RSI: 0000000020000400 RDI: 0000000000000005
RBP: 00007fa84fe86189 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fff7b5ba28f R14: 00007fa84f5a1300 R15: 0000000000022000
dccp_close: ABORT with 195 bytes unread
IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_batadv: link becomes ready
dccp_close: ABORT with 195 bytes unread
batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3e) already exists on: batadv_slave_1
Bluetooth: hci1 command 0x0419 tx timeout
Bluetooth: hci2 command 0x0419 tx timeout
Bluetooth: hci0 command 0x0419 tx timeout
Bluetooth: hci3 command 0x0419 tx timeout
batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems!
Bluetooth: hci4 command 0x0419 tx timeout
Bluetooth: hci5 command 0x0419 tx timeout
batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3e) already exists on: batadv_slave_1
batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems!
batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3e) already exists on: batadv_slave_1
batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems!
batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3e) already exists on: batadv_slave_1
batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems!
batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3e) already exists on: batadv_slave_1
batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems!
IPv6: ADDRCONF(NETDEV_UP): batadv_slave_1: link is not ready
batman_adv: batadv0: Interface activated: batadv_slave_1
IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_1: link becomes ready
IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_batadv: link becomes ready
dccp_close: ABORT with 195 bytes unread
dccp_close: ABORT with 195 bytes unread

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/08/19 15:40 linux-4.14.y b641242202ed 26a13b38 .config console log report syz ci2-linux-4-14 BUG: please report to dccp@vger.kernel.org => prev = NUM, last = NUM at net/dccp/ccids/lib/packet_history.c:LINE/tfrc_rx
2022/07/28 23:13 linux-4.14.y 9c3bf9cf362f fb95c74d .config console log report syz ci2-linux-4-14 BUG: please report to dccp@vger.kernel.org => prev = NUM, last = NUM at net/dccp/ccids/lib/packet_history.c:LINE/tfrc_rx
2022/07/13 03:42 linux-4.14.y 424a46ea058e d91dd8ea .config console log report syz ci2-linux-4-14 BUG: please report to dccp@vger.kernel.org => prev = NUM, last = NUM at net/dccp/ccids/lib/packet_history.c:LINE/tfrc_rx
* Struck through repros no longer work on HEAD.