syzbot


WARNING in implement

Status: fixed on 2024/07/31 23:31
Subsystems: input usb
[Documentation on labels]
Reported-by: syzbot+38e7237add3712479d65@syzkaller.appspotmail.com
Fix commit: 4aa2dcfbad53 HID: core: remove unnecessary WARN_ON() in implement()
First crash: 1914d, last: 178d
Cause bisection: failed (error log, bisect log)
  
Fix bisection: fixed by (bisect log) :
commit 4aa2dcfbad538adf7becd0034a3754e1bd01b2b5
Author: Nikita Zhandarovich <n.zhandarovich@fintech.ru>
Date: Fri May 17 14:19:14 2024 +0000

  HID: core: remove unnecessary WARN_ON() in implement()

  
Discussions (16)
Title Replies (including bot) Last reply
WARNING in implement 1 (4) 2024/07/31 14:55
[syzbot] Monthly input report (May 2024) 0 (1) 2024/05/31 06:48
[syzbot] Monthly input report (Apr 2024) 0 (1) 2024/04/29 12:34
[syzbot] Monthly usb report (Mar 2024) 0 (1) 2024/03/08 08:53
[syzbot] Monthly usb report (Feb 2024) 0 (1) 2024/02/05 20:59
[syzbot] Monthly input report (Jan 2024) 0 (1) 2024/01/17 09:21
[syzbot] Monthly input report (Dec 2023) 0 (1) 2023/12/16 23:58
[syzbot] Monthly usb report (Nov 2023) 0 (1) 2023/11/03 20:48
[syzbot] Monthly input report (Oct 2023) 0 (1) 2023/10/16 08:53
[syzbot] Monthly usb report (Sep 2023) 0 (1) 2023/09/04 08:33
[syzbot] Monthly input report (Jul 2023) 0 (1) 2023/07/07 08:54
[syzbot] Monthly input report (Jun 2023) 0 (1) 2023/06/06 23:24
[syzbot] Monthly input report (May 2023) 0 (1) 2023/05/05 21:40
Reminder: 45 active syzbot reports in usb subsystem 1 (1) 2019/11/19 04:27
Reminder: 67 active syzbot reports in usb subsystem 1 (1) 2019/10/04 03:38
Reminder: 52 active syzbot reports in usb subsystem 4 (4) 2019/09/19 19:01
Last patch testing requests (10)
Created Duration User Patch Repo Result
2024/06/26 19:47 50m retest repro upstream OK log
2024/06/25 19:02 21m retest repro upstream OK log
2024/06/25 19:02 26m retest repro upstream OK log
2024/06/25 13:50 15m retest repro https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing OK log
2024/06/25 13:50 15m retest repro https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing log
2024/05/31 09:44 15m retest repro upstream report log
2024/05/31 09:44 16m retest repro upstream report log
2024/03/25 10:17 6h37m (2) retest repro upstream error
2024/03/10 23:00 15m retest repro upstream report log
2024/03/10 23:00 18m retest repro upstream report log
Fix bisection attempts (2)
Created Duration User Patch Repo Result
2024/07/26 14:16 8h39m bisect fix upstream OK (1) job log
2023/12/13 03:37 1h54m bisect fix upstream OK (0) job log log
Cause bisection attempts (2)
Created Duration User Patch Repo Result
2023/10/16 15:08 13h15m bisect upstream error job log
2023/10/09 02:09 10h49m bisect upstream error job log

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 (960):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/02/13 13:10 upstream b81b1829e7e3 8b9ca619 .config console log report syz C ci-qemu-upstream WARNING in implement
2022/02/10 10:26 upstream f4bc5bbb5fef 0b33604d .config console log report syz C ci-qemu-upstream WARNING in implement
2023/10/07 14:44 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 1053c4a4b8fc 5e837c76 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in implement
2024/01/19 15:03 upstream 9d1694dc91ce 21772ce4 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root WARNING in implement
2024/01/10 03:49 upstream 6c1dd1fe5d8a b438bd66 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in implement
2023/10/08 07:33 upstream b9ddbb0cde2a 5e837c76 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in implement
2024/05/11 15:45 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 344f74cf531d 9026e142 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in implement
2019/10/14 07:18 https://github.com/google/kasan.git usb-fuzzer 58d5f26a5584 2f661ec4 .config console log report syz C ci2-upstream-usb
2019/09/10 14:57 https://github.com/google/kasan.git usb-fuzzer f0df5c1be1e9 a60cb4cd .config console log report syz C ci2-upstream-usb
2022/02/26 02:47 upstream 53ab78cd6d5a 45a13a73 .config console log report info ci-upstream-kasan-gce WARNING in implement
2021/11/22 05:47 upstream 40c93d7fff6f 4eb20a4e .config console log report info ci-upstream-kasan-gce WARNING in implement
2024/06/11 11:10 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 5821bf2dffbe b7d9eb04 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in implement
2024/06/06 03:54 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 5821bf2dffbe 121701b6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in implement
2024/05/17 09:40 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 51474ab44abf c2e07261 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in implement
2024/05/17 00:34 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 51474ab44abf c2e07261 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in implement
2024/05/16 11:26 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 51474ab44abf ef5d53ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in implement
2024/05/15 14:47 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 51474ab44abf 94b087b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in implement
2024/05/11 13:46 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 344f74cf531d 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in implement
2024/04/27 20:24 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 3f12222a4beb 07b455f9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in implement
2024/04/24 19:15 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing a160e1202ca3 8bdc0f22 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in implement
2024/04/21 22:32 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing a788e53c05ae af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in implement
2024/01/28 22:08 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing f1a27f081c1f cc4a4020 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in implement
2023/12/20 15:18 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 8be0c877fb3b 3ad490ea .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in implement
2023/12/17 12:33 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing e9158c7e5533 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in implement
2023/10/28 06:38 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing c3a383d8d382 3c418d72 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in implement
2023/10/17 14:14 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 5220d8b04a84 342b9c55 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in implement
2023/10/15 13:04 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 1053c4a4b8fc f757a323 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in implement
2023/10/07 12:12 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 1053c4a4b8fc 5e837c76 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in implement
2023/07/14 19:01 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 06c2afb862f9 d624500f .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in implement
2023/07/11 21:20 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 06c2afb862f9 2f19aa4f .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in implement
2023/07/02 14:25 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 18af4b5c9791 bfc47836 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in implement
2023/05/31 21:18 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 922c0cb578ac babc4389 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in implement
2023/05/09 06:21 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 986866c3dfb0 c7a5e2a0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in implement
2023/05/04 18:26 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 33afd4b76393 518a39a6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in implement
2022/11/20 11:05 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing dd65a243a915 5bb70014 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in implement
2022/11/12 14:26 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing dd65a243a915 f42ee5d8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in implement
2022/10/04 02:06 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 00988f70a076 feb56351 .config console log report info ci2-upstream-usb WARNING in implement
2022/09/06 04:04 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 6690986da1e2 9dcd38fc .config console log report info ci2-upstream-usb WARNING in implement
2022/09/05 06:02 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing ffcf9c5700e4 28811d0a .config console log report info [disk image] [vmlinux] ci2-upstream-usb WARNING in implement
2022/08/25 01:17 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing ffcf9c5700e4 514514f6 .config console log report info ci2-upstream-usb WARNING in implement
2022/04/14 06:22 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 312310928417 b17b2923 .config console log report info ci2-upstream-usb WARNING in implement
2022/03/28 12:30 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing ae085d7f9365 89bc8608 .config console log report info ci2-upstream-usb WARNING in implement
2022/03/22 02:21 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 46d2c20b0b10 e2d91b1d .config console log report info ci2-upstream-usb WARNING in implement
2022/03/19 22:52 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 46d2c20b0b10 e2d91b1d .config console log report info ci2-upstream-usb WARNING in implement
2022/02/14 20:52 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing fbd533e90d23 8b9ca619 .config console log report info ci2-upstream-usb WARNING in implement
2022/02/10 16:17 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing c3c9cee59282 0b33604d .config console log report info ci2-upstream-usb WARNING in implement
2022/01/25 12:27 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing e783362eb54c 2cbffd88 .config console log report info ci2-upstream-usb WARNING in implement
2022/01/13 06:35 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing cbb4f5f43599 44d1319a .config console log report info ci2-upstream-usb WARNING in implement
2022/01/11 10:00 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing cbb4f5f43599 1884f55a .config console log report info ci2-upstream-usb WARNING in implement
2022/01/10 23:58 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing cbb4f5f43599 ddb0ab8c .config console log report info ci2-upstream-usb WARNING in implement
2021/11/21 23:48 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 4616dddcfaf7 4eb20a4e .config console log report info ci2-upstream-usb WARNING in implement
2021/10/04 13:33 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing ae9a6149884e ce697b49 .config console log report info ci2-upstream-usb WARNING in implement
2021/10/01 03:19 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing ae9a6149884e 1d849ab4 .config console log report info ci2-upstream-usb WARNING in implement
2021/09/26 00:24 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 8217f07a5023 8cac236e .config console log report info ci2-upstream-usb WARNING in implement
2020/06/21 21:48 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing f8f02d5c671f 4f2acff9 .config console 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 console 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 console 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 console 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 console 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 console 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 console log report ci2-upstream-usb
* Struck through repros no longer work on HEAD.