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-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: 1050d, last: 55d

Cause bisection: failed (bisect log)
Patch testing requests:
Created Duration User Patch Repo Result
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 5-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
usb 5-1: config 0 descriptor??
------------[ cut here ]------------
usb 5-1: BOGUS urb xfer, pipe 3 != type 1
WARNING: CPU: 1 PID: 49 at drivers/usb/core/urb.c:502 usb_submit_urb+0xed2/0x18a0 drivers/usb/core/urb.c:502
Modules linked in:
CPU: 1 PID: 49 Comm: kworker/1:2 Not tainted 5.17.0-rc6-syzkaller-00184-g38f80f42147f #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014
Workqueue: usb_hub_wq hub_event
RIP: 0010:usb_submit_urb+0xed2/0x18a0 drivers/usb/core/urb.c:502
Code: 7c 24 18 e8 30 5a 0e fc 48 8b 7c 24 18 e8 e6 00 08 ff 41 89 d8 44 89 e1 4c 89 ea 48 89 c6 48 c7 c7 20 d7 4a 8a e8 0b 2f 9e 03 <0f> 0b e9 58 f8 ff ff e8 02 5a 0e fc 48 81 c5 48 06 00 00 e9 84 f7
RSP: 0018:ffffc90000916ff0 EFLAGS: 00010282
RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000
RDX: ffff88801428e140 RSI: ffffffff815f12d8 RDI: fffff52000122df0
RBP: ffff88801cde0580 R08: 0000000000000000 R09: 0000000000000001
R10: ffffffff815eb96e R11: 0000000000000000 R12: 0000000000000003
R13: ffff8880199de980 R14: 0000000000000003 R15: ffff8880129ed400
FS:  0000000000000000(0000) GS:ffff88802cb00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055d0336cd600 CR3: 0000000025c4a000 CR4: 0000000000150ee0
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:662 [inline]
 mcba_usb_probe+0x8a3/0xc50 drivers/net/can/usb/mcba_usb.c:858
 usb_probe_interface+0x315/0x7f0 drivers/usb/core/driver.c:396
 call_driver_probe drivers/base/dd.c:517 [inline]
 really_probe+0x245/0xcc0 drivers/base/dd.c:596
 __driver_probe_device+0x338/0x4d0 drivers/base/dd.c:755
 driver_probe_device+0x4c/0x1a0 drivers/base/dd.c:785
 __device_attach_driver+0x20b/0x2f0 drivers/base/dd.c:902
 bus_for_each_drv+0x15f/0x1e0 drivers/base/bus.c:427
 __device_attach+0x228/0x4a0 drivers/base/dd.c:973
 bus_probe_device+0x1e4/0x290 drivers/base/bus.c:487
 device_add+0xb83/0x1e20 drivers/base/core.c:3405
 usb_set_configuration+0x101e/0x1900 drivers/usb/core/message.c:2170
 usb_generic_driver_probe+0xba/0x100 drivers/usb/core/generic.c:238
 usb_probe_device+0xd9/0x2c0 drivers/usb/core/driver.c:293
 call_driver_probe drivers/base/dd.c:517 [inline]
 really_probe+0x245/0xcc0 drivers/base/dd.c:596
 __driver_probe_device+0x338/0x4d0 drivers/base/dd.c:755
 driver_probe_device+0x4c/0x1a0 drivers/base/dd.c:785
 __device_attach_driver+0x20b/0x2f0 drivers/base/dd.c:902
 bus_for_each_drv+0x15f/0x1e0 drivers/base/bus.c:427
 __device_attach+0x228/0x4a0 drivers/base/dd.c:973
 bus_probe_device+0x1e4/0x290 drivers/base/bus.c:487
 device_add+0xb83/0x1e20 drivers/base/core.c:3405
 usb_new_device.cold+0x63f/0x108e drivers/usb/core/hub.c:2566
 hub_port_connect drivers/usb/core/hub.c:5358 [inline]
 hub_port_connect_change drivers/usb/core/hub.c:5502 [inline]
 port_event drivers/usb/core/hub.c:5660 [inline]
 hub_event+0x2585/0x44d0 drivers/usb/core/hub.c:5742
 process_one_work+0x9ac/0x1650 kernel/workqueue.c:2307
 worker_thread+0x657/0x1110 kernel/workqueue.c:2454
 kthread+0x2e9/0x3a0 kernel/kthread.c:377
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
 </TASK>

Fix bisection attempts:
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-selinux-root 2021/10/14 01:46 upstream 348949d9a444 8f5a7b8c .config log report syz C
ci-upstream-kasan-gce-selinux-root 2021/09/14 01:24 upstream d0ee23f9d78b 8f5a7b8c .config log report syz C
ci-upstream-kasan-gce-selinux-root 2021/08/15 00:49 upstream ba31f97d43be 8f5a7b8c .config log report syz C
ci-upstream-kasan-gce-smack-root 2021/06/30 04:58 upstream 007b350a5875 325a8dab .config log report syz C
Crashes (537):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-qemu-upstream 2022/03/04 17:49 upstream 38f80f42147f 45a13a73 .config log report syz C WARNING in mcba_usb_probe/usb_submit_urb
ci-upstream-kasan-gce 2021/12/24 22:28 upstream 7a29b11da965 6caa12e4 .config 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 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 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 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 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 log report syz C
ci2-upstream-usb 2020/03/12 06:37 https://github.com/google/kasan.git usb-fuzzer d6ff8147a51c d850e9d0 .config log report syz C
ci2-upstream-usb 2019/12/04 21:29 https://github.com/google/kasan.git usb-fuzzer 1f22d15c209f b2088328 .config log report syz C
ci2-upstream-usb 2019/10/04 18:56 https://github.com/google/kasan.git usb-fuzzer 58d5f26a5584 c86336cf .config log report syz C
ci2-upstream-usb 2019/09/28 05:26 https://github.com/google/kasan.git usb-fuzzer 2994c07743fe d8074e0b .config log report syz C
ci2-upstream-usb 2019/07/23 05:44 https://github.com/google/kasan.git usb-fuzzer 6a3599ceaa39 55e0c077 .config log report syz C
ci2-upstream-usb 2019/07/10 11:19 https://github.com/google/kasan.git usb-fuzzer 7829a896a587 f62e1e85 .config log report syz C
ci-upstream-kasan-gce-smack-root 2022/03/28 22:12 upstream ae085d7f9365 ee339263 .config log report info WARNING in mcba_usb_probe/usb_submit_urb
ci-upstream-kasan-gce 2022/03/15 02:33 upstream 09688c0166e7 9e8eaa75 .config log report info WARNING in mcba_usb_probe/usb_submit_urb
ci-upstream-kasan-gce 2022/02/22 18:49 upstream 038101e6b2cd 6e821dbf .config 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 log report info