syzbot


WARNING in cm109_input_open/usb_submit_urb

Status: upstream: reported syz repro on 2021/05/13 19:58
Reported-by: syzbot+d2ecf8b4cf94672e38a0@syzkaller.appspotmail.com
First crash: 511d, last: 239d

Cause bisection: introduced by (bisect log) [ignored commit]:
commit f2c2e717642c66f7fe7e5dd69b2e8ff5849f4d10
Author: Andrey Konovalov <andreyknvl@google.com>
Date: Mon Feb 24 16:13:03 2020 +0000

  usb: gadget: add raw-gadget interface

Crash: WARNING in cm109_submit_buzz_toggle/usb_submit_urb (log)
Repro: syz .config

Fix bisection: failed (bisect log)

Sample crash report:
------------[ cut here ]------------
URB 0000000042c435ee submitted while active
WARNING: CPU: 0 PID: 4812 at drivers/usb/core/urb.c:378 usb_submit_urb+0xf7f/0x1550 drivers/usb/core/urb.c:378
Modules linked in:
CPU: 0 PID: 4812 Comm: kworker/0:3 Not tainted 5.13.0-rc1-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+0xf7f/0x1550 drivers/usb/core/urb.c:378
Code: 5c 41 5d 41 5e 41 5f 5d e9 ae 57 ff ff e8 79 e7 c3 fb c6 05 82 cd 69 08 01 48 c7 c7 60 81 e1 8a 4c 89 e6 31 c0 e8 41 35 90 fb <0f> 0b e9 f8 f0 ff ff e8 55 e7 c3 fb eb 05 e8 4e e7 c3 fb bb a6 ff
RSP: 0018:ffffc9000a44e898 EFLAGS: 00010246
RAX: bb99830218d5f900 RBX: ffff888018da6308 RCX: ffff88802993d4c0
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: 0000000000000cc0 R08: ffffffff81654e72 R09: ffffed1017343f24
R10: ffffed1017343f24 R11: 0000000000000000 R12: ffff888018da6300
R13: dffffc0000000000 R14: ffff888013de7850 R15: ffff888013de7810
FS:  0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055fe941736a7 CR3: 000000001e8f1000 CR4: 00000000001506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 cm109_input_open+0x1eb/0x460 drivers/input/misc/cm109.c:572
 input_open_device+0x184/0x2d0 drivers/input/input.c:629
 kbd_connect+0xe5/0x120 drivers/tty/vt/keyboard.c:1581
 input_attach_handler drivers/input/input.c:1035 [inline]
 input_register_device+0xe25/0x1350 drivers/input/input.c:2335
 cm109_usb_probe+0x11bf/0x16c0 drivers/input/misc/cm109.c:806
 usb_probe_interface+0x632/0xb30 drivers/usb/core/driver.c:396
 really_probe+0x3cb/0x1020 drivers/base/dd.c:580
 driver_probe_device+0x178/0x350 drivers/base/dd.c:763
 bus_for_each_drv+0x16a/0x1f0 drivers/base/bus.c:431
 __device_attach+0x301/0x560 drivers/base/dd.c:938
 bus_probe_device+0xb8/0x1f0 drivers/base/bus.c:491
 device_add+0x11fc/0x1670 drivers/base/core.c:3319
 usb_set_configuration+0x1a86/0x2100 drivers/usb/core/message.c:2164
 usb_generic_driver_probe+0x83/0x140 drivers/usb/core/generic.c:238
 usb_probe_device+0x13a/0x260 drivers/usb/core/driver.c:293
 really_probe+0x3cb/0x1020 drivers/base/dd.c:580
 driver_probe_device+0x178/0x350 drivers/base/dd.c:763
 bus_for_each_drv+0x16a/0x1f0 drivers/base/bus.c:431
 __device_attach+0x301/0x560 drivers/base/dd.c:938
 bus_probe_device+0xb8/0x1f0 drivers/base/bus.c:491
 device_add+0x11fc/0x1670 drivers/base/core.c:3319
 usb_new_device+0xd45/0x1790 drivers/usb/core/hub.c:2556
 hub_port_connect+0x1055/0x27a0 drivers/usb/core/hub.c:5276
 hub_port_connect_change+0x5d0/0xbf0 drivers/usb/core/hub.c:5416
 port_event+0xaee/0x1140 drivers/usb/core/hub.c:5562
 hub_event+0x48d/0xd90 drivers/usb/core/hub.c:5644
 process_one_work+0x833/0x10c0 kernel/workqueue.c:2275
 worker_thread+0xac1/0x1300 kernel/workqueue.c:2421
 kthread+0x39a/0x3c0 kernel/kthread.c:313
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294

Crashes (2):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-smack-root 2021/05/13 14:25 upstream dbb5afad100a ed7d41c5 .config log report syz WARNING in cm109_input_open/usb_submit_urb
ci-upstream-linux-next-kasan-gce-root 2022/02/09 07:47 linux-next ef6b35306dd8 0b33604d .config log report syz WARNING in cm109_input_open/usb_submit_urb
* Struck through repros no longer work on HEAD.