syzbot


WARNING in cm109_input_open/usb_submit_urb

Status: upstream: reported on 2024/06/17 23:16
Reported-by: syzbot+4ce6d477b40796b523cb@syzkaller.appspotmail.com
First crash: 119d, last: 64d
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in cm109_input_open/usb_submit_urb (2) input 2 312d 360d 0/28 auto-obsoleted due to no activity on 2024/03/17 05:41
upstream WARNING in cm109_input_open/usb_submit_urb input usb syz unreliable error 2 739d 1251d 0/28 auto-obsoleted due to no activity on 2023/04/22 01:04
upstream WARNING in cm109_input_open/usb_submit_urb (3) input syz error 26 6d14h 202d 0/28 upstream: reported syz repro on 2024/03/27 14:52
linux-6.1 WARNING in cm109_input_open/usb_submit_urb 1 84d 84d 0/3 upstream: reported on 2024/07/23 09:48

Sample crash report:
usb 3-1: New USB device strings: Mfr=0, Product=24, SerialNumber=3
usb 3-1: Product: syz
usb 3-1: SerialNumber: syz
usb 3-1: config 0 descriptor??
cm109 3-1:0.8: invalid payload size 0, expected 4
input: CM109 USB driver as /devices/platform/dummy_hcd.2/usb3/3-1/3-1:0.8/input/input18
------------[ cut here ]------------
URB ffff888023557000 submitted while active
WARNING: CPU: 1 PID: 5910 at drivers/usb/core/urb.c:378 usb_submit_urb+0x10b1/0x1990 drivers/usb/core/urb.c:378
Modules linked in:
CPU: 1 PID: 5910 Comm: kworker/1:19 Not tainted 5.15.164-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024
Workqueue: usb_hub_wq hub_event
RIP: 0010:usb_submit_urb+0x10b1/0x1990 drivers/usb/core/urb.c:378
Code: 1f 5f fb eb 4d e8 4f 1f 5f fb e9 fc ef ff ff e8 45 1f 5f fb c6 05 79 74 b4 07 01 48 c7 c7 c0 b3 23 8b 4c 89 ee e8 bf c1 2a fb <0f> 0b e9 c7 ef ff ff e8 23 1f 5f fb eb 1a e8 1c 1f 5f fb eb 13 e8
RSP: 0018:ffffc90002e76bd8 EFLAGS: 00010246
RAX: 67df7747b4eb5400 RBX: ffff888027ae6048 RCX: 0000000000100000
RDX: ffffc9000ab11000 RSI: 0000000000044b07 RDI: 0000000000044b08
RBP: ffff888023557008 R08: ffffffff8166892c R09: ffffed1017364f24
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff888023557000 R14: 0000000000000cc0 R15: ffff888027ae6010
FS:  0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f26ae511a8c CR3: 0000000012b33000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 cm109_input_open+0x1f5/0x460 drivers/input/misc/cm109.c:572
 input_open_device+0x188/0x2d0 drivers/input/input.c:640
 kbd_connect+0xe5/0x120 drivers/tty/vt/keyboard.c:1581
 input_attach_handler drivers/input/input.c:1046 [inline]
 input_register_device+0xdae/0x1150 drivers/input/input.c:2429
 cm109_usb_probe+0x10bb/0x15f0 drivers/input/misc/cm109.c:806
 usb_probe_interface+0x5c0/0xaf0 drivers/usb/core/driver.c:396
 really_probe+0x24e/0xb60 drivers/base/dd.c:595
 __driver_probe_device+0x1a2/0x3d0 drivers/base/dd.c:755
 driver_probe_device+0x50/0x420 drivers/base/dd.c:785
 __device_attach_driver+0x2b9/0x500 drivers/base/dd.c:907
 bus_for_each_drv+0x183/0x200 drivers/base/bus.c:427
 __device_attach+0x359/0x570 drivers/base/dd.c:979
 bus_probe_device+0xba/0x1e0 drivers/base/bus.c:487
 device_add+0xb48/0xfd0 drivers/base/core.c:3412
 usb_set_configuration+0x19dd/0x2020 drivers/usb/core/message.c:2165
 usb_generic_driver_probe+0x84/0x140 drivers/usb/core/generic.c:238
 usb_probe_device+0x130/0x260 drivers/usb/core/driver.c:293
 really_probe+0x24e/0xb60 drivers/base/dd.c:595
 __driver_probe_device+0x1a2/0x3d0 drivers/base/dd.c:755
 driver_probe_device+0x50/0x420 drivers/base/dd.c:785
 __device_attach_driver+0x2b9/0x500 drivers/base/dd.c:907
 bus_for_each_drv+0x183/0x200 drivers/base/bus.c:427
 __device_attach+0x359/0x570 drivers/base/dd.c:979
 bus_probe_device+0xba/0x1e0 drivers/base/bus.c:487
 device_add+0xb48/0xfd0 drivers/base/core.c:3412
 usb_new_device+0xc17/0x18e0 drivers/usb/core/hub.c:2593
 hub_port_connect drivers/usb/core/hub.c:5455 [inline]
 hub_port_connect_change drivers/usb/core/hub.c:5595 [inline]
 port_event drivers/usb/core/hub.c:5741 [inline]
 hub_event+0x2cdf/0x54c0 drivers/usb/core/hub.c:5823
 process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2310
 worker_thread+0xaca/0x1280 kernel/workqueue.c:2457
 kthread+0x3f6/0x4f0 kernel/kthread.c:334
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
 </TASK>

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/08/12 01:15 linux-5.15.y 7e89efd3ae1c 6f4edef4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in cm109_input_open/usb_submit_urb
2024/07/19 23:34 linux-5.15.y 7c6d66f0266f 890ce4f3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in cm109_input_open/usb_submit_urb
2024/06/28 17:31 linux-5.15.y 4878aadf2d15 757f06b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in cm109_input_open/usb_submit_urb
2024/06/17 23:15 linux-5.15.y 4878aadf2d15 1f11cfd7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in cm109_input_open/usb_submit_urb
* Struck through repros no longer work on HEAD.