syzbot


WARNING in wa_nep_create/usb_submit_urb

Status: fixed on 2020/06/28 13:52
Subsystems: usb staging
[Documentation on labels]
Reported-by: syzbot+5da93055dfbb6bc54963@syzkaller.appspotmail.com
Fix commit: caa6772db4c1 Staging: remove wusbcore and UWB from the kernel tree.
First crash: 1968d, last: 1684d
Discussions (6)
Title Replies (including bot) Last reply
Reminder: 45 active syzbot reports in usb subsystem 1 (1) 2019/11/19 04:27
Reminder: 67 active syzbot reports in usb subsystem 1 (1) 2019/10/04 03:38
Reminder: 52 active syzbot reports in usb subsystem 1 (1) 2019/08/22 03:28
Reminder: 99 open syzbot bugs in net subsystem 14 (14) 2019/07/31 15:13
Reminder: 67 open syzbot bugs in usb subsystem 1 (1) 2019/07/24 01:35
WARNING in wa_nep_create/usb_submit_urb 0 (1) 2019/07/10 11:07

Sample crash report:
usb 1-1: New USB device found, idVendor=13dc, idProduct=5611, bcdDevice=40.15
usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
usb 1-1: config 0 descriptor??
hwa-hc 1-1:0.0: Wire Adapter v8.0 newer than groked v1.0
usb 1-1: BUG? WUSB host has no security descriptors
------------[ cut here ]------------
usb 1-1: BOGUS urb xfer, pipe 1 != type 3
WARNING: CPU: 1 PID: 22 at drivers/usb/core/urb.c:478 usb_submit_urb+0x1188/0x13b0 drivers/usb/core/urb.c:478
Kernel panic - not syncing: panic_on_warn set ...
CPU: 1 PID: 22 Comm: kworker/1:1 Not tainted 5.5.0-rc2-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: usb_hub_wq hub_event
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0xef/0x16e lib/dump_stack.c:118
 panic+0x2aa/0x6e1 kernel/panic.c:221
 __warn.cold+0x2f/0x30 kernel/panic.c:582
 report_bug+0x27b/0x2f0 lib/bug.c:195
 fixup_bug arch/x86/kernel/traps.c:174 [inline]
 fixup_bug arch/x86/kernel/traps.c:169 [inline]
 do_error_trap+0x12b/0x1e0 arch/x86/kernel/traps.c:267
 do_invalid_op+0x32/0x40 arch/x86/kernel/traps.c:286
 invalid_op+0x23/0x30 arch/x86/entry/entry_64.S:1027
