syzbot


WARNING in dtv5100_probe/usb_submit_urb

Status: fixed on 2021/11/10 00:50
Reported-by: syzbot+b0b89cff78d7b7bd0278@syzkaller.appspotmail.com
Fix commit: 8c8b9a9be2af media: dtv5100: fix control-request directions
First crash: 625d, last: 575d

Sample crash report:
usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1: Product: syz
usb 1-1: Manufacturer: syz
usb 1-1: SerialNumber: syz
usb 1-1: config 0 descriptor??
------------[ cut here ]------------
usb 1-1: BOGUS control dir, pipe 80000280 doesn't match bRequestType 40
WARNING: CPU: 0 PID: 7 at drivers/usb/core/urb.c:410 usb_submit_urb+0x14aa/0x1830 drivers/usb/core/urb.c:410
Modules linked in:
CPU: 0 PID: 7 Comm: kworker/0:1 Not tainted 5.13.0-rc2-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+0x14aa/0x1830 drivers/usb/core/urb.c:410
Code: 84 4c 01 00 00 e8 a6 14 b3 fd 4c 89 f7 e8 4e a7 1b ff 45 89 e8 44 89 e1 48 89 ea 48 89 c6 48 c7 c7 c0 09 63 86 e8 18 f1 fb 01 <0f> 0b 49 8d 4f 5c 48 b8 00 00 00 00 00 fc ff df 48 89 ca 48 89 4c
RSP: 0018:ffffc9000007ef48 EFLAGS: 00010286
RAX: 0000000000000000 RBX: ffff888118a67058 RCX: 0000000000000000
RDX: ffff888100283680 RSI: ffffffff812a6013 RDI: fffff5200000fddb
RBP: ffff88810f661118 R08: 0000000000000001 R09: 0000000000000000
R10: ffffffff814b996b R11: 0000000000000000 R12: 0000000080000280
R13: 0000000000000040 R14: ffff888118a670a8 R15: ffff888108f99d00
FS:  0000000000000000(0000) GS:ffff8881f6800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f1967249008 CR3: 00000001104a3000 CR4: 00000000001506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 usb_start_wait_urb+0x101/0x4c0 drivers/usb/core/message.c:58
 usb_internal_control_msg drivers/usb/core/message.c:102 [inline]
 usb_control_msg+0x31c/0x4a0 drivers/usb/core/message.c:153
 dtv5100_probe+0x184/0x2b0 drivers/media/usb/dvb-usb/dtv5100.c:144
 usb_probe_interface+0x315/0x7f0 drivers/usb/core/driver.c:396
 really_probe+0x291/0xf60 drivers/base/dd.c:576
 driver_probe_device+0x298/0x410 drivers/base/dd.c:763
 __device_attach_driver+0x203/0x2c0 drivers/base/dd.c:870
 bus_for_each_drv+0x15f/0x1e0 drivers/base/bus.c:431
 __device_attach+0x228/0x4b0 drivers/base/dd.c:938
 bus_probe_device+0x1e4/0x290 drivers/base/bus.c:491
 device_add+0xbe0/0x2100 drivers/base/core.c:3320
 usb_set_configuration+0x113f/0x1910 drivers/usb/core/message.c:2164
 usb_generic_driver_probe+0xba/0x100 drivers/usb/core/generic.c:238
 usb_probe_device+0xd9/0x2c0 drivers/usb/core/driver.c:293
 really_probe+0x291/0xf60 drivers/base/dd.c:576
 driver_probe_device+0x298/0x410 drivers/base/dd.c:763
 __device_attach_driver+0x203/0x2c0 drivers/base/dd.c:870
 bus_for_each_drv+0x15f/0x1e0 drivers/base/bus.c:431
 __device_attach+0x228/0x4b0 drivers/base/dd.c:938
 bus_probe_device+0x1e4/0x290 drivers/base/bus.c:491
 device_add+0xbe0/0x2100 drivers/base/core.c:3320
 usb_new_device.cold+0x721/0x1058 drivers/usb/core/hub.c:2556
 hub_port_connect drivers/usb/core/hub.c:5297 [inline]
 hub_port_connect_change drivers/usb/core/hub.c:5437 [inline]
 port_event drivers/usb/core/hub.c:5583 [inline]
 hub_event+0x2357/0x4330 drivers/usb/core/hub.c:5665
 process_one_work+0x98d/0x1580 kernel/workqueue.c:2275
 worker_thread+0x64c/0x1120 kernel/workqueue.c:2421
 kthread+0x38c/0x460 kernel/kthread.c:313
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294

