syzbot


WARNING in mcba_usb_probe/usb_submit_urb

Status: upstream: reported C repro on 2019/07/10 12:27
Reported-by: syzbot+3bc1dce0cc0052d60fde@syzkaller.appspotmail.com
Fix commit: 136bed0bfd3b can: mcba_usb: properly check endpoint type
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: 1298d, last: 303d

Cause bisection: failed (bisect log)
Last patch testing requests:
Created Duration User Patch Repo Result
2022/09/07 09:27 16m retest repro https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing OK log
2022/09/07 08:27 16m retest repro https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing OK log
2022/09/07 07:27 14m retest repro https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing OK log
2022/09/07 06:27 13m retest repro https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing OK log
2022/09/07 05:27 18m retest repro https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing OK log
2022/09/07 04:27 14m retest repro https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing OK log
2022/09/07 03:27 14m retest repro https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing OK log
2022/09/07 02:27 16m retest repro https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing OK log
2022/08/31 16:27 26m retest repro upstream OK log
2022/03/08 04:34 15m hdanton@sina.com patch upstream OK
2022/03/07 17:58 14m paskripkin@gmail.com patch upstream OK

Sample crash report:
usb 1-1: config 0 interface 0 altsetting 0 endpoint 0x81 has an invalid bInterval 0, changing to 7
usb 1-1: New USB device found, idVendor=04d8, idProduct=0a30, bcdDevice=ac.43
usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
usb 1-1: config 0 descriptor??
------------[ cut here ]------------
usb 1-1: BOGUS urb xfer, pipe 3 != type 1
WARNING: CPU: 0 PID: 135 at drivers/usb/core/urb.c:502 usb_submit_urb+0xed2/0x18a0 drivers/usb/core/urb.c:502
Modules linked in:
CPU: 0 PID: 135 Comm: kworker/0:2 Not tainted 5.16.0-rc6-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: usb_hub_wq hub_event
RIP: 0010:usb_submit_urb+0xed2/0x18a0 drivers/usb/core/urb.c:502
Code: 7c 24 18 e8 d0 68 10 fc 48 8b 7c 24 18 e8 76 38 0a ff 41 89 d8 44 89 e1 4c 89 ea 48 89 c6 48 c7 c7 a0 59 4a 8a e8 1b 97 9a 03 <0f> 0b e9 58 f8 ff ff e8 a2 68 10 fc 48 81 c5 88 06 00 00 e9 84 f7
RSP: 0018:ffffc900027ceff0 EFLAGS: 00010282
RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000
RDX: ffff8880185c8000 RSI: ffffffff815f1258 RDI: fffff520004f9df0
RBP: ffff888144bb2500 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff815eaffe R11: 0000000000000000 R12: 0000000000000003
R13: ffff888021a49118 R14: 0000000000000003 R15: ffff888010e3c900
FS:  0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005606584f5538 CR3: 000000001cc15000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 mcba_usb_start drivers/net/can/usb/mcba_usb.c:665 [inline]
 mcba_usb_probe+0x8ac/0xc60 drivers/net/can/usb/mcba_usb.c:861
 usb_probe_interface+0x315/0x7f0 drivers/usb/core/driver.c:396

