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-arm64 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-fs ci2-upstream-kcsan-gce ci2-upstream-usb], missing on: [ci-qemu2-riscv64]
First crash: 324d, last: 23h30m

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 325d 767d 22/24 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 (1415):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets Title
ci-upstream-net-this-kasan-gce 2022/03/12 14:54 net 46b348fd2d81 9e8eaa75 .config console 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 console log report syz C WARNING in isotp_tx_timer_handler
ci-upstream-kasan-gce 2022/03/12 18:11 upstream 68453767131a 9e8eaa75 .config console log report syz WARNING in isotp_tx_timer_handler
ci-upstream-kasan-gce-selinux-root 2022/04/09 18:16 upstream f1b45d8ccb98 e22c3da3 .config console log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm64 2023/01/26 14:04 upstream 7c46948a6e9c 7374c4e5 .config console log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm64 2023/01/06 23:27 upstream a689b938df39 1dac8c7a .config console log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm64-mte 2023/01/05 18:13 upstream 41c03ba9beea 1dac8c7a .config console log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm64 2022/12/29 22:41 upstream 2258c2dc850b 44712fbc .config console log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm64-mte 2022/12/29 10:12 upstream 1b929c02afd3 44712fbc .config console log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm64-mte 2022/12/20 00:59 upstream 2f26e424552e c52b2efb .config console log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm64-mte 2022/12/19 07:00 upstream f9ff5644bcc0 05494336 .config console log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm32 2022/12/13 13:58 upstream 268325bda529 67be1ae7 .config console log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm64-mte 2022/12/11 10:10 upstream 4cee37b3a4e6 67be1ae7 .config console log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm32 2022/12/10 01:31 upstream 0d1409e4ff08 67be1ae7 .config console log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm32 2022/12/08 03:41 upstream 479174d402bc d88f3abb .config console log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm64-mte 2022/12/06 12:09 upstream bce9332220bd 045cbb84 .config console log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm32 2022/11/29 17:47 upstream ca57f02295f1 05dc7993 .config console log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm32 2022/11/27 23:49 upstream bf82d38c91f8 f4470a7b .config console log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm64-mte 2022/11/27 01:27 upstream 644e9524388a f4470a7b .config console log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm32 2022/11/23 13:46 upstream eb7081409f94 52fdf57a .config console log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm32 2022/11/22 05:47 upstream eb7081409f94 1c576c23 .config console log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm32 2022/11/19 08:25 upstream 950a9f564aea 5bb70014 .config console log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm64 2022/11/17 12:27 upstream cc675d22e422 bfcab33d .config console log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm32 2022/11/15 02:07 upstream e01d50cbd6ee 97de9cfc .config console log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm32 2022/11/12 03:34 upstream eb037f16f7e8 f42ee5d8 .config console log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm32 2022/11/10 21:29 upstream 1767a722a708 3ead01ad .config console log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm32 2022/11/10 14:59 upstream f67dd6ce0723 b2488a87 .config console log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm32 2022/11/10 11:03 upstream f67dd6ce0723 b2488a87 .config console log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm64 2022/11/10 07:18 upstream f67dd6ce0723 b2488a87 .config console log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm32 2022/11/10 02:02 upstream f67dd6ce0723 b2488a87 .config console log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm32 2022/11/09 14:31 upstream f141df371335 bebca8b7 .config console log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm32 2022/11/09 10:20 upstream f141df371335 5fa28208 .config console log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm64-mte 2022/11/09 07:23 upstream f141df371335 5fa28208 .config console log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm64-mte 2022/11/08 21:02 upstream 59f2f4b8a757 060f945e .config console log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm64-mte 2022/11/07 07:03 upstream 089d1c31224e 6d752409 .config console log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm32 2022/11/06 21:05 upstream 089d1c31224e 6d752409 .config console log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm32 2022/11/06 05:46 upstream 2f5065a0bc9d 6d752409 .config console log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm32 2022/11/05 23:36 upstream b208b9fbbcba 6d752409 .config console log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm64 2022/11/05 18:55 upstream b208b9fbbcba 6d752409 .config console log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm64-mte 2022/11/05 13:29 upstream 64c3dd0b98f5 6d752409 .config console log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm32 2022/11/05 04:54 upstream 64c3dd0b98f5 6d752409 .config console log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm32 2022/11/05 01:00 upstream 64c3dd0b98f5 6d752409 .config console log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm32 2022/11/04 20:56 upstream ee6050c8af96 6d752409 .config console log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm32 2022/11/04 10:07 upstream f2f32f8af2b0 6d752409 .config console log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm32 2022/11/04 04:58 upstream f2f32f8af2b0 6d752409 .config console log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm32 2022/11/03 13:25 upstream 8e5423e991e8 7a2ebf95 .config console log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm64 2022/11/03 12:21 upstream 8e5423e991e8 7a2ebf95 .config console log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm32 2022/11/03 03:09 upstream 8e5423e991e8 b7c72847 .config console log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm32 2022/11/02 16:09 upstream 8f71a2b3f435 08977f5d .config console log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm64-mte 2022/11/02 14:09 upstream 8f71a2b3f435 08977f5d .config console log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm32 2022/11/02 06:08 upstream f526d6a82242 08977f5d .config console log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm32 2022/11/01 23:37 upstream f526d6a82242 08977f5d .config console log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm64-compat 2022/10/16 10:10 upstream 493ffd6605b2 67cb024c .config console log report info WARNING in isotp_tx_timer_handler
ci-qemu2-arm64-compat 2022/03/08 16:48 upstream ea4424be1688 9e8eaa75 .config console log report info WARNING in isotp_tx_timer_handler
ci-upstream-net-this-kasan-gce 2022/03/11 12:21 net 186d32bbf034 9e8eaa75 .config console log report info WARNING in isotp_tx_timer_handler
ci-upstream-net-kasan-gce 2022/04/18 05:12 net-next 53c33a16d068 8bcc32a6 .config console 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 console log report info WARNING in isotp_tx_timer_handler
* Struck through repros no longer work on HEAD.