Crashes (51):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets Title
ci2-upstream-usb 2021/05/23 04:56 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 5cc59c418fde 3c7fef33 .config console log report syz C WARNING in dtv5100_probe/usb_submit_urb
ci2-upstream-usb 2021/07/11 11:18 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 7756f1d6369e 8f5a7b8c .config console log report info WARNING in dtv5100_probe/usb_submit_urb
ci2-upstream-usb 2021/07/09 18:36 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 7756f1d6369e 281e815f .config console log report info WARNING in dtv5100_probe/usb_submit_urb
ci2-upstream-usb 2021/07/06 11:48 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 7756f1d6369e 6c4484eb .config console log report info WARNING in dtv5100_probe/usb_submit_urb
ci2-upstream-usb 2021/07/05 11:47 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 7756f1d6369e 55aa55c2 .config console log report info WARNING in dtv5100_probe/usb_submit_urb
ci2-upstream-usb 2021/07/04 14:44 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 7756f1d6369e 55aa55c2 .config console log report info WARNING in dtv5100_probe/usb_submit_urb
ci2-upstream-usb 2021/07/04 05:53 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 7756f1d6369e 55aa55c2 .config console log report info WARNING in dtv5100_probe/usb_submit_urb
ci2-upstream-usb 2021/07/03 06:31 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 7756f1d6369e 55aa55c2 .config console log report info WARNING in dtv5100_probe/usb_submit_urb
ci2-upstream-usb 2021/07/01 21:05 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 7756f1d6369e 658ebc66 .config console log report info WARNING in dtv5100_probe/usb_submit_urb
ci2-upstream-usb 2021/07/01 04:42 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 7756f1d6369e 38a885d1 .config console log report info WARNING in dtv5100_probe/usb_submit_urb
ci2-upstream-usb 2021/06/30 23:52 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 7756f1d6369e 38a885d1 .config console log report info WARNING in dtv5100_probe/usb_submit_urb
ci2-upstream-usb 2021/06/30 14:06 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 7756f1d6369e 84fd4c77 .config console log report info WARNING in dtv5100_probe/usb_submit_urb
ci2-upstream-usb 2021/06/30 12:49 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 7756f1d6369e 84fd4c77 .config console log report info WARNING in dtv5100_probe/usb_submit_urb
ci2-upstream-usb 2021/06/29 00:56 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 7756f1d6369e 9d2ab5df .config console log report info WARNING in dtv5100_probe/usb_submit_urb
ci2-upstream-usb 2021/06/28 07:01 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 7756f1d6369e 9d2ab5df .config console log report info WARNING in dtv5100_probe/usb_submit_urb
ci2-upstream-usb 2021/06/27 12:35 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 7756f1d6369e 9d2ab5df .config console log report info WARNING in dtv5100_probe/usb_submit_urb
ci2-upstream-usb 2021/06/27 08:06 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 7756f1d6369e 9d2ab5df .config console log report info WARNING in dtv5100_probe/usb_submit_urb
ci2-upstream-usb 2021/06/25 01:28 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 7756f1d6369e 0edbbe31 .config console log report info WARNING in dtv5100_probe/usb_submit_urb
ci2-upstream-usb 2021/06/23 02:51 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 00a738b86ec0 aba2b2fb .config console log report info WARNING in dtv5100_probe/usb_submit_urb
ci2-upstream-usb 2021/06/21 22:29 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing cfb0276373df aba2b2fb .config console log report info WARNING in dtv5100_probe/usb_submit_urb
ci2-upstream-usb 2021/06/21 12:55 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing cfb0276373df aba2b2fb .config console log report info WARNING in dtv5100_probe/usb_submit_urb
ci2-upstream-usb 2021/06/21 09:14 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 04d72afa34ed aba2b2fb .config console log report info WARNING in dtv5100_probe/usb_submit_urb
ci2-upstream-usb 2021/06/18 04:09 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing b31d9d6d7abb aba2b2fb .config console log report info WARNING in dtv5100_probe/usb_submit_urb
ci2-upstream-usb 2021/06/13 06:42 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 12f739798470 1ba81399 .config console log report info WARNING in dtv5100_probe/usb_submit_urb
ci2-upstream-usb 2021/06/12 20:11 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 12f739798470 1ba81399 .config console log report info WARNING in dtv5100_probe/usb_submit_urb
ci2-upstream-usb 2021/06/12 10:10 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 12f739798470 1ba81399 .config console log report info WARNING in dtv5100_probe/usb_submit_urb
ci2-upstream-usb 2021/06/09 17:51 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 60dfe484cef4 84fe5d96 .config console log report info WARNING in dtv5100_probe/usb_submit_urb
ci2-upstream-usb 2021/06/09 06:38 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 87191ca9f902 5c2fe346 .config console log report info WARNING in dtv5100_probe/usb_submit_urb
ci2-upstream-usb 2021/06/07 01:08 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 87191ca9f902 500c2339 .config console log report info WARNING in dtv5100_probe/usb_submit_urb
ci2-upstream-usb 2021/06/06 18:25 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 87191ca9f902 500c2339 .config console log report info WARNING in dtv5100_probe/usb_submit_urb
ci2-upstream-usb 2021/06/06 04:46 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 87191ca9f902 500c2339 .config console log report info WARNING in dtv5100_probe/usb_submit_urb
ci2-upstream-usb 2021/06/05 07:59 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 87191ca9f902 500c2339 .config console log report info WARNING in dtv5100_probe/usb_submit_urb
ci2-upstream-usb 2021/06/05 05:35 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 87191ca9f902 500c2339 .config console log report info WARNING in dtv5100_probe/usb_submit_urb
ci2-upstream-usb 2021/06/03 08:22 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 5ff90af9da8f 0740de69 .config console log report info WARNING in dtv5100_probe/usb_submit_urb
ci2-upstream-usb 2021/06/01 23:53 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing aa10fab0f859 032639db .config console log report info WARNING in dtv5100_probe/usb_submit_urb
ci2-upstream-usb 2021/06/01 13:56 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing aa10fab0f859 032639db .config console log report info WARNING in dtv5100_probe/usb_submit_urb
ci2-upstream-usb 2021/06/01 05:19 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing aa10fab0f859 032639db .config console log report info WARNING in dtv5100_probe/usb_submit_urb
ci2-upstream-usb 2021/05/31 20:12 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing aa10fab0f859 032639db .config console log report info WARNING in dtv5100_probe/usb_submit_urb
ci2-upstream-usb 2021/05/31 17:42 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing aa10fab0f859 032639db .config console log report info WARNING in dtv5100_probe/usb_submit_urb
ci2-upstream-usb 2021/05/30 13:12 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 7652dd2c5cb7 325a8dab .config console log report info WARNING in dtv5100_probe/usb_submit_urb
ci2-upstream-usb 2021/05/30 06:32 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 7652dd2c5cb7 325a8dab .config console log report info WARNING in dtv5100_probe/usb_submit_urb
ci2-upstream-usb 2021/05/28 07:23 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 7652dd2c5cb7 858ea628 .config console log report info WARNING in dtv5100_probe/usb_submit_urb
ci2-upstream-usb 2021/05/28 04:51 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 7652dd2c5cb7 858ea628 .config console log report info WARNING in dtv5100_probe/usb_submit_urb
ci2-upstream-usb 2021/05/26 06:47 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing a0765597c986 93d3a9f6 .config console log report info WARNING in dtv5100_probe/usb_submit_urb
ci2-upstream-usb 2021/05/25 13:23 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing a0765597c986 3c7fef33 .config console log report info WARNING in dtv5100_probe/usb_submit_urb
ci2-upstream-usb 2021/05/25 05:41 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing a0765597c986 3c7fef33 .config console log report info WARNING in dtv5100_probe/usb_submit_urb
ci2-upstream-usb 2021/05/24 14:59 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing a0765597c986 3c7fef33 .config console log report info WARNING in dtv5100_probe/usb_submit_urb
ci2-upstream-usb 2021/05/24 02:31 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 5cc59c418fde 3c7fef33 .config console log report info WARNING in dtv5100_probe/usb_submit_urb
ci2-upstream-usb 2021/05/23 06:52 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 5cc59c418fde 3c7fef33 .config console log report info WARNING in dtv5100_probe/usb_submit_urb
ci2-upstream-usb 2021/05/23 04:04 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 5cc59c418fde 3c7fef33 .config console log report info WARNING in dtv5100_probe/usb_submit_urb
ci2-upstream-usb 2021/05/22 18:41 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 5cc59c418fde 3c7fef33 .config console log report info WARNING in dtv5100_probe/usb_submit_urb
* Struck through repros no longer work on HEAD.