syzbot


WARNING in isotp_tx_timer_handler (2)

Status: fixed on 2023/02/24 13:50
Subsystems: can
[Documentation on labels]
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
First crash: 972d, last: 645d
Discussions (11)
Title Replies (including bot) Last reply
[PATCH 5.10 000/599] 5.10.110-rc1 review 628 (629) 2022/05/08 12:31
[PATCH 5.10 00/86] 5.10.113-rc1 review 96 (96) 2022/04/27 20:32
[PATCH 5.15 000/124] 5.15.36-rc1 review 137 (137) 2022/04/27 11:11
[PATCH 5.17 000/146] 5.17.5-rc1 review 156 (156) 2022/04/27 10:01
[PATCH net 0/1] pull-request: can 2022-04-17 3 (3) 2022/04/18 09:30
[PATCH 5.16 0000/1017] 5.16.19-rc1 review 1034 (1035) 2022/04/07 08:34
[PATCH 5.15 000/913] 5.15.33-rc1 review 932 (933) 2022/04/06 15:36
[PATCH 5.17 0000/1126] 5.17.2-rc1 review 1143 (1144) 2022/04/06 14:06
[PATCH net-next 0/5] pull-request: can-next 2022-03-16 7 (7) 2022/03/17 02:00
[net-next] can: isotp: sanitize CAN ID checks in isotp_bind() 12 (12) 2022/03/16 20:51
[syzbot] WARNING in isotp_tx_timer_handler (2) 1 (2) 2022/03/15 20:48
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in isotp_tx_timer_handler can C error 1553 972d 1415d 20/28 fixed on 2022/03/08 16:11
linux-5.15 WARNING in isotp_tx_timer_handler C done 3 369d 573d 3/3 fixed on 2023/12/03 08:04
Cause bisection attempts (1)
Created Duration User Patch Repo Result
2022/03/12 18:32 6m bisect net-old error job log
marked invalid by web-security-scanner@google.com

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