syzbot


WARNING in ar5523_cmd/usb_submit_urb
Status: upstream: reported C repro on 2020/01/29 12:27
Reported-by: syzbot+1bc2c2afd44f820a669f@syzkaller.appspotmail.com
First crash: 848d, last: 522d
Patch testing requests:
Created Duration User Patch Repo Result
2020/09/15 02:17 16m brookebasile@gmail.com upstream OK

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 urb xfer, pipe 3 != type 1
WARNING: CPU: 1 PID: 28 at drivers/usb/core/urb.c:493 usb_submit_urb+0xd27/0x1560 drivers/usb/core/urb.c:493
Modules linked in:
CPU: 1 PID: 28 Comm: kworker/1:1 Not tainted 5.10.0-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+0xd27/0x1560 drivers/usb/core/urb.c:493
Code: 84 d4 02 00 00 e8 b9 12 b5 fd 4c 89 ef e8 f1 6d 19 ff 41 89 d8 44 89 e1 4c 89 f2 48 89 c6 48 c7 c7 00 3d 82 86 e8 a4 de fd 01 <0f> 0b e9 81 f8 ff ff e8 8d 12 b5 fd 48 81 c5 30 06 00 00 e9 ad f7
RSP: 0018:ffffc90000196fb8 EFLAGS: 00010282
RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000
RDX: ffff888100324d40 RSI: ffffffff8129ffe3 RDI: fffff52000032de9
RBP: ffff888100938300 R08: 0000000000000001 R09: 0000000000000000
R10: ffffffff814a7baf R11: 0000000000000000 R12: 0000000000000003
R13: ffff8881000750a0 R14: ffff8881037ee118 R15: ffff8881033fe600
FS:  0000000000000000(0000) GS:ffff8881f6900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055e847635708 CR3: 00000001111c2000 CR4: 00000000001506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 ar5523_cmd+0x420/0x790 drivers/net/wireless/ath/ar5523/ar5523.c:271
 ar5523_cmd_read drivers/net/wireless/ath/ar5523/ar5523.c:298 [inline]
 ar5523_host_available drivers/net/wireless/ath/ar5523/ar5523.c:1372 [inline]
 ar5523_probe+0xc59/0x1db0 drivers/net/wireless/ath/ar5523/ar5523.c:1652
 usb_probe_interface+0x315/0x7f0 drivers/usb/core/driver.c:396
 really_probe+0x2b1/0xe40 drivers/base/dd.c:561
 driver_probe_device+0x285/0x3f0 drivers/base/dd.c:745
 __device_attach_driver+0x216/0x2d0 drivers/base/dd.c:851
 bus_for_each_drv+0x15f/0x1e0 drivers/base/bus.c:431
 __device_attach+0x228/0x4c0 drivers/base/dd.c:919
 bus_probe_device+0x1e4/0x290 drivers/base/bus.c:491
 device_add+0xbc4/0x1d90 drivers/base/core.c:3091
 usb_set_configuration+0x113c/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+0x2b1/0xe40 drivers/base/dd.c:561
 driver_probe_device+0x285/0x3f0 drivers/base/dd.c:745
 __device_attach_driver+0x216/0x2d0 drivers/base/dd.c:851
 bus_for_each_drv+0x15f/0x1e0 drivers/base/bus.c:431
 __device_attach+0x228/0x4c0 drivers/base/dd.c:919
 bus_probe_device+0x1e4/0x290 drivers/base/bus.c:491
 device_add+0xbc4/0x1d90 drivers/base/core.c:3091
 usb_new_device.cold+0x725/0x1057 drivers/usb/core/hub.c:2555
 hub_port_connect drivers/usb/core/hub.c:5223 [inline]
 hub_port_connect_change drivers/usb/core/hub.c:5363 [inline]
 port_event drivers/usb/core/hub.c:5509 [inline]
 hub_event+0x2348/0x42d0 drivers/usb/core/hub.c:5591
 process_one_work+0x98d/0x15c0 kernel/workqueue.c:2275
 worker_thread+0x64c/0x1120 kernel/workqueue.c:2421
 kthread+0x38c/0x460 kernel/kthread.c:292
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296

Crashes (3):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-usb 2020/12/20 04:34 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 3644e2d2dda7 04201c06 .config log report syz C
ci2-upstream-usb 2020/01/29 03:11 https://github.com/google/kasan.git usb-fuzzer cd234325a5f1 c8e81ce4 .config log report syz C
ci2-upstream-usb 2020/01/29 02:40 https://github.com/google/kasan.git usb-fuzzer cd234325a5f1 c8e81ce4 .config log report