syzbot


BUG: "hc->tx_t_ipi == NUM" holds (exception!) at net/dccp/ccids/ccid3.c:LINE/ccid3_update_send_interval()

Status: upstream: reported C repro on 2022/01/10 16:16
Reported-by: syzbot+94641ba6c1d768b1e35e@syzkaller.appspotmail.com
First crash: 171d, last: 2d04h

Cause bisection: the issue happens on the oldest tested release (bisect log)
Crash: BUG: "hc->tx_t_ipi == NUM" holds (exception!) at net/dccp/ccids/ccid3.c:LINE/ccid3_update_send_interval() (log)
Repro: C syz .config
similar bugs (2):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 BUG: "hc->tx_t_ipi == NUM" holds (exception!) at net/dccp/ccids/ccid3.c:LINE/ccid3_update_send_interval() C 1 18d 138d 0/1 upstream: reported C repro on 2022/02/11 04:42
linux-4.19 BUG: "hc->tx_t_ipi == NUM" holds (exception!) at net/dccp/ccids/ccid3.c:LINE/ccid3_update_send_interval() C error 9 25d 158d 0/1 upstream: reported C repro on 2022/01/22 17:14

Sample crash report:
BUG: "hc->tx_t_ipi == 0" holds (exception!) at net/dccp/ccids/ccid3.c:90/ccid3_update_send_interval()
CPU: 0 PID: 3603 Comm: syz-executor146 Not tainted 5.18.0-rc7-syzkaller-00006-g210e04ff7681 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106
 ccid3_update_send_interval net/dccp/ccids/ccid3.c:90 [inline]
 ccid3_update_send_interval.cold+0x87/0x93 net/dccp/ccids/ccid3.c:86
 ccid3_hc_tx_update_s net/dccp/ccids/ccid3.c:169 [inline]
 ccid3_hc_tx_packet_sent+0x12e/0x160 net/dccp/ccids/ccid3.c:353
 ccid_hc_tx_packet_sent net/dccp/ccid.h:175 [inline]
 dccp_xmit_packet+0x2f2/0x750 net/dccp/output.c:289
 dccp_write_xmit+0x16d/0x1d0 net/dccp/output.c:366
 dccp_sendmsg+0x927/0xc90 net/dccp/proto.c:783
 inet_sendmsg+0x99/0xe0 net/ipv4/af_inet.c:819
 sock_sendmsg_nosec net/socket.c:705 [inline]
 sock_sendmsg+0xcf/0x120 net/socket.c:725
 ____sys_sendmsg+0x32b/0x800 net/socket.c:2413
 ___sys_sendmsg+0xf3/0x170 net/socket.c:2467
 __sys_sendmmsg+0x195/0x470 net/socket.c:2553
 __do_sys_sendmmsg net/socket.c:2582 [inline]
 __se_sys_sendmmsg net/socket.c:2579 [inline]
 __x64_sys_sendmmsg+0x99/0x100 net/socket.c:2579
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f9613107f89
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 11 15 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f9613077308 EFLAGS: 00000246 ORIG_RAX: 0000000000000133
RAX: ffffffffffffffda RBX: 0000000000000011 RCX: 00007f9613107f89
RDX: 0000000000000503 RSI: 0000000020000ac0 RDI: 0000000000000004
RBP: 00007f9613190428 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f9613190420
R13: 00007f961315e064 R14: 00007f9613077400 R15: 0000000000022000
 </TASK>

