syzbot


WARNING in shark_write_reg/usb_submit_urb
Status: upstream: reported C repro on 2019/07/16 10:38
Reported-by: syzbot+4b3f8190f6e13b3efd74@syzkaller.appspotmail.com
First crash: 1045d, last: 13d

Cause bisection: failed (bisect log)

Sample crash report:
usb 5-1: New USB device found, idVendor=077d, idProduct=627a, bcdDevice= 0.10
usb 5-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
------------[ cut here ]------------
usb 5-1: BOGUS urb xfer, pipe 1 != type 3
WARNING: CPU: 0 PID: 5 at drivers/usb/core/urb.c:502 usb_submit_urb+0xed2/0x18a0 drivers/usb/core/urb.c:502
Modules linked in:
CPU: 0 PID: 5 Comm: kworker/0:0 Not tainted 5.17.0-rc7-syzkaller #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 f0 4d 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 d5 4a 8a e8 0d 30 9e 03 <0f> 0b e9 58 f8 ff ff e8 c2 4d 0e fc 48 81 c5 48 06 00 00 e9 84 f7
RSP: 0018:ffffc9000058ee08 EFLAGS: 00010286
RAX: 0000000000000000 RBX: 0000000000000003 RCX: 0000000000000000
RDX: ffff888011840140 RSI: ffffffff815f15d8 RDI: fffff520000b1db3
RBP: ffff88801c3e9050 R08: 0000000000000000 R09: 0000000000000001
R10: ffffffff815ebc6e R11: 0000000000000000 R12: 0000000000000001
R13: ffff888025444f40 R14: 0000000000000002 R15: ffff8880119ea600
FS:  0000000000000000(0000) GS:ffff88802ca00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000056037b9580a8 CR3: 000000001cef4000 CR4: 0000000000150ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 usb_start_wait_urb+0x101/0x4c0 drivers/usb/core/message.c:58
 usb_bulk_msg+0x226/0x550 drivers/usb/core/message.c:387
 shark_write_reg+0x1ff/0x2e0 drivers/media/radio/radio-shark2.c:88
 radio_tea5777_set_freq+0x208/0x4c0 drivers/media/radio/radio-tea5777.c:213
 radio_tea5777_init+0xbd/0x6a0 drivers/media/radio/radio-tea5777.c:541
 usb_shark_probe+0x5bc/0x7a0 drivers/media/radio/radio-shark2.c:318
 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 2022/05/13 07:28 upstream f3f19f939c11 8f5a7b8c .config log report syz C
