syzbot


WARNING in iforce_get_id_packet/usb_submit_urb

Status: closed as dup on 2019/11/19 13:33
Subsystems: usb input
[Documentation on labels]
Reported-by: syzbot+9584b712baf1965b590c@syzkaller.appspotmail.com
First crash: 1996d, last: 1978d
Duplicate of
Title Repro Cause bisect Fix bisect Count Last Reported
WARNING in __iforce_usb_xmit/usb_submit_urb usb input C 3 1966d 1970d
Discussions (3)
Title Replies (including bot) Last reply
WARNING in iforce_get_id_packet/usb_submit_urb 1 (2) 2019/11/19 13:33
Reminder: 8 open syzbot bugs in input subsystem 1 (1) 2019/07/24 02:27
Reminder: 67 open syzbot bugs in usb subsystem 1 (1) 2019/07/24 01:35

Sample crash report:
usb 1-1: config 0 interface 143 altsetting 0 has a duplicate endpoint with address 0xF, skipping
usb 1-1: New USB device found, idVendor=05ef, idProduct=8884, bcdDevice=90.28
usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
usb 1-1: config 0 descriptor??
------------[ cut here ]------------
URB 00000000837e9cb0 submitted while active
WARNING: CPU: 1 PID: 107 at drivers/usb/core/urb.c:362 usb_submit_urb+0x10c1/0x13b0 drivers/usb/core/urb.c:362
Kernel panic - not syncing: panic_on_warn set ...
CPU: 1 PID: 107 Comm: kworker/1:2 Not tainted 5.2.0-rc6+ #14
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+0xca/0x13e lib/dump_stack.c:113
 panic+0x292/0x6c9 kernel/panic.c:219
 __warn.cold+0x20/0x4b kernel/panic.c:576
 report_bug+0x262/0x2a0 lib/bug.c:186
 fixup_bug arch/x86/kernel/traps.c:179 [inline]
 fixup_bug arch/x86/kernel/traps.c:174 [inline]
 do_error_trap+0x12b/0x1e0 arch/x86/kernel/traps.c:272
 do_invalid_op+0x32/0x40 arch/x86/kernel/traps.c:291
 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:986
RIP: 0010:usb_submit_urb+0x10c1/0x13b0 drivers/usb/core/urb.c:362
Code: 89 de e8 c2 6b e8 fd 84 db 0f 85 42 f6 ff ff e8 85 6a e8 fd 4c 89 fe 48 c7 c7 e0 39 1a 86 c6 05 1b 06 57 04 01 e8 1a 2f be fd <0f> 0b e9 20 f6 ff ff c7 44 24 14 01 00 00 00 e9 d7 f6 ff ff 41 bd
RSP: 0018:ffff8881d4247010 EFLAGS: 00010286
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff8127ef3d RDI: ffffed103a848df4
RBP: ffff8881d4447100 R08: ffff8881d4238000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff8881d0bcc400
R13: 00000000fffffff0 R14: ffffffff862dfc60 R15: ffff8881d4447100
 iforce_get_id_packet+0x19c/0x52c drivers/input/joystick/iforce/iforce-packets.c:238
 iforce_init_device+0x391/0x138d drivers/input/joystick/iforce/iforce-main.c:293
 iforce_usb_probe+0x97c/0xd90 drivers/input/joystick/iforce/iforce-usb.c:163
 usb_probe_interface+0x305/0x7a0 drivers/usb/core/driver.c:361
 really_probe+0x281/0x660 drivers/base/dd.c:509
 driver_probe_device+0x104/0x210 drivers/base/dd.c:670
 __device_attach_driver+0x1c2/0x220 drivers/base/dd.c:777
 bus_for_each_drv+0x15c/0x1e0 drivers/base/bus.c:454
 __device_attach+0x217/0x360 drivers/base/dd.c:843
 bus_probe_device+0x1e4/0x290 drivers/base/bus.c:514
 device_add+0xae6/0x16f0 drivers/base/core.c:2111
 usb_set_configuration+0xdf6/0x1670 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/0x660 drivers/base/dd.c:509
 driver_probe_device+0x104/0x210 drivers/base/dd.c:670
 __device_attach_driver+0x1c2/0x220 drivers/base/dd.c:777
 bus_for_each_drv+0x15c/0x1e0 drivers/base/bus.c:454
 __device_attach+0x217/0x360 drivers/base/dd.c:843
 bus_probe_device+0x1e4/0x290 drivers/base/bus.c:514
 device_add+0xae6/0x16f0 drivers/base/core.c:2111
 usb_new_device.cold+0x8c1/0x1016 drivers/usb/core/hub.c:2536
 hub_port_connect drivers/usb/core/hub.c:5098 [inline]
 hub_port_connect_change drivers/usb/core/hub.c:5213 [inline]
 port_event drivers/usb/core/hub.c:5359 [inline]
 hub_event+0x1b3d/0x35f0 drivers/usb/core/hub.c:5441
 process_one_work+0x905/0x1570 kernel/workqueue.c:2269
 worker_thread+0x96/0xe20 kernel/workqueue.c:2415
 kthread+0x30b/0x410 kernel/kthread.c:255
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (7):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/07/11 20:55 https://github.com/google/kasan.git usb-fuzzer 6a3599ceaa39 186a30b9 .config console log report syz C ci2-upstream-usb
2019/07/11 01:20 https://github.com/google/kasan.git usb-fuzzer 7829a896a587 ff7bf04c .config console log report syz C ci2-upstream-usb
2019/07/10 03:35 https://github.com/google/kasan.git usb-fuzzer 7829a896a587 f62e1e85 .config console log report syz C ci2-upstream-usb
2019/07/28 14:52 https://github.com/google/kasan.git usb-fuzzer 6a3599ceaa39 c85e1c5b .config console log report ci2-upstream-usb
2019/07/27 09:40 https://github.com/google/kasan.git usb-fuzzer 6a3599ceaa39 c85e1c5b .config console log report ci2-upstream-usb
2019/07/19 09:16 https://github.com/google/kasan.git usb-fuzzer 6a3599ceaa39 8304907d .config console log report ci2-upstream-usb
2019/07/16 02:03 https://github.com/google/kasan.git usb-fuzzer 6a3599ceaa39 139ac68a .config console log report ci2-upstream-usb
* Struck through repros no longer work on HEAD.