syzbot


WARNING in implement

Status: upstream: reported C repro on 2019/09/16 18:49
Reported-by: syzbot+38e7237add3712479d65@syzkaller.appspotmail.com
First crash: 1182d, last: 15d

Sample crash report:
kye 0003:0458:5015.0002: hidraw1: USB HID v0.00 Device [HID 0458:5015] on usb-dummy_hcd.0-1/input0
kye 0003:0458:5015.0002: implement() called with too large value 18 (n: 0)! (kworker/3:2)
------------[ cut here ]------------
WARNING: CPU: 3 PID: 2665 at drivers/hid/hid-core.c:1432 implement.cold+0x6b/0x74 drivers/hid/hid-core.c:1429
Modules linked in:
CPU: 3 PID: 2665 Comm: kworker/3:2 Not tainted 5.17.0-rc3-syzkaller-00316-gb81b1829e7e3 #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014
Workqueue: usb_hub_wq hub_event
RIP: 0010:implement.cold+0x6b/0x74 drivers/hid/hid-core.c:1432
Code: 00 00 45 89 f8 89 e9 65 48 8b 04 25 00 70 02 00 48 c7 c2 e0 ab 95 8a 48 c7 c6 a0 8a 95 8a 4c 8d 88 30 08 00 00 e8 e7 57 db ff <0f> 0b 21 dd e9 d1 80 79 fd e8 93 c6 37 f8 48 8d bd 38 19 00 00 48
RSP: 0018:ffffc90021836af0 EFLAGS: 00010082
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: ffff88801c33e1c0 RSI: ffffffff891b3f5d RDI: fffff52004306d4f
RBP: 0000000000000012 R08: 0000000000000059 R09: 0000000000000000
R10: ffffffff815e7fee R11: 0000000000000000 R12: ffff88801bc7e000
R13: ffff888026c70000 R14: 0000000000000000 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff88802cd00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055cc9137d480 CR3: 000000001a613000 CR4: 0000000000150ee0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 hid_output_field drivers/hid/hid-core.c:1605 [inline]
 hid_output_report+0x306/0x4c0 drivers/hid/hid-core.c:1635
 __usbhid_submit_report+0x604/0xd50 drivers/hid/usbhid/hid-core.c:591
 usbhid_submit_report drivers/hid/usbhid/hid-core.c:636 [inline]
 usbhid_request+0x7b/0xf0 drivers/hid/usbhid/hid-core.c:1281
 hid_hw_request+0x6d/0xb0 drivers/hid/hid-core.c:2140
 kye_tablet_enable drivers/hid/hid-kye.c:698 [inline]
 kye_probe+0x3b1/0x4c0 drivers/hid/hid-kye.c:726
 hid_device_probe+0x2bd/0x3f0 drivers/hid/hid-core.c:2380
 call_driver_probe drivers/base/dd.c:517 [inline]
 really_probe+0x245/0xcc0 drivers/base/dd.c:596
 __driver_probe_device+0x338/0x4d0 drivers/base/dd.c:752
 driver_probe_device+0x4c/0x1a0 drivers/base/dd.c:782
 __device_attach_driver+0x20b/0x2f0 drivers/base/dd.c:899
 bus_for_each_drv+0x15f/0x1e0 drivers/base/bus.c:427
 __device_attach+0x228/0x4a0 drivers/base/dd.c:970
 bus_probe_device+0x1e4/0x290 drivers/base/bus.c:487
 device_add+0xc17/0x1ee0 drivers/base/core.c:3405
 hid_add_device+0x344/0x9d0 drivers/hid/hid-core.c:2530
 usbhid_probe+0xc15/0x10a0 drivers/hid/usbhid/hid-core.c:1424
 usb_probe_interface+0x315/0x7f0 drivers/usb/core/driver.c:396
 call_driver_probe drivers/base/dd.c:517 [inline]
 really_probe+0x245/0xcc0 drivers/base/dd.c:596
 __driver_probe_device+0x338/0x4d0 drivers/base/dd.c:752
 driver_probe_device+0x4c/0x1a0 drivers/base/dd.c:782
 __device_attach_driver+0x20b/0x2f0 drivers/base/dd.c:899
 bus_for_each_drv+0x15f/0x1e0 drivers/base/bus.c:427
 __device_attach+0x228/0x4a0 drivers/base/dd.c:970
 bus_probe_device+0x1e4/0x290 drivers/base/bus.c:487
 device_add+0xc17/0x1ee0 drivers/base/core.c:3405
 usb_set_configuration+0x101e/0x1900 drivers/usb/core/message.c:2170
 usb_generic_driver_probe+0xba/0x100 drivers/usb/core/generic.c:238
 usb_probe_device+0xd9/0x2c0 drivers/usb/core/driver.c:293
 call_driver_probe drivers/base/dd.c:517 [inline]
 really_probe+0x245/0xcc0 drivers/base/dd.c:596
 __driver_probe_device+0x338/0x4d0 drivers/base/dd.c:752
 driver_probe_device+0x4c/0x1a0 drivers/base/dd.c:782
 __device_attach_driver+0x20b/0x2f0 drivers/base/dd.c:899
 bus_for_each_drv+0x15f/0x1e0 drivers/base/bus.c:427
 __device_attach+0x228/0x4a0 drivers/base/dd.c:970
 bus_probe_device+0x1e4/0x290 drivers/base/bus.c:487
 device_add+0xc17/0x1ee0 drivers/base/core.c:3405
 usb_new_device.cold+0x63f/0x108e drivers/usb/core/hub.c:2566
 hub_port_connect drivers/usb/core/hub.c:5358 [inline]
 hub_port_connect_change drivers/usb/core/hub.c:5502 [inline]
 port_event drivers/usb/core/hub.c:5660 [inline]
 hub_event+0x2585/0x44d0 drivers/usb/core/hub.c:5742
 process_one_work+0x9ac/0x1650 kernel/workqueue.c:2307
 process_scheduled_works kernel/workqueue.c:2370 [inline]
 worker_thread+0x833/0x1110 kernel/workqueue.c:2456
 kthread+0x2e9/0x3a0 kernel/kthread.c:377
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
 </TASK>

