syzbot


WARNING in shark_write_val/usb_submit_urb

Status: fixed on 2023/06/08 14:41
Subsystems: usb
[Documentation on labels]
Reported-by: syzbot+1cb937c125adb93fad2d@syzkaller.appspotmail.com
Fix commit: 76e31045ba03 media: radio-shark: Add endpoint checks
First crash: 1969d, last: 608d
Cause bisection: failed (error log, bisect log)
  
Fix bisection: fixed by (bisect log) :
commit 76e31045ba030e94e72105c01b2e98f543d175ac
Author: Alan Stern <stern@rowland.harvard.edu>
Date: Mon Apr 10 19:40:05 2023 +0000

  media: radio-shark: Add endpoint checks

  
Discussions (5)
Title Replies (including bot) Last reply
WARNING in shark_write_val/usb_submit_urb 1 (3) 2023/05/13 13:42
[syzbot] Monthly usb report 12 (17) 2023/04/10 16:42
Reminder: 67 active syzbot reports in usb subsystem 1 (1) 2019/10/04 03:38
Reminder: 35 open syzbot bugs in media subsystem 1 (1) 2019/07/24 01:39
Reminder: 67 open syzbot bugs in usb subsystem 1 (1) 2019/07/24 01:35
Fix bisection attempts (3)
Created Duration User Patch Repo Result
2023/05/12 15:17 6h13m bisect fix upstream OK (1) job log
2023/03/27 07:02 23m bisect fix upstream OK (0) job log log
2023/02/24 08:56 21m bisect fix upstream OK (0) job log log

Sample crash report:
usb 5-1: New USB device found, idVendor=077d, idProduct=627a, bcdDevice= 0.01
usb 5-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
usb 5-1: config 0 descriptor??
usb 5-1: string descriptor 0 read error: -71
------------[ cut here ]------------
usb 5-1: BOGUS urb xfer, pipe 1 != type 3
WARNING: CPU: 2 PID: 37 at drivers/usb/core/urb.c:502 usb_submit_urb+0xed2/0x18a0 drivers/usb/core/urb.c:502
Modules linked in:
CPU: 2 PID: 37 Comm: kworker/2:1 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:ffffc90000816df8 EFLAGS: 00010286
RAX: 0000000000000000 RBX: 0000000000000003 RCX: 0000000000000000
RDX: ffff888012be0180 RSI: ffffffff815f12d8 RDI: fffff52000102db1
RBP: ffff888011607680 R08: 0000000000000000 R09: 0000000000000001
R10: ffffffff815eb96e R11: 0000000000000000 R12: 0000000000000001
R13: ffff888018383400 R14: 0000000000000002 R15: ffff888014107a00
FS:  0000000000000000(0000) GS:ffff88802cc00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055aa1c5743d0 CR3: 000000000b88e000 CR4: 0000000000150ee0
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_val+0x222/0x350 drivers/media/radio/radio-shark.c:94
 snd_tea575x_write+0x78/0x330 drivers/media/radio/tea575x.c:88
 snd_tea575x_hw_init drivers/media/radio/tea575x.c:502 [inline]
 snd_tea575x_init+0x9e/0xa10 drivers/media/radio/tea575x.c:517
 usb_shark_probe+0x636/0x910 drivers/media/radio/radio-shark.c:353
 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>