ci-upstream-kasan-gce-selinux-root 2022/04/13 07:06 upstream a19944809fe9 8f5a7b8c .config log report syz C
ci-upstream-kasan-gce-selinux-root 2022/01/04 10:48 upstream c9e6606c7fe9 8f5a7b8c .config log report syz C
ci-upstream-kasan-gce-selinux-root 2021/10/15 02:59 upstream ec681c53f8d2 8f5a7b8c .config log report syz C
ci-upstream-kasan-gce-selinux-root 2021/09/15 02:38 upstream 3ca706c189db 8f5a7b8c .config log report syz C
Crashes (47):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-qemu-upstream 2022/03/07 10:37 upstream ffb217a13a2e 7bdd8b2c .config log report syz C WARNING in shark_write_reg/usb_submit_urb
ci-upstream-kasan-gce-selinux-root 2021/07/10 15:27 upstream 3dbdb38e2869 8f5a7b8c .config log report syz C WARNING in shark_write_reg/usb_submit_urb
ci-upstream-kasan-gce-smack-root 2021/05/31 11:00 upstream 8124c8a6b353 325a8dab .config log report syz C WARNING in shark_write_reg/usb_submit_urb
ci-upstream-kasan-gce-root 2021/05/28 10:57 upstream 97e5bf604b7a 858ea628 .config log report syz C WARNING in shark_write_reg/usb_submit_urb
ci-upstream-linux-next-kasan-gce-root 2021/06/21 12:29 linux-next a1f92694393a aba2b2fb .config log report syz C WARNING in shark_write_reg/usb_submit_urb
ci2-upstream-usb 2020/12/09 10:25 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/01 02:33 https://github.com/google/kasan.git usb-fuzzer d6ff8147a51c c88c7b75 .config log report syz C
ci2-upstream-usb 2020/02/23 14:13 https://github.com/google/kasan.git usb-fuzzer 307a2623c9d7 2c36e7a7 .config log report syz C
ci2-upstream-usb 2019/11/06 00:55 https://github.com/google/kasan.git usb-fuzzer b1aa9d834830 af5c522d .config log report syz C
ci2-upstream-usb 2019/09/28 21:49 https://github.com/google/kasan.git usb-fuzzer 2994c07743fe eb6b9855 .config log report syz C
ci2-upstream-usb 2019/08/31 05:17 https://github.com/google/kasan.git usb-fuzzer eea39f24f4a5 bcd7bcc2 .config log report syz C
ci2-upstream-usb 2019/08/21 11:38 https://github.com/google/kasan.git usb-fuzzer eea39f24f4a5 4ea67ff8 .config log report syz C
ci2-upstream-usb 2019/07/15 22:58 https://github.com/google/kasan.git usb-fuzzer 6a3599ceaa39 139ac68a .config log report syz C
ci-upstream-kasan-gce-smack-root 2021/11/16 16:45 upstream 8ab774587903 600426bd .config log report info WARNING in shark_write_reg/usb_submit_urb
ci2-upstream-usb 2022/03/14 06:47 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 7d2c8a13c925 9e8eaa75 .config log report info WARNING in shark_write_reg/usb_submit_urb
ci2-upstream-usb 2022/02/13 07:56 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing c18553956f34 8b9ca619 .config log report info WARNING in shark_write_reg/usb_submit_urb
ci2-upstream-usb 2022/01/31 06:49 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 993a44fa85c1 495e00c5 .config log report info WARNING in shark_write_reg/usb_submit_urb
ci2-upstream-usb 2021/12/05 08:10 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing e1c72d907f4c a617004c .config log report info WARNING in shark_write_reg/usb_submit_urb
ci2-upstream-usb 2021/11/30 15:14 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 4d012040161c 80270552 .config log report info WARNING in shark_write_reg/usb_submit_urb
ci2-upstream-usb 2021/11/26 06:21 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing c4bc515d73b5 63eeac02 .config log report info WARNING in shark_write_reg/usb_submit_urb
ci2-upstream-usb 2021/11/12 16:46 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 5833291ab6de 75b04091 .config log report info WARNING in shark_write_reg/usb_submit_urb
ci2-upstream-usb 2021/11/04 07:45 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing a0548b26901f 4c1be0be .config log report info WARNING in shark_write_reg/usb_submit_urb
ci2-upstream-usb 2021/08/15 19:51 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing cea45a3bd2dd 2489ab88 .config log report info WARNING in shark_write_reg/usb_submit_urb
ci2-upstream-usb 2021/08/12 08:47 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 73e19de7b79a 6972b106 .config log report info WARNING in shark_write_reg/usb_submit_urb
ci2-upstream-usb 2021/07/12 10:47 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing e73f0f0ee754 a4869c92 .config log report info WARNING in shark_write_reg/usb_submit_urb
ci2-upstream-usb 2021/04/22 05:57 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 4b853c236c7b 2bc8999a .config log report info WARNING in shark_write_reg/usb_submit_urb
ci2-upstream-usb 2021/04/20 11:14 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 4b853c236c7b c0ced557 .config log report info WARNING in shark_write_reg/usb_submit_urb
ci2-upstream-usb 2021/04/20 05:54 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 4b853c236c7b 4285c989 .config log report info WARNING in shark_write_reg/usb_submit_urb
ci2-upstream-usb 2021/04/12 02:14 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 3db53374405f 6a81331a .config log report info WARNING in shark_write_reg/usb_submit_urb
ci2-upstream-usb 2021/03/02 12:47 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 5bb9cdb320a5 92ead296 .config log report info WARNING in shark_write_reg/usb_submit_urb
ci2-upstream-usb 2021/02/21 08:34 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing b5a12546e779 3e5ed8b4 .config log report info WARNING in shark_write_reg/usb_submit_urb
ci2-upstream-usb 2021/02/09 06:43 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing d8c849037d93 2bd9619f .config log report info WARNING in shark_write_reg/usb_submit_urb
ci2-upstream-usb 2021/01/30 22:20 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 3c648d3deb0f fc9fd31e .config log report info WARNING in shark_write_reg/usb_submit_urb
ci2-upstream-usb 2020/12/14 01:55 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing a256e24021bf 8f160dd5 .config log report info
ci2-upstream-usb 2020/12/02 07:30 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing ebad43260d22 c42a35e9 .config log report info
ci2-upstream-usb 2020/11/08 09:29 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 9e39aef3a105 cba33199 .config log report info
ci2-upstream-usb 2020/08/22 10:16 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 28157b8c7d9a 6436ce4b .config log report
ci2-upstream-usb 2020/08/01 05:16 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing e3ee0e740c38 8df85ed9 .config log report
ci2-upstream-usb 2020/06/05 16:36 https://github.com/google/kasan.git usb-fuzzer 2089c6ed5a17 d36418e9 .config log report
ci2-upstream-usb 2020/05/14 04:17 https://github.com/google/kasan.git usb-fuzzer 059e7e0ff26c a885920d .config log report
ci2-upstream-usb 2020/05/13 10:30 https://github.com/google/kasan.git usb-fuzzer 059e7e0ff26c 9a6d42fb .config log report
ci2-upstream-usb 2020/04/22 10:03 https://github.com/google/kasan.git usb-fuzzer e9010320f2d9 2e44d63e .config log report
ci2-upstream-usb 2020/04/18 10:16 https://github.com/google/kasan.git usb-fuzzer 0fa84af850a4 435c6d53 .config log report
ci2-upstream-usb 2020/04/13 04:22 https://github.com/google/kasan.git usb-fuzzer 0fa84af850a4 17a986e5 .config log report
ci2-upstream-usb 2019/12/27 18:43 https://github.com/google/kasan.git usb-fuzzer ecdf2214f472 be5c2c81 .config log report
ci2-upstream-usb 2019/08/04 21:59 https://github.com/google/kasan.git usb-fuzzer e96407b49762 6affd8e8 .config log report
ci2-upstream-usb 2019/07/15 22:24 https://github.com/google/kasan.git usb-fuzzer 6a3599ceaa39 139ac68a .config log report