syzbot


WARNING in isotp_tx_timer_handler (2)

Status: upstream: reported C repro on 2022/03/12 16:55
Reported-by: syzbot+2339c27f5c66c652843e@syzkaller.appspotmail.com
Fix commit: 3ea566422cbd can: isotp: sanitize CAN ID checks in isotp_bind() d73497081710 can: isotp: stop timeout monitoring when no first frame was sent
Patched on: [ci-qemu-upstream ci-qemu-upstream-386 ci-qemu2-arm32 ci-qemu2-arm64 ci-qemu2-arm64-compat ci-qemu2-arm64-mte ci-upstream-bpf-kasan-gce ci-upstream-bpf-next-kasan-gce ci-upstream-gce-leak ci-upstream-kasan-gce ci-upstream-kasan-gce-386 ci-upstream-kasan-gce-root ci-upstream-kasan-gce-selinux-root ci-upstream-kasan-gce-smack-root ci-upstream-kmsan-gce ci-upstream-kmsan-gce-386 ci-upstream-linux-next-kasan-gce-root ci-upstream-net-kasan-gce ci-upstream-net-this-kasan-gce ci2-upstream-kcsan-gce ci2-upstream-usb], missing on: [ci-qemu2-riscv64]
First crash: 112d, last: 2h54m

Cause bisection: failed (bisect log)
similar bugs (1):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in isotp_tx_timer_handler C error 1553 112d 555d 22/22 fixed on 2022/03/08 16:11

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 19 at net/can/isotp.c:852 isotp_tx_timer_handler+0x717/0xcd0 net/can/isotp.c:852
Modules linked in:
CPU: 1 PID: 19 Comm: ksoftirqd/1 Not tainted 5.17.0-rc7-syzkaller-00198-g46b348fd2d81 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:isotp_tx_timer_handler+0x717/0xcd0 net/can/isotp.c:852
Code: f9 44 0f b6 25 3b 23 56 05 31 ff 44 89 e6 e8 f0 56 4f f9 45 84 e4 0f 85 9d fa ff ff e9 4e 01 20 01 85 ed 75 52 e8 59 54 4f f9 <0f> 0b 45 31 e4 e8 4f 54 4f f9 48 8b 74 24 40 48 b8 00 00 00 00 00
RSP: 0018:ffffc90000d97c40 EFLAGS: 00010246
RAX: 0000000000000000 RBX: ffff88806f490568 RCX: 0000000000000100
RDX: ffff888011945700 RSI: ffffffff88296bd7 RDI: 0000000000000003
RBP: 0000000000000000 R08: ffffffff8ac3c440 R09: ffffffff8829656f
R10: 0000000000000003 R11: 0000000000000000 R12: 0000000000000000
R13: ffff8880b9d2a880 R14: ffff8880b9d2a600 R15: ffffffff882964c0
FS:  0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f5c3133d1d8 CR3: 000000006b70d000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 __run_hrtimer kernel/time/hrtimer.c:1685 [inline]
 __hrtimer_run_queues+0x609/0xe50 kernel/time/hrtimer.c:1749
 hrtimer_run_softirq+0x17b/0x360 kernel/time/hrtimer.c:1766
 __do_softirq+0x29b/0x9c2 kernel/softirq.c:558
 run_ksoftirqd kernel/softirq.c:921 [inline]
 run_ksoftirqd+0x2d/0x60 kernel/softirq.c:913
 smpboot_thread_fn+0x645/0x9c0 kernel/smpboot.c:164
 kthread+0x2e9/0x3a0 kernel/kthread.c:377
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
 </TASK>