RIP: 0010:usb_submit_urb+0x1188/0x13b0 drivers/usb/core/urb.c:478
Code: 4d 85 ed 74 2c e8 78 90 e7 fd 4c 89 f7 e8 70 2c 1d ff 41 89 d8 44 89 e1 4c 89 ea 48 89 c6 48 c7 c7 80 59 15 86 e8 20 ad bc fd <0f> 0b e9 20 f4 ff ff e8 4c 90 e7 fd 4c 89 f2 48 b8 00 00 00 00 00
RSP: 0018:ffff8881d8c370b0 EFLAGS: 00010286
RAX: 0000000000000000 RBX: 0000000000000003 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff81295dad RDI: ffffed103b186e08
RBP: ffff8881d028a400 R08: ffff8881da24e200 R09: ffffed103b66439f
R10: ffffed103b66439e R11: ffff8881db321cf3 R12: 0000000000000001
R13: ffff8881d194fed0 R14: ffff8881c68a90a0 R15: ffff8881d4dfa000
 wa_nep_arm drivers/staging/wusbcore/wa-hc.h:261 [inline]
 wa_nep_create+0x4f9/0x720 drivers/staging/wusbcore/wa-nep.c:269
 wa_create+0x26e/0x340 drivers/staging/wusbcore/wa-hc.c:44
 hwahc_create drivers/staging/wusbcore/host/hwa-hc.c:749 [inline]
 hwahc_probe.cold+0xc9/0x48b drivers/staging/wusbcore/host/hwa-hc.c:805
 usb_probe_interface+0x305/0x7a0 drivers/usb/core/driver.c:361
 really_probe+0x281/0x6d0 drivers/base/dd.c:548
 driver_probe_device+0x104/0x210 drivers/base/dd.c:721
 __device_attach_driver+0x1c2/0x220 drivers/base/dd.c:828
 bus_for_each_drv+0x162/0x1e0 drivers/base/bus.c:430
 __device_attach+0x217/0x360 drivers/base/dd.c:894
 bus_probe_device+0x1e4/0x290 drivers/base/bus.c:490
 device_add+0x1480/0x1c20 drivers/base/core.c:2487
 usb_set_configuration+0xe67/0x1740 drivers/usb/core/message.c:2023
 generic_probe+0x9d/0xd5 drivers/usb/core/generic.c:210
 usb_probe_device+0x99/0x100 drivers/usb/core/driver.c:266
 really_probe+0x281/0x6d0 drivers/base/dd.c:548
 driver_probe_device+0x104/0x210 drivers/base/dd.c:721
 __device_attach_driver+0x1c2/0x220 drivers/base/dd.c:828
 bus_for_each_drv+0x162/0x1e0 drivers/base/bus.c:430
 __device_attach+0x217/0x360 drivers/base/dd.c:894
 bus_probe_device+0x1e4/0x290 drivers/base/bus.c:490
 device_add+0x1480/0x1c20 drivers/base/core.c:2487
 usb_new_device.cold+0x6a4/0xe79 drivers/usb/core/hub.c:2537
 hub_port_connect drivers/usb/core/hub.c:5184 [inline]
 hub_port_connect_change drivers/usb/core/hub.c:5324 [inline]
 port_event drivers/usb/core/hub.c:5470 [inline]
 hub_event+0x1e59/0x3860 drivers/usb/core/hub.c:5552
 process_one_work+0x92b/0x1530 kernel/workqueue.c:2264
 worker_thread+0x96/0xe20 kernel/workqueue.c:2410
 kthread+0x318/0x420 kernel/kthread.c:255
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (114):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/12/19 22:45 https://github.com/google/kasan.git usb-fuzzer ecdf2214f472 36650b4b .config console log report syz C ci2-upstream-usb
2019/11/05 21:24 https://github.com/google/kasan.git usb-fuzzer b1aa9d834830 af5c522d .config console log report syz C ci2-upstream-usb
2019/10/30 02:36 https://github.com/google/kasan.git usb-fuzzer ff6409a6ec35 5ea87a66 .config console log report syz C ci2-upstream-usb
2019/09/30 07:08 https://github.com/google/kasan.git usb-fuzzer 2994c07743fe c1ad5441 .config console log report syz C ci2-upstream-usb
2019/09/22 02:16 https://github.com/google/kasan.git usb-fuzzer e0bd8d794fc9 d96e88f3 .config console log report syz C ci2-upstream-usb
2019/07/10 05:31 https://github.com/google/kasan.git usb-fuzzer 7829a896a587 f62e1e85 .config console log report syz C ci2-upstream-usb
2020/04/19 15:35 https://github.com/google/kasan.git usb-fuzzer 0fa84af850a4 6dfd45e1 .config console log report ci2-upstream-usb
2020/04/19 05:04 https://github.com/google/kasan.git usb-fuzzer 0fa84af850a4 365fba24 .config console log report ci2-upstream-usb
2020/04/18 20:23 https://github.com/google/kasan.git usb-fuzzer 0fa84af850a4 365fba24 .config console log report ci2-upstream-usb
2020/04/17 13:27 https://github.com/google/kasan.git usb-fuzzer 0fa84af850a4 18397578 .config console log report ci2-upstream-usb
2020/04/17 10:17 https://github.com/google/kasan.git usb-fuzzer 0fa84af850a4 18397578 .config console log report ci2-upstream-usb
2020/04/16 09:00 https://github.com/google/kasan.git usb-fuzzer 0fa84af850a4 c743fcb3 .config console log report ci2-upstream-usb
2020/04/16 02:37 https://github.com/google/kasan.git usb-fuzzer 0fa84af850a4 3f3c5574 .config console log report ci2-upstream-usb
2020/04/14 21:09 https://github.com/google/kasan.git usb-fuzzer 0fa84af850a4 3f3c5574 .config console log report ci2-upstream-usb
2020/04/10 18:23 https://github.com/google/kasan.git usb-fuzzer 0fa84af850a4 a8c6a3f8 .config console log report ci2-upstream-usb
2020/04/09 04:13 https://github.com/google/kasan.git usb-fuzzer 0fa84af850a4 a8c6a3f8 .config console log report ci2-upstream-usb
2020/04/08 07:10 https://github.com/google/kasan.git usb-fuzzer 0fa84af850a4 db9bcd4b .config console log report ci2-upstream-usb
2020/04/06 23:06 https://github.com/google/kasan.git usb-fuzzer 0fa84af850a4 99a96044 .config console log report ci2-upstream-usb
2020/04/01 11:24 https://github.com/google/kasan.git usb-fuzzer 0fa84af850a4 a34e2c33 .config console log report ci2-upstream-usb
2020/03/30 20:33 https://github.com/google/kasan.git usb-fuzzer 0fa84af850a4 c8d1cc20 .config console log report ci2-upstream-usb
2020/03/28 23:14 https://github.com/google/kasan.git usb-fuzzer 0fa84af850a4 f1ebdfba .config console log report ci2-upstream-usb
2020/03/28 16:13 https://github.com/google/kasan.git usb-fuzzer 0fa84af850a4 f1ebdfba .config console log report ci2-upstream-usb
2020/03/28 14:12 https://github.com/google/kasan.git usb-fuzzer 0fa84af850a4 f1ebdfba .config console log report ci2-upstream-usb
2020/03/27 03:08 https://github.com/google/kasan.git usb-fuzzer e17994d1e7b1 6d25c5a0 .config console log report ci2-upstream-usb
2020/03/25 02:41 https://github.com/google/kasan.git usb-fuzzer e17994d1e7b1 68660b21 .config console log report ci2-upstream-usb
2020/03/23 04:16 https://github.com/google/kasan.git usb-fuzzer e17994d1e7b1 78267cec .config console log report ci2-upstream-usb
2020/03/20 21:57 https://github.com/google/kasan.git usb-fuzzer e17994d1e7b1 2c31c529 .config console log report ci2-upstream-usb
2020/03/18 14:06 https://github.com/google/kasan.git usb-fuzzer d6ff8147a51c 0a96a13c .config console log report ci2-upstream-usb
2020/03/13 06:09 https://github.com/google/kasan.git usb-fuzzer d6ff8147a51c d850e9d0 .config console log report ci2-upstream-usb
2020/03/08 00:01 https://github.com/google/kasan.git usb-fuzzer d6ff8147a51c 2e9971bb .config console log report ci2-upstream-usb
2020/03/05 21:59 https://github.com/google/kasan.git usb-fuzzer d6ff8147a51c b655d91b .config console log report ci2-upstream-usb
2020/03/03 23:54 https://github.com/google/kasan.git usb-fuzzer d6ff8147a51c 1f73b64b .config console log report ci2-upstream-usb
2020/03/03 15:19 https://github.com/google/kasan.git usb-fuzzer d6ff8147a51c 350a7a26 .config console log report ci2-upstream-usb
2020/03/03 12:11 https://github.com/google/kasan.git usb-fuzzer d6ff8147a51c 350a7a26 .config console log report ci2-upstream-usb
2020/03/01 16:45 https://github.com/google/kasan.git usb-fuzzer d6ff8147a51c c88c7b75 .config console log report ci2-upstream-usb
2020/03/01 14:20 https://github.com/google/kasan.git usb-fuzzer d6ff8147a51c c88c7b75 .config console log report ci2-upstream-usb
2020/02/29 00:31 https://github.com/google/kasan.git usb-fuzzer d6ff8147a51c c88c7b75 .config console log report ci2-upstream-usb
2020/02/24 05:11 https://github.com/google/kasan.git usb-fuzzer 307a2623c9d7 d801cb02 .config console log report ci2-upstream-usb
2020/02/22 08:11 https://github.com/google/kasan.git usb-fuzzer 307a2623c9d7 2ffa6679 .config console log report ci2-upstream-usb
2020/02/20 09:40 https://github.com/google/kasan.git usb-fuzzer 7f0cd6c7c423 b690a6e3 .config console log report ci2-upstream-usb
2020/02/20 03:17 https://github.com/google/kasan.git usb-fuzzer 7f0cd6c7c423 b690a6e3 .config console log report ci2-upstream-usb
2020/02/19 22:10 https://github.com/google/kasan.git usb-fuzzer 7f0cd6c7c423 47fae6e9 .config console log report ci2-upstream-usb
2020/02/19 19:55 https://github.com/google/kasan.git usb-fuzzer 7f0cd6c7c423 47fae6e9 .config console log report ci2-upstream-usb
2020/02/16 17:14 https://github.com/google/kasan.git usb-fuzzer 7f0cd6c7c423 cf914200 .config console log report ci2-upstream-usb
2020/02/16 09:54 https://github.com/google/kasan.git usb-fuzzer 7f0cd6c7c423 5d7b90f1 .config console log report ci2-upstream-usb
2020/02/12 10:32 https://github.com/google/kasan.git usb-fuzzer 7f0cd6c7c423 a75b198c .config console log report ci2-upstream-usb
2020/02/08 11:03 https://github.com/google/kasan.git usb-fuzzer e5cd56e94edd 06150bf1 .config console log report ci2-upstream-usb
2020/02/08 06:17 https://github.com/google/kasan.git usb-fuzzer e5cd56e94edd 06150bf1 .config console log report ci2-upstream-usb
2020/02/06 21:41 https://github.com/google/kasan.git usb-fuzzer e5cd56e94edd 5be3a391 .config console log report ci2-upstream-usb
2020/02/06 08:48 https://github.com/google/kasan.git usb-fuzzer e5cd56e94edd 662cf49a .config console log report ci2-upstream-usb
* Struck through repros no longer work on HEAD.