Fix bisection attempts:
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce 2022/06/27 23:00 upstream 941e3e791269 744a39e2 .config log report syz C
ci-upstream-kasan-gce 2022/05/14 15:08 upstream ec7f49619d8e 214351e1 .config log report syz C
ci-upstream-kasan-gce 2022/03/24 10:49 upstream ed4643521e6a 214351e1 .config log report syz C
Crashes (20):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce 2022/05/18 09:44 upstream 210e04ff7681 744a39e2 .config log report syz C BUG: "hc->tx_t_ipi == NUM" holds (exception!) at net/dccp/ccids/ccid3.c:LINE/ccid3_update_send_interval()
ci-upstream-kasan-gce 2022/05/15 07:17 upstream 2fe1020d73ca 744a39e2 .config log report syz C BUG: "hc->tx_t_ipi == NUM" holds (exception!) at net/dccp/ccids/ccid3.c:LINE/ccid3_update_send_interval()
ci-upstream-kasan-gce-smack-root 2022/05/15 06:40 upstream 2fe1020d73ca 744a39e2 .config log report syz C BUG: "hc->tx_t_ipi == NUM" holds (exception!) at net/dccp/ccids/ccid3.c:LINE/ccid3_update_send_interval()
ci-upstream-kasan-gce 2022/01/24 07:32 upstream dd81e1c7d5fb 214351e1 .config log report syz C BUG: "hc->tx_t_ipi == NUM" holds (exception!) at net/dccp/ccids/ccid3.c:LINE/ccid3_update_send_interval()
ci-upstream-net-this-kasan-gce 2022/05/18 09:45 net 23dd4581350d 744a39e2 .config log report syz C BUG: "hc->tx_t_ipi == NUM" holds (exception!) at net/dccp/ccids/ccid3.c:LINE/ccid3_update_send_interval()
ci-upstream-net-kasan-gce 2022/05/18 10:35 net-next 6e144b47f560 744a39e2 .config log report syz C BUG: "hc->tx_t_ipi == NUM" holds (exception!) at net/dccp/ccids/ccid3.c:LINE/ccid3_update_send_interval()
ci-upstream-net-kasan-gce 2022/05/15 08:29 net-next d9713088158b 744a39e2 .config log report syz C BUG: "hc->tx_t_ipi == NUM" holds (exception!) at net/dccp/ccids/ccid3.c:LINE/ccid3_update_send_interval()
ci-upstream-net-kasan-gce 2022/01/09 11:15 net-next 82192cb497f9 2ca0d385 .config log report syz C BUG: "hc->tx_t_ipi == NUM" holds (exception!) at net/dccp/ccids/ccid3.c:LINE/ccid3_update_send_interval()
ci-upstream-net-this-kasan-gce 2022/05/15 07:02 net 9500acc631db 744a39e2 .config log report syz BUG: "hc->tx_t_ipi == NUM" holds (exception!) at net/dccp/ccids/ccid3.c:LINE/ccid3_update_send_interval()
ci-upstream-kasan-gce-selinux-root 2022/05/28 22:39 upstream 9d004b2f4fea a46af346 .config log report info BUG: "hc->tx_t_ipi == NUM" holds (exception!) at net/dccp/ccids/ccid3.c:LINE/ccid3_update_send_interval()
ci-upstream-kasan-gce-smack-root 2022/05/15 06:11 upstream 2fe1020d73ca 744a39e2 .config log report info BUG: "hc->tx_t_ipi == NUM" holds (exception!) at net/dccp/ccids/ccid3.c:LINE/ccid3_update_send_interval()
ci-upstream-kasan-gce 2022/04/09 23:26 upstream f1b45d8ccb98 e22c3da3 .config log report info BUG: "hc->tx_t_ipi == NUM" holds (exception!) at net/dccp/ccids/ccid3.c:LINE/ccid3_update_send_interval()
ci-upstream-kasan-gce-smack-root 2022/02/20 03:21 upstream 4f12b742eb2b 3cd800e4 .config log report info BUG: "hc->tx_t_ipi == NUM" holds (exception!) at net/dccp/ccids/ccid3.c:LINE/ccid3_update_send_interval()
ci-upstream-kasan-gce 2022/02/09 03:14 upstream e6251ab4551f 0b33604d .config log report info BUG: "hc->tx_t_ipi == NUM" holds (exception!) at net/dccp/ccids/ccid3.c:LINE/ccid3_update_send_interval()
ci-upstream-kasan-gce-selinux-root 2022/01/17 09:41 upstream 79e06c4c4950 723cfaf0 .config log report info BUG: "hc->tx_t_ipi == NUM" holds (exception!) at net/dccp/ccids/ccid3.c:LINE/ccid3_update_send_interval()
ci-upstream-kasan-gce-386 2022/01/15 09:17 upstream 112450df61b7 723cfaf0 .config log report info BUG: "hc->tx_t_ipi == NUM" holds (exception!) at net/dccp/ccids/ccid3.c:LINE/ccid3_update_send_interval()
ci-upstream-net-this-kasan-gce 2022/04/14 14:47 net 00fa91bc9cc2 b17b2923 .config log report info BUG: "hc->tx_t_ipi == NUM" holds (exception!) at net/dccp/ccids/ccid3.c:LINE/ccid3_update_send_interval()
ci-upstream-net-this-kasan-gce 2022/01/12 08:05 net 29b3881b7977 44d1319a .config log report info BUG: "hc->tx_t_ipi == NUM" holds (exception!) at net/dccp/ccids/ccid3.c:LINE/ccid3_update_send_interval()
ci-upstream-net-kasan-gce 2022/02/22 09:03 net-next 7b779cc8846a 6e821dbf .config log report info BUG: "hc->tx_t_ipi == NUM" holds (exception!) at net/dccp/ccids/ccid3.c:LINE/ccid3_update_send_interval()
ci-upstream-net-kasan-gce 2022/01/09 05:57 net-next 82192cb497f9 2ca0d385 .config log report info BUG: "hc->tx_t_ipi == NUM" holds (exception!) at net/dccp/ccids/ccid3.c:LINE/ccid3_update_send_interval()