Crashes (979):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-net-this-kasan-gce 2022/03/12 14:54 net 46b348fd2d81 9e8eaa75 .config log report syz C WARNING in isotp_tx_timer_handler
ci-upstream-net-kasan-gce 2022/03/12 18:16 net-next 0b3660695e80 9e8eaa75 .config log report syz C WARNING in isotp_tx_timer_handler
ci-upstream-kasan-gce 2022/03/12 18:11 upstream 68453767131a 9e8eaa75 .config log report syz WARNING in isotp_tx_timer_handler
ci-upstream-kasan-gce-selinux-root 2022/04/09 18:16 upstream f1b45d8ccb98 e22c3da3 .config log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm32 2022/06/29 02:56 upstream 941e3e791269 496a8536 .config log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm64-mte 2022/06/28 15:39 upstream 941e3e791269 496a8536 .config log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm32 2022/06/28 01:43 upstream 941e3e791269 ef82eb2c .config log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm64-mte 2022/06/27 21:42 upstream 941e3e791269 ef82eb2c .config log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm64-mte 2022/06/27 15:08 upstream 03c765b0e3b4 a371c43c .config log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm64-mte 2022/06/27 02:25 upstream 82708bb1eb9e a371c43c .config log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm64-mte 2022/06/26 23:59 upstream 82708bb1eb9e a371c43c .config log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm32 2022/06/26 02:42 upstream 0840a7914caa a371c43c .config log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm32 2022/06/25 21:09 upstream 8c23f235a6a8 a371c43c .config log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm32 2022/06/25 15:53 upstream 8c23f235a6a8 a371c43c .config log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm64 2022/06/25 13:04 upstream 8c23f235a6a8 a371c43c .config log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm32 2022/06/25 09:02 upstream 8c23f235a6a8 a371c43c .config log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm32 2022/06/24 01:27 upstream fa1796a835fc 912f5df7 .config log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm64-mte 2022/06/23 23:34 upstream fa1796a835fc 912f5df7 .config log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm64 2022/06/23 01:31 upstream 3abc3ae553c7 912f5df7 .config log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm64 2022/06/22 13:53 upstream ca1fdab7fd27 0fc5c330 .config log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm32 2022/06/22 12:06 upstream ca1fdab7fd27 0fc5c330 .config log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm32 2022/06/21 16:09 upstream 78ca55889a54 0fc5c330 .config log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm32 2022/06/20 18:20 upstream a111daf0c53a 789e5a63 .config log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm32 2022/06/20 15:14 upstream a111daf0c53a 789e5a63 .config log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm64-mte 2022/06/20 02:07 upstream 05c6ca8512f2 8f633d84 .config log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm32 2022/06/19 17:46 upstream 05c6ca8512f2 8f633d84 .config log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm64 2022/06/19 12:15 upstream 354c6e071be9 8f633d84 .config log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm64-mte 2022/06/19 02:05 upstream 4b35035bcf80 8f633d84 .config log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm64-mte 2022/06/18 22:54 upstream 4b35035bcf80 8f633d84 .config log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm32 2022/06/18 20:23 upstream 4b35035bcf80 8f633d84 .config log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm32 2022/06/17 18:29 upstream 274295c6e53f 8f633d84 .config log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm64 2022/06/17 00:00 upstream 48a23ec6ff2b 1719ee24 .config log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm64-mte 2022/06/16 20:23 upstream 48a23ec6ff2b 1719ee24 .config log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm32 2022/06/16 19:13 upstream 30306f6194ca 1719ee24 .config log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm32 2022/06/16 15:45 upstream 30306f6194ca 1719ee24 .config log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm32 2022/06/16 10:26 upstream 30306f6194ca 1719ee24 .config log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm32 2022/06/16 07:50 upstream 30306f6194ca 1719ee24 .config log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm32 2022/06/15 19:57 upstream 018ab4fabddd 1719ee24 .config log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm32 2022/06/15 16:26 upstream 018ab4fabddd 1719ee24 .config log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm64-mte 2022/06/15 12:14 upstream 018ab4fabddd 1719ee24 .config log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm32 2022/06/15 07:28 upstream 24625f7d91fb 127d1faf .config log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm64 2022/06/15 05:36 upstream 24625f7d91fb 127d1faf .config log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm64-mte 2022/06/14 19:25 upstream 24625f7d91fb 9ce2c85a .config log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm64-mte 2022/06/14 13:16 upstream b13baccc3850 9ce2c85a .config log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm64 2022/06/14 11:58 upstream b13baccc3850 9ce2c85a .config log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm64-mte 2022/06/14 04:43 upstream b13baccc3850 0f087040 .config log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm64 2022/06/12 15:22 upstream 7a68065eb9cd 0d5abf15 .config log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm32 2022/06/12 13:02 upstream 7a68065eb9cd 0d5abf15 .config log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm32 2022/06/12 03:21 upstream 0885eacdc81f 0d5abf15 .config log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm64-mte 2022/06/12 00:40 upstream 0885eacdc81f 0d5abf15 .config log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm32 2022/06/11 11:51 upstream a32e7ea36235 0d5abf15 .config log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm32 2022/06/11 09:51 upstream a32e7ea36235 0d5abf15 .config log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm32 2022/06/11 07:14 upstream a32e7ea36235 0d5abf15 .config log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm32 2022/06/11 04:51 upstream a32e7ea36235 0d5abf15 .config log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm32 2022/06/10 17:00 upstream 874c8ca1e60b 0d5abf15 .config log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm32 2022/06/10 15:34 upstream 874c8ca1e60b 0d5abf15 .config log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm64-compat 2022/06/04 19:08 upstream 032dcf09e2bf c8857892 .config log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm64-compat 2022/03/08 16:48 upstream ea4424be1688 9e8eaa75 .config log report info WARNING in isotp_tx_timer_handler
ci-upstream-net-this-kasan-gce 2022/03/11 12:21 net 186d32bbf034 9e8eaa75 .config log report info WARNING in isotp_tx_timer_handler
ci-upstream-net-kasan-gce 2022/04/18 05:12 net-next 53c33a16d068 8bcc32a6 .config log report info WARNING in isotp_tx_timer_handler
ci-upstream-linux-next-kasan-gce-root 2022/03/20 22:54 linux-next 91265a6da44d e2d91b1d .config log report info WARNING in isotp_tx_timer_handler