Fix bisection attempts:
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets Title
ci-upstream-kasan-gce-selinux-root 2021/10/14 01:46 upstream 348949d9a444 8f5a7b8c .config console log report syz C
ci-upstream-kasan-gce-selinux-root 2021/09/14 01:24 upstream d0ee23f9d78b 8f5a7b8c .config console log report syz C
ci-upstream-kasan-gce-selinux-root 2021/08/15 00:49 upstream ba31f97d43be 8f5a7b8c .config console log report syz C
ci-upstream-kasan-gce-smack-root 2021/06/30 04:58 upstream 007b350a5875 325a8dab .config console log report syz C
* Struck through repros no longer work on HEAD.
Crashes (537):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets Title
ci-upstream-kasan-gce 2021/12/24 22:28 upstream 7a29b11da965 6caa12e4 .config console log report syz C WARNING in mcba_usb_probe/usb_submit_urb
ci-upstream-kasan-gce-selinux-root 2021/07/10 09:34 upstream 3dbdb38e2869 8f5a7b8c .config console log report syz C WARNING in mcba_usb_probe/usb_submit_urb
ci-upstream-kasan-gce-smack-root 2021/05/31 04:37 upstream b90e90f40b4f 325a8dab .config console log report syz C WARNING in mcba_usb_probe/usb_submit_urb
ci-upstream-kasan-gce-root 2021/05/28 09:32 upstream 97e5bf604b7a 858ea628 .config console log report syz C WARNING in mcba_usb_probe/usb_submit_urb
ci-qemu-upstream 2022/03/04 17:49 upstream 38f80f42147f 45a13a73 .config console log report syz C WARNING in mcba_usb_probe/usb_submit_urb
ci2-upstream-usb 2021/12/24 20:25 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing ce1d37cb7697 6caa12e4 .config console log report syz C WARNING in mcba_usb_probe/usb_submit_urb
ci2-upstream-usb 2020/12/09 09:38 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing b175d273d4e4 99917735 .config console log report syz C
ci2-upstream-usb 2020/03/12 06:37 https://github.com/google/kasan.git usb-fuzzer d6ff8147a51c d850e9d0 .config console log report syz C
ci2-upstream-usb 2019/12/04 21:29 https://github.com/google/kasan.git usb-fuzzer 1f22d15c209f b2088328 .config console log report syz C
ci2-upstream-usb 2019/10/04 18:56 https://github.com/google/kasan.git usb-fuzzer 58d5f26a5584 c86336cf .config console log report syz C
ci2-upstream-usb 2019/09/28 05:26 https://github.com/google/kasan.git usb-fuzzer 2994c07743fe d8074e0b .config console log report syz C
ci2-upstream-usb 2019/07/23 05:44 https://github.com/google/kasan.git usb-fuzzer 6a3599ceaa39 55e0c077 .config console log report syz C
ci2-upstream-usb 2019/07/10 11:19 https://github.com/google/kasan.git usb-fuzzer 7829a896a587 f62e1e85 .config console log report syz C
ci-upstream-kasan-gce-smack-root 2022/03/28 22:12 upstream ae085d7f9365 ee339263 .config console log report info WARNING in mcba_usb_probe/usb_submit_urb
ci-upstream-kasan-gce 2022/03/15 02:33 upstream 09688c0166e7 9e8eaa75 .config console log report info WARNING in mcba_usb_probe/usb_submit_urb
ci-upstream-kasan-gce 2022/02/22 18:49 upstream 038101e6b2cd 6e821dbf .config console log report info WARNING in mcba_usb_probe/usb_submit_urb
ci-upstream-kasan-gce-smack-root 2022/01/18 14:49 upstream e3a8b6a1e70c 731a2d23 .config console log report info WARNING in mcba_usb_probe/usb_submit_urb
ci-upstream-kasan-gce-root 2022/01/13 07:05 upstream f079ab01b560 44d1319a .config console log report info WARNING in mcba_usb_probe/usb_submit_urb
ci-upstream-kasan-gce-root 2021/12/24 00:12 upstream 76657eaef4a7 6caa12e4 .config console log report info WARNING in mcba_usb_probe/usb_submit_urb
ci-upstream-kasan-gce-selinux-root 2021/11/02 14:26 upstream bfc484fe6abb 098b5d53 .config console log report info WARNING in mcba_usb_probe/usb_submit_urb
ci-upstream-kasan-gce-386 2022/02/16 20:57 upstream c5d9ae265b10 8b9ca619 .config console log report info WARNING in mcba_usb_probe/usb_submit_urb
ci2-upstream-usb 2022/03/31 11:36 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing d888c83fcec7 c4c32d8c .config console log report info WARNING in mcba_usb_probe/usb_submit_urb
ci2-upstream-usb 2022/03/28 17:41 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing ae085d7f9365 89bc8608 .config console log report info WARNING in mcba_usb_probe/usb_submit_urb
ci2-upstream-usb 2022/03/25 19:23 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 46d2c20b0b10 89bc8608 .config console log report info WARNING in mcba_usb_probe/usb_submit_urb
ci2-upstream-usb 2022/03/25 05:01 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 46d2c20b0b10 89bc8608 .config console log report info WARNING in mcba_usb_probe/usb_submit_urb
ci2-upstream-usb 2022/03/25 02:46 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 46d2c20b0b10 89bc8608 .config console log report info WARNING in mcba_usb_probe/usb_submit_urb
ci2-upstream-usb 2022/03/24 11:59 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 46d2c20b0b10 89bc8608 .config console log report info WARNING in mcba_usb_probe/usb_submit_urb
ci2-upstream-usb 2022/03/23 13:05 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 46d2c20b0b10 5ff41e94 .config console log report info WARNING in mcba_usb_probe/usb_submit_urb
ci2-upstream-usb 2022/03/23 11:56 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 46d2c20b0b10 5ff41e94 .config console log report info WARNING in mcba_usb_probe/usb_submit_urb
ci2-upstream-usb 2022/03/22 16:05 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 46d2c20b0b10 d88ef0c5 .config console log report info WARNING in mcba_usb_probe/usb_submit_urb
ci2-upstream-usb 2022/03/19 17:35 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing ac484005767b e2d91b1d .config console log report info WARNING in mcba_usb_probe/usb_submit_urb
ci-upstream-linux-next-kasan-gce-root 2022/03/17 11:42 linux-next 91265a6da44d dfa9a8ed .config console log report info WARNING in mcba_usb_probe/usb_submit_urb
ci2-upstream-usb 2022/03/13 13:11 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 7d2c8a13c925 9e8eaa75 .config console log report info WARNING in mcba_usb_probe/usb_submit_urb
ci2-upstream-usb 2022/03/09 22:12 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 98d107b84614 9e8eaa75 .config console log report info WARNING in mcba_usb_probe/usb_submit_urb
ci2-upstream-usb 2022/03/07 13:31 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 98d107b84614 7bdd8b2c .config console log report info WARNING in mcba_usb_probe/usb_submit_urb
ci2-upstream-usb 2022/03/03 04:40 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing ca9400ef7f67 45a13a73 .config console log report info WARNING in mcba_usb_probe/usb_submit_urb
ci2-upstream-usb 2022/02/25 01:29 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing a352fa58c0ee b28851a4 .config console log report info WARNING in mcba_usb_probe/usb_submit_urb
ci2-upstream-usb 2022/02/19 12:57 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing a5d847b0afd3 3cd800e4 .config console log report info WARNING in mcba_usb_probe/usb_submit_urb
ci2-upstream-usb 2022/02/19 06:10 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing a5d847b0afd3 3cd800e4 .config console log report info WARNING in mcba_usb_probe/usb_submit_urb
ci2-upstream-usb 2022/02/15 13:09 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 4378e427f705 8b9ca619 .config console log report info WARNING in mcba_usb_probe/usb_submit_urb
ci2-upstream-usb 2022/02/15 05:30 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 4378e427f705 8b9ca619 .config console log report info WARNING in mcba_usb_probe/usb_submit_urb
ci2-upstream-usb 2022/02/13 22:46 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing c18553956f34 8b9ca619 .config console log report info WARNING in mcba_usb_probe/usb_submit_urb
ci2-upstream-usb 2022/02/13 02:02 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing c18553956f34 8b9ca619 .config console log report info WARNING in mcba_usb_probe/usb_submit_urb
ci2-upstream-usb 2022/02/07 09:34 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 2dac5d2864af a7dab638 .config console log report info WARNING in mcba_usb_probe/usb_submit_urb
ci2-upstream-usb 2022/02/03 09:46 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 554237f2bb62 4ebb2798 .config console log report info WARNING in mcba_usb_probe/usb_submit_urb
ci2-upstream-usb 2022/02/01 18:34 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 554237f2bb62 c1c1631d .config console log report info WARNING in mcba_usb_probe/usb_submit_urb
ci2-upstream-usb 2022/02/01 12:35 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 554237f2bb62 c1c1631d .config console log report info WARNING in mcba_usb_probe/usb_submit_urb
ci2-upstream-usb 2022/01/29 00:51 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 993a44fa85c1 495e00c5 .config console log report info WARNING in mcba_usb_probe/usb_submit_urb
ci2-upstream-usb 2022/01/26 17:06 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 75c19f487fcd 2cbffd88 .config console log report info WARNING in mcba_usb_probe/usb_submit_urb
ci2-upstream-usb 2022/01/21 15:52 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing c2c94b3b187d 214351e1 .config console log report info WARNING in mcba_usb_probe/usb_submit_urb
ci2-upstream-usb 2022/01/19 16:36 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 455e73a07f6e 0620189b .config console log report info WARNING in mcba_usb_probe/usb_submit_urb
ci2-upstream-usb 2022/01/19 13:15 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 455e73a07f6e 0620189b .config console log report info WARNING in mcba_usb_probe/usb_submit_urb
ci2-upstream-usb 2022/01/19 03:38 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 455e73a07f6e 731a2d23 .config console log report info WARNING in mcba_usb_probe/usb_submit_urb
ci2-upstream-usb 2022/01/18 16:34 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 455e73a07f6e 731a2d23 .config console log report info WARNING in mcba_usb_probe/usb_submit_urb
ci2-upstream-usb 2022/01/18 12:32 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 455e73a07f6e 731a2d23 .config console log report info WARNING in mcba_usb_probe/usb_submit_urb
ci2-upstream-usb 2022/01/17 02:42 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 455e73a07f6e 723cfaf0 .config console log report info WARNING in mcba_usb_probe/usb_submit_urb
ci2-upstream-usb 2022/01/16 23:39 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 455e73a07f6e 723cfaf0 .config console log report info WARNING in mcba_usb_probe/usb_submit_urb
ci2-upstream-usb 2022/01/16 21:33 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 455e73a07f6e 723cfaf0 .config console log report info WARNING in mcba_usb_probe/usb_submit_urb
ci2-upstream-usb 2022/01/15 00:32 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 455e73a07f6e 53e00b45 .config console log report info WARNING in mcba_usb_probe/usb_submit_urb
ci2-upstream-usb 2022/01/13 20:03 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 455e73a07f6e b8d780ab .config console log report info WARNING in mcba_usb_probe/usb_submit_urb
ci2-upstream-usb 2022/01/13 01:21 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing cbb4f5f43599 44d1319a .config console log report info WARNING in mcba_usb_probe/usb_submit_urb
ci2-upstream-usb 2022/01/11 06:47 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing cbb4f5f43599 ddb0ab8c .config console log report info WARNING in mcba_usb_probe/usb_submit_urb
ci2-upstream-usb 2022/01/07 19:12 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 601a5bc1aeef 2ca0d385 .config console log report info WARNING in mcba_usb_probe/usb_submit_urb
ci2-upstream-usb 2022/01/07 06:56 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 601a5bc1aeef 6acc789a .config console log report info WARNING in mcba_usb_probe/usb_submit_urb
ci2-upstream-usb 2022/01/01 09:32 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing db3e8244bd1c e1768e9c .config console log report info WARNING in mcba_usb_probe/usb_submit_urb
ci2-upstream-usb 2021/12/31 16:34 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing db3e8244bd1c 36bd2e48 .config console log report info WARNING in mcba_usb_probe/usb_submit_urb
ci2-upstream-usb 2021/12/28 15:46 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing ce1d37cb7697 6b3c5e64 .config console log report info WARNING in mcba_usb_probe/usb_submit_urb
ci2-upstream-usb 2021/01/09 07:09 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 841081d89d5a c104d4a3 .config console log report info
* Struck through repros no longer work on HEAD.