Crashes (932):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-qemu-upstream 2022/02/13 13:10 upstream b81b1829e7e3 8b9ca619 .config log report syz C WARNING in implement
ci-qemu-upstream 2022/02/10 10:26 upstream f4bc5bbb5fef 0b33604d .config log report syz C WARNING in implement
ci2-upstream-usb 2019/10/14 07:18 https://github.com/google/kasan.git usb-fuzzer 58d5f26a5584 2f661ec4 .config log report syz C
ci2-upstream-usb 2019/09/10 14:57 https://github.com/google/kasan.git usb-fuzzer f0df5c1be1e9 a60cb4cd .config log report syz C
ci-upstream-kasan-gce 2022/02/26 02:47 upstream 53ab78cd6d5a 45a13a73 .config log report info WARNING in implement
ci-upstream-kasan-gce 2021/11/22 05:47 upstream 40c93d7fff6f 4eb20a4e .config log report info WARNING in implement
ci2-upstream-usb 2022/11/20 11:05 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing dd65a243a915 5bb70014 .config log report info WARNING in implement
ci2-upstream-usb 2022/11/12 14:26 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing dd65a243a915 f42ee5d8 .config log report info WARNING in implement
ci2-upstream-usb 2022/10/04 02:06 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 00988f70a076 feb56351 .config log report info WARNING in implement
ci2-upstream-usb 2022/09/06 04:04 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 6690986da1e2 9dcd38fc .config log report info WARNING in implement
ci2-upstream-usb 2022/09/05 06:02 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing ffcf9c5700e4 28811d0a .config log report info WARNING in implement
ci2-upstream-usb 2022/08/25 01:17 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing ffcf9c5700e4 514514f6 .config log report info WARNING in implement
ci2-upstream-usb 2022/04/14 06:22 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 312310928417 b17b2923 .config log report info WARNING in implement
ci2-upstream-usb 2022/03/28 12:30 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing ae085d7f9365 89bc8608 .config log report info WARNING in implement
ci2-upstream-usb 2022/03/22 02:21 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 46d2c20b0b10 e2d91b1d .config log report info WARNING in implement
ci2-upstream-usb 2022/03/19 22:52 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 46d2c20b0b10 e2d91b1d .config log report info WARNING in implement
ci2-upstream-usb 2022/02/14 20:52 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing fbd533e90d23 8b9ca619 .config log report info WARNING in implement
ci2-upstream-usb 2022/02/10 16:17 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing c3c9cee59282 0b33604d .config log report info WARNING in implement
ci2-upstream-usb 2022/01/25 12:27 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing e783362eb54c 2cbffd88 .config log report info WARNING in implement
ci2-upstream-usb 2022/01/13 06:35 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing cbb4f5f43599 44d1319a .config log report info WARNING in implement
ci2-upstream-usb 2022/01/11 10:00 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing cbb4f5f43599 1884f55a .config log report info WARNING in implement
ci2-upstream-usb 2022/01/10 23:58 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing cbb4f5f43599 ddb0ab8c .config log report info WARNING in implement
ci2-upstream-usb 2021/11/21 23:48 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 4616dddcfaf7 4eb20a4e .config log report info WARNING in implement
ci2-upstream-usb 2021/10/04 13:33 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing ae9a6149884e ce697b49 .config log report info WARNING in implement
ci2-upstream-usb 2021/10/01 03:19 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing ae9a6149884e 1d849ab4 .config log report info WARNING in implement
ci2-upstream-usb 2021/09/26 00:24 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 8217f07a5023 8cac236e .config log report info WARNING in implement
ci2-upstream-usb 2020/06/21 21:48 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing f8f02d5c671f 4f2acff9 .config log report
ci2-upstream-usb 2020/06/20 18:39 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing f8f02d5c671f c655ec77 .config log report
ci2-upstream-usb 2020/06/17 09:30 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing b3a9e3b9622a b9f3810b .config log report
ci2-upstream-usb 2020/06/17 07:16 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing b3a9e3b9622a b9f3810b .config log report
ci2-upstream-usb 2020/06/17 01:43 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing b3a9e3b9622a b9f3810b .config log report
ci2-upstream-usb 2020/06/16 13:39 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing b3a9e3b9622a 4ea9d964 .config log report
ci2-upstream-usb 2020/06/15 13:12 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing b3a9e3b9622a 8e3ab941 .config log report
ci2-upstream-usb 2020/06/15 02:13 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing b791d1bdf921 2a22c77a .config log report
ci2-upstream-usb 2020/06/14 03:08 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing b791d1bdf921 a61674a5 .config log report
ci2-upstream-usb 2020/06/13 22:20 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing b791d1bdf921 dbce178a .config log report
ci2-upstream-usb 2020/06/13 20:32 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing b791d1bdf921 dbce178a .config log report
ci2-upstream-usb 2020/06/12 15:40 https://github.com/google/kasan.git usb-fuzzer b791d1bdf921 819b58b0 .config log report
ci2-upstream-usb 2020/06/12 08:54 https://github.com/google/kasan.git usb-fuzzer 2089c6ed5a17 819b58b0 .config log report
ci2-upstream-usb 2020/06/12 04:32 https://github.com/google/kasan.git usb-fuzzer 2089c6ed5a17 819b58b0 .config log report
ci2-upstream-usb 2020/05/18 16:08 https://github.com/google/kasan.git usb-fuzzer 806d8acc2890 24d91142 .config log report
ci2-upstream-usb 2020/03/24 06:43 https://github.com/google/kasan.git usb-fuzzer e17994d1e7b1 33e14df3 .config log report
ci2-upstream-usb 2020/03/23 14:39 https://github.com/google/kasan.git usb-fuzzer e17994d1e7b1 78267cec .config log report
ci2-upstream-usb 2020/03/22 10:22 https://github.com/google/kasan.git usb-fuzzer e17994d1e7b1 78267cec .config log report
ci2-upstream-usb 2020/03/19 21:09 https://github.com/google/kasan.git usb-fuzzer d6ff8147a51c 2c31c529 .config log report
ci2-upstream-usb 2020/03/19 16:36 https://github.com/google/kasan.git usb-fuzzer d6ff8147a51c 2c31c529 .config log report
ci2-upstream-usb 2020/03/19 06:55 https://github.com/google/kasan.git usb-fuzzer d6ff8147a51c 2c31c529 .config log report
ci2-upstream-usb 2020/03/19 04:25 https://github.com/google/kasan.git usb-fuzzer d6ff8147a51c 2c31c529 .config log report
ci2-upstream-usb 2020/03/18 19:06 https://github.com/google/kasan.git usb-fuzzer d6ff8147a51c 0a96a13c .config log report
* Struck through repros no longer work on HEAD.