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: 334d, last: 33d

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 2 34d 301d 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 13 67d 321d 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: 3612 Comm: syz-executor409 Not tainted 6.0.0-syzkaller-09039-ga6afa4199d3d #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022
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/0x740 net/dccp/output.c:289
 dccp_write_xmit+0x16d/0x1d0 net/dccp/output.c:366
 dccp_sendmsg+0xa80/0xca0 net/dccp/proto.c:783
 inet_sendmsg+0x99/0xe0 net/ipv4/af_inet.c:819
 sock_sendmsg_nosec net/socket.c:714 [inline]
 sock_sendmsg+0xcf/0x120 net/socket.c:734
 ____sys_sendmsg+0x334/0x8c0 net/socket.c:2482
 ___sys_sendmsg+0x110/0x1b0 net/socket.c:2536
 __sys_sendmmsg+0x18b/0x460 net/socket.c:2622
 __do_sys_sendmmsg net/socket.c:2651 [inline]
 __se_sys_sendmmsg net/socket.c:2648 [inline]
 __x64_sys_sendmmsg+0x99/0x100 net/socket.c:2648
 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+0x63/0xcd
RIP: 0033:0x7fdedd5be639
Code: 28 c3 e8 4a 15 00 00 66 2e 0f 1f 84 00 00 00 00 00 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 c0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffd26373258 EFLAGS: 00000246 ORIG_RAX: 0000000000000133
RAX: ffffffffffffffda RBX: 0000000000000012 RCX: 00007fdedd5be639
RDX: 0000000000000001 RSI: 0000000020001e80 RDI: 0000000000000004
RBP: 0000000000000003 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffd26373270
R13: 00007ffd26373290 R14: 0000000000000000 R15: 0000000000000000
 </TASK>
BUG: "hc->tx_t_ipi == 0" holds (exception!) at net/dccp/ccids/ccid3.c:90/ccid3_update_send_interval()
CPU: 1 PID: 3612 Comm: syz-executor409 Not tainted 6.0.0-syzkaller-09039-ga6afa4199d3d #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022
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/0x740 net/dccp/output.c:289
 dccp_write_xmit+0x16d/0x1d0 net/dccp/output.c:366
 dccp_sendmsg+0xa80/0xca0 net/dccp/proto.c:783
 inet_sendmsg+0x99/0xe0 net/ipv4/af_inet.c:819
 sock_sendmsg_nosec net/socket.c:714 [inline]
 sock_sendmsg+0xcf/0x120 net/socket.c:734
 ____sys_sendmsg+0x334/0x8c0 net/socket.c:2482
 ___sys_sendmsg+0x110/0x1b0 net/socket.c:2536
 __sys_sendmmsg+0x18b/0x460 net/socket.c:2622
 __do_sys_sendmmsg net/socket.c:2651 [inline]
 __se_sys_sendmmsg net/socket.c:2648 [inline]
 __x64_sys_sendmmsg+0x99/0x100 net/socket.c:2648
 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+0x63/0xcd
RIP: 0033:0x7fdedd5be639
Code: 28 c3 e8 4a 15 00 00 66 2e 0f 1f 84 00 00 00 00 00 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 c0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffd26373258 EFLAGS: 00000246 ORIG_RAX: 0000000000000133
RAX: ffffffffffffffda RBX: 0000000000000010 RCX: 00007fdedd5be639
RDX: 0000000000000001 RSI: 0000000020001e80 RDI: 0000000000000004
RBP: 0000000000000003 R08: 0000000000000000 R09: 0000000000000000

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
* Struck through repros no longer work on HEAD.
Crashes (36):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-root 2022/10/10 02:52 upstream a6afa4199d3d aea5da89 .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/10/03 05:43 upstream a962b54e162c feb56351 .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/08/22 11:28 upstream e3f259d33c0e 26a13b38 .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/08/20 20:15 upstream 50cd95ac4654 26a13b38 .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-selinux-root 2022/07/20 09:59 upstream ca85855bdcae 775344bc .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-root 2022/07/05 13:05 upstream c1084b6c5620 bff65f44 .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-root 2022/07/04 10:40 upstream 88084a3df167 1434eec0 .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/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/10/03 05:54 net ae3ed15da588 feb56351 .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-linux-next-kasan-gce-root 2022/11/06 04:29 linux-next 0cdb3579f1ee 6d752409 .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-selinux-root 2022/09/18 09:41 upstream a335366bad13 dd9a85ff .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-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-net-kasan-gce 2022/10/03 05:41 net-next bc37b24ee05e feb56351 .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/11/03 18:42 upstream b229b6ca5abb 7a2ebf95 .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-root 2022/09/04 03:41 upstream 42cf58c272ee 28811d0a .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/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/10/02 16:44 upstream b357fd1c2afc feb56351 .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/10/27 12:09 net c5f0a1728874 86777b7f .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/08/12 08:32 net 7ebfc85e2cd7 402cd70d .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()
* Struck through repros no longer work on HEAD.