memory leak in __usbhid_submit_report (2)

Status: upstream: reported C repro on 2026/08/19 06:50
Subsystems: input usb
Labels: prio:high
[Documentation on labels]
Reported-by: syzbot+e2c057ea576d2644e2be@syzkaller.appspotmail.com
First crash: 92d, last: 6d14h
▶ ▼ ✨ AI Jobs (1)
ID Workflow Result Correct Bug Created Started Finished Revision
c48c4522 assessment-security DenialOfService: ✅ Exploitable: ❌ FilesystemTrigger: ❌ NetworkTrigger: ❌ PeripheralTrigger: ✅ RemoteTrigger: ❌ Unprivileged: ❌ UserNamespace: ❌ VMGuestTrigger: ❌ VMHostTrigger: ❌ ❓ memory leak in __usbhid_submit_report (2) 2026/08/15 06:44 2026/08/15 06:44 2026/08/15 07:24 746171ee
▶ ▼ Discussions (5)
Title Replies (including bot) Last reply
[syzbot] Monthly input report (Oct 2026) 0 (1) 2026/10/25 12:33
[PATCH v2 2/2] HID: usbhid: free unsent raw output reports in usbhid_stop() 1 (1) 2026/08/19 11:12
[PATCH v2 1/2] HID: usbhid: adjust output pipe FIFO size 1 (1) 2026/08/19 11:12
[syzbot] [input?] [usb?] memory leak in __usbhid_submit_report (2) 0 (3) 2026/08/19 10:56
[PATCH] HID: usbhid: free unsent raw output reports in usbhid_stop() 1 (1) 2026/08/19 09:09
▶ ▼ Similar bugs (1)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream memory leak in __usbhid_submit_report input usb 3 syz, C 129 1901d 2194d 20/29 fixed on 2021/11/10 00:50
▶ ▼ Last patch testing requests (5)
Created Duration User Patch Repo Result
2026/11/08 19:45 1h53m retest repro upstream report job log log
2026/10/16 09:53 16m retest repro upstream report job log log
2026/08/31 07:23 54m retest repro upstream report job log log
2026/08/19 10:56 22m dmantipov@yandex.ru patch https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git bd5f485f3f026225b86573e559af0b7254ef4184 OK job log log
2026/08/19 08:01 22m dmantipov@yandex.ru patch https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git bd5f485f3f026225b86573e559af0b7254ef4184 OK job log log

Sample crash report:
BUG: memory leak
unreferenced object 0xffff888127a6c838 (size 8):
  comm "kworker/0:2", pid 4955, jiffies 4294946361
  hex dump (first 8 bytes):
    00 00 00 00 00 00 00 00                          ........
  backtrace (crc 0):
    kmemleak_alloc_recursive include/linux/kmemleak.h:44 [inline]
    slab_post_alloc_hook mm/slub.c:4733 [inline]
    slab_alloc_node mm/slub.c:5033 [inline]
    __do_kmalloc_node mm/slub.c:5530 [inline]
    __kmalloc_noprof+0x3ce/0x510 mm/slub.c:5556
    __usbhid_submit_report+0x362/0x4c0 drivers/hid/usbhid/hid-core.c:541
    usbhid_submit_report drivers/hid/usbhid/hid-core.c:640 [inline]
    usbhid_request+0x5b/0xa0 drivers/hid/usbhid/hid-core.c:1310
    hid_hw_request+0x3c/0x70 drivers/hid/hid-core.c:2531
    lg4ff_set_range_dfp+0x101/0x210 drivers/hid/hid-lg4ff.c:678
    lg4ff_init+0x6f9/0xa90 drivers/hid/hid-lg4ff.c:1400
    lg_probe+0x1f2/0x430 drivers/hid/hid-lg.c:836
    __hid_device_probe drivers/hid/hid-core.c:2839 [inline]
    hid_device_probe+0x22f/0x370 drivers/hid/hid-core.c:2878
    call_driver_probe drivers/base/dd.c:628 [inline]
    really_probe+0x12f/0x3a0 drivers/base/dd.c:706
    __driver_probe_device+0xe9/0x1a0 drivers/base/dd.c:868
    driver_probe_device+0x28/0xf0 drivers/base/dd.c:898
    __device_attach_driver+0x10f/0x170 drivers/base/dd.c:1026
    bus_for_each_drv+0xd2/0x130 drivers/base/bus.c:503
    __device_attach+0xf9/0x290 drivers/base/dd.c:1098
    device_initial_probe+0x6f/0x80 drivers/base/dd.c:1153
    bus_probe_device+0x3e/0xb0 drivers/base/bus.c:623

BUG: memory leak
unreferenced object 0xffff8881271f4b98 (size 8):
  comm "kworker/1:1", pid 29, jiffies 4294946511
  hex dump (first 8 bytes):
    00 00 00 00 00 00 00 00                          ........
  backtrace (crc 0):
    kmemleak_alloc_recursive include/linux/kmemleak.h:44 [inline]
    slab_post_alloc_hook mm/slub.c:4733 [inline]
    slab_alloc_node mm/slub.c:5033 [inline]
    __do_kmalloc_node mm/slub.c:5530 [inline]
    __kmalloc_noprof+0x3ce/0x510 mm/slub.c:5556
    __usbhid_submit_report+0x362/0x4c0 drivers/hid/usbhid/hid-core.c:541
    usbhid_submit_report drivers/hid/usbhid/hid-core.c:640 [inline]
    usbhid_request+0x5b/0xa0 drivers/hid/usbhid/hid-core.c:1310
    hid_hw_request+0x3c/0x70 drivers/hid/hid-core.c:2531
    lg4ff_set_range_dfp+0x101/0x210 drivers/hid/hid-lg4ff.c:678
    lg4ff_init+0x6f9/0xa90 drivers/hid/hid-lg4ff.c:1400
    lg_probe+0x1f2/0x430 drivers/hid/hid-lg.c:836
    __hid_device_probe drivers/hid/hid-core.c:2839 [inline]
    hid_device_probe+0x22f/0x370 drivers/hid/hid-core.c:2878
    call_driver_probe drivers/base/dd.c:628 [inline]
    really_probe+0x12f/0x3a0 drivers/base/dd.c:706
    __driver_probe_device+0xe9/0x1a0 drivers/base/dd.c:868
    driver_probe_device+0x28/0xf0 drivers/base/dd.c:898
    __device_attach_driver+0x10f/0x170 drivers/base/dd.c:1026
    bus_for_each_drv+0xd2/0x130 drivers/base/bus.c:503
    __device_attach+0xf9/0x290 drivers/base/dd.c:1098
    device_initial_probe+0x6f/0x80 drivers/base/dd.c:1153
    bus_probe_device+0x3e/0xb0 drivers/base/bus.c:623

connection error: failed to recv *flatrpc.ExecutorMessageRawT: EOF

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/10/25 15:16 upstream 21a7f44fd076 1d9ca40b .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-gce-leak memory leak in __usbhid_submit_report
2026/10/02 09:12 upstream d24e8ac715de 6d32eb1f .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-gce-leak memory leak in __usbhid_submit_report
2026/08/15 06:44 upstream 2f1baf1fc892 746171ee .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-gce-leak memory leak in __usbhid_submit_report
* Struck through repros no longer work on HEAD.