Crashes (51):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/03/04 18:09 upstream 38f80f42147f 45a13a73 .config console log report syz C ci-qemu-upstream WARNING in shark_write_val/usb_submit_urb
2022/09/11 16:00 linux-next e47eb90a0a9a 356d8217 .config strace log report syz C ci-upstream-linux-next-kasan-gce-root WARNING in shark_write_val/usb_submit_urb
2022/06/25 13:01 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 508aeb54e4f0 a371c43c .config console log report syz C ci2-upstream-usb WARNING in shark_write_val/usb_submit_urb
2020/05/14 00:43 https://github.com/google/kasan.git usb-fuzzer 059e7e0ff26c a885920d .config console log report syz C ci2-upstream-usb
2020/03/17 03:12 https://github.com/google/kasan.git usb-fuzzer d6ff8147a51c 749688d2 .config console log report syz C ci2-upstream-usb
2020/02/25 05:47 https://github.com/google/kasan.git usb-fuzzer d6ff8147a51c 59b57593 .config console log report syz C ci2-upstream-usb
2020/01/24 20:47 https://github.com/google/kasan.git usb-fuzzer cd234325a5f1 2e95ab33 .config console log report syz C ci2-upstream-usb
2019/09/27 07:22 https://github.com/google/kasan.git usb-fuzzer 2994c07743fe 2f1548bc .config console log report syz C ci2-upstream-usb
2019/09/07 11:54 https://github.com/google/kasan.git usb-fuzzer f0df5c1be1e9 a60cb4cd .config console log report syz C ci2-upstream-usb
2019/07/21 22:10 https://github.com/google/kasan.git usb-fuzzer 6a3599ceaa39 1656845f .config console log report syz C ci2-upstream-usb
2022/10/31 08:04 upstream b229b6ca5abb 2a71366b .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in shark_write_val/usb_submit_urb
2021/12/08 20:47 upstream 2a987e65025e a4a2a501 .config console log report info ci-upstream-kasan-gce WARNING in shark_write_val/usb_submit_urb
2023/04/12 10:04 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 8e86652e3e71 1a1596b6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in shark_write_val/usb_submit_urb
2023/01/25 08:55 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 9e6f4c8b880b 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in shark_write_val/usb_submit_urb
2022/12/18 18:32 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing f9ff5644bcc0 05494336 .config console log report info ci2-upstream-usb WARNING in shark_write_val/usb_submit_urb
2022/08/08 01:53 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing b2a88c212e65 88e3a122 .config console log report info ci2-upstream-usb WARNING in shark_write_val/usb_submit_urb
2022/06/25 12:30 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 508aeb54e4f0 a371c43c .config console log report info ci2-upstream-usb WARNING in shark_write_val/usb_submit_urb
2022/04/27 04:57 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing ef94b2664a25 1fa34c1b .config console log report info ci2-upstream-usb WARNING in shark_write_val/usb_submit_urb
2022/04/08 02:12 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 312310928417 c6ff3e05 .config console log report info ci2-upstream-usb WARNING in shark_write_val/usb_submit_urb
2021/12/20 07:45 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing f2b42379c576 021b36cb .config console log report info ci2-upstream-usb WARNING in shark_write_val/usb_submit_urb
2021/11/06 02:46 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 048ff8629e11 4c1be0be .config console log report info ci2-upstream-usb WARNING in shark_write_val/usb_submit_urb
2021/09/15 10:39 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing ae8709b296d8 07e953c1 .config console log report info ci2-upstream-usb WARNING in shark_write_val/usb_submit_urb
2021/08/14 13:56 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing cea45a3bd2dd 2489ab88 .config console log report info ci2-upstream-usb WARNING in shark_write_val/usb_submit_urb
2021/06/20 23:35 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 04d72afa34ed aba2b2fb .config console log report info ci2-upstream-usb WARNING in shark_write_val/usb_submit_urb
2021/05/27 06:06 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing a0765597c986 858ea628 .config console log report info ci2-upstream-usb WARNING in shark_write_val/usb_submit_urb
2021/05/19 01:16 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 9fbf82c76414 a343ba6b .config console log report info ci2-upstream-usb WARNING in shark_write_val/usb_submit_urb
2021/05/16 22:58 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 216e0e563d81 f54a5c09 .config console log report info ci2-upstream-usb WARNING in shark_write_val/usb_submit_urb
2021/04/29 21:51 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 4a0225c3d208 77e2b668 .config console log report info ci2-upstream-usb WARNING in shark_write_val/usb_submit_urb
2021/04/28 04:24 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 4a0225c3d208 805b5003 .config console log report info ci2-upstream-usb WARNING in shark_write_val/usb_submit_urb
2021/04/13 00:36 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 9bc46a12c53d 6a81331a .config console log report info ci2-upstream-usb WARNING in shark_write_val/usb_submit_urb
2021/03/03 11:21 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 5e17812c22bc e5b64d68 .config console log report info ci2-upstream-usb WARNING in shark_write_val/usb_submit_urb
2021/02/08 06:40 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 8cf9045b9138 2ce644fc .config console log report info ci2-upstream-usb WARNING in shark_write_val/usb_submit_urb
2021/01/11 04:14 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 841081d89d5a 2c1f2513 .config console log report info ci2-upstream-usb
2021/01/03 06:15 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing cb4d9b52ec06 79264ae3 .config console log report info ci2-upstream-usb
2020/12/18 05:37 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 5e60366d56c6 04201c06 .config console log report info ci2-upstream-usb
2020/12/16 01:09 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing a256e24021bf f213e07e .config console log report info ci2-upstream-usb
2020/12/02 14:14 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing ebad43260d22 eff43e99 .config console log report info ci2-upstream-usb
2020/11/17 22:42 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 0fb2c41f992c 09323409 .config console log report info ci2-upstream-usb
2020/11/17 15:01 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 0fb2c41f992c bd2a760b .config console log report info ci2-upstream-usb
2020/10/18 16:33 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 726eb70e0d34 fea47c01 .config console log report info ci2-upstream-usb
2020/08/24 06:00 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 28157b8c7d9a cef5ae68 .config console log report ci2-upstream-usb
2020/08/11 14:23 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 449dc8c97089 5d3ebca9 .config console log report ci2-upstream-usb
2020/07/24 23:40 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 9a360a7cae11 0a13649c .config console log report ci2-upstream-usb
2020/07/13 13:20 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 25051b55a2f6 f90ec899 .config console log report ci2-upstream-usb
2020/07/09 05:42 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 768a07412843 9f9845eb .config console log report ci2-upstream-usb
2020/06/06 06:27 https://github.com/google/kasan.git usb-fuzzer 2089c6ed5a17 c3e9afb3 .config console log report ci2-upstream-usb
2020/06/03 10:11 https://github.com/google/kasan.git usb-fuzzer 2089c6ed5a17 f3ba1b5b .config console log report ci2-upstream-usb
2020/05/10 20:19 https://github.com/google/kasan.git usb-fuzzer 059e7e0ff26c 8742a2b9 .config console log report ci2-upstream-usb
2020/04/26 21:41 https://github.com/google/kasan.git usb-fuzzer 059e7e0ff26c 0ce7569e .config console log report ci2-upstream-usb
2020/03/27 05:25 https://github.com/google/kasan.git usb-fuzzer e17994d1e7b1 6d25c5a0 .config console log report ci2-upstream-usb
2019/07/21 21:23 https://github.com/google/kasan.git usb-fuzzer 6a3599ceaa39 1656845f .config console log report ci2-upstream-usb
* Struck through repros no longer work on HEAD.