syzbot


WARNING in cm109_input_open/usb_submit_urb

Status: upstream: reported on 2024/07/23 09:48
Reported-by: syzbot+d632144938be9470336b@syzkaller.appspotmail.com
First crash: 46d, last: 46d
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 274d 322d 0/27 auto-obsoleted due to no activity on 2024/03/17 05:41
linux-5.15 WARNING in cm109_input_open/usb_submit_urb 4 26d 82d 0/3 upstream: reported on 2024/06/17 23:16
upstream WARNING in cm109_input_open/usb_submit_urb input usb syz unreliable error 2 701d 1213d 0/27 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 23 8d16h 164d 0/27 upstream: reported syz repro on 2024/03/27 14:52

Sample crash report:
usb 1-1: config 0 descriptor??
cm109 1-1:0.8: invalid payload size 0, expected 4
input: CM109 USB driver as /devices/platform/dummy_hcd.0/usb1/1-1/1-1:0.8/input/input10
------------[ cut here ]------------
URB ffff88807dc87700 submitted while active
WARNING: CPU: 0 PID: 3589 at drivers/usb/core/urb.c:379 usb_submit_urb+0x10b1/0x1990 drivers/usb/core/urb.c:379
Modules linked in:
CPU: 0 PID: 3589 Comm: kworker/0:4 Not tainted 6.1.100-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:379
Code: 26 24 fb eb 4d e8 5f 26 24 fb e9 fc ef ff ff e8 55 26 24 fb c6 05 a2 17 f9 07 01 48 c7 c7 a0 31 8a 8b 4c 89 ee e8 df 1c ec fa <0f> 0b e9 c7 ef ff ff e8 33 26 24 fb eb 1a e8 2c 26 24 fb eb 13 e8
RSP: 0018:ffffc900044eebb8 EFLAGS: 00010246
RAX: eca66c44c9942a00 RBX: ffff88805bbc8848 RCX: 0000000000040000
RDX: ffffc90012880000 RSI: 000000000003936f RDI: 0000000000039370
RBP: ffff88807dc87708 R08: ffffffff815293ae R09: ffffed1017304f1c
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff88807dc87700 R14: 0000000000000cc0 R15: ffff88805bbc8810
FS:  0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000240 CR3: 000000007e061000 CR4: 00000000003506f0
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:650
 kbd_connect+0xe5/0x120 drivers/tty/vt/keyboard.c:1593
 input_attach_handler drivers/input/input.c:1060 [inline]
 input_register_device+0xcec/0x1080 drivers/input/input.c:2470
 cm109_usb_probe+0x109c/0x15d0 drivers/input/misc/cm109.c:806
 usb_probe_interface+0x5c0/0xaf0 drivers/usb/core/driver.c:396
 really_probe+0x2ab/0xcb0 drivers/base/dd.c:639
 __driver_probe_device+0x1a2/0x3d0 drivers/base/dd.c:785
 driver_probe_device+0x50/0x420 drivers/base/dd.c:815
 __device_attach_driver+0x2cf/0x510 drivers/base/dd.c:943
 bus_for_each_drv+0x183/0x200 drivers/base/bus.c:427
 __device_attach+0x359/0x570 drivers/base/dd.c:1015
 bus_probe_device+0xba/0x1e0 drivers/base/bus.c:487
 device_add+0xb48/0xfd0 drivers/base/core.c:3689
 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+0x2ab/0xcb0 drivers/base/dd.c:639
 __driver_probe_device+0x1a2/0x3d0 drivers/base/dd.c:785
 driver_probe_device+0x50/0x420 drivers/base/dd.c:815
 __device_attach_driver+0x2cf/0x510 drivers/base/dd.c:943
 bus_for_each_drv+0x183/0x200 drivers/base/bus.c:427
 __device_attach+0x359/0x570 drivers/base/dd.c:1015
 bus_probe_device+0xba/0x1e0 drivers/base/bus.c:487
 device_add+0xb48/0xfd0 drivers/base/core.c:3689
 usb_new_device+0xbdd/0x18f0 drivers/usb/core/hub.c:2620
 hub_port_connect drivers/usb/core/hub.c:5477 [inline]
 hub_port_connect_change drivers/usb/core/hub.c:5617 [inline]
 port_event drivers/usb/core/hub.c:5773 [inline]
 hub_event+0x2efe/0x5730 drivers/usb/core/hub.c:5855
 process_one_work+0x8a9/0x11d0 kernel/workqueue.c:2292
 worker_thread+0xa47/0x1200 kernel/workqueue.c:2439
 kthread+0x28d/0x320 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/07/23 09:47 linux-6.1.y 9b3f9a5b12dc 708c10c4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in cm109_input_open/usb_submit_urb
* Struck through repros no longer work on HEAD.