memory leak in uvcg_extension_ba_source_id_store

Status: upstream: reported C repro on 2026/07/31 17:15
Subsystems: usb
Labels: prio:low
[Documentation on labels]
Reported-by: syzbot+54927260acba030187a6@syzkaller.appspotmail.com
First crash: 1d06h, last: 1d06h
✨ AI Jobs (1)
ID Workflow Result Correct Bug Created Started Finished Revision Error
4b98066f assessment-security DenialOfService: ❌ Exploitable: ❌ FilesystemTrigger: ❌ NetworkTrigger: ❌ PeripheralTrigger: ❌ RemoteTrigger: ❌ Unprivileged: ❌ UserNamespace: ❌ VMGuestTrigger: ❌ VMHostTrigger: ❌ memory leak in uvcg_extension_ba_source_id_store 2026/07/30 17:48 2026/07/30 17:48 2026/07/30 18:16 aaffb173

			
		
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [usb?] memory leak in uvcg_extension_ba_source_id_store 0 (1) 2026/07/31 17:15

Sample crash report:
BUG: memory leak
unreferenced object 0xffff88810ddbd588 (size 8):
  comm "syz.1.37", pid 6113, jiffies 4294948281
  hex dump (first 8 bytes):
    01 00 00 00 00 00 00 00                          ........
  backtrace (crc ccaa009e):
    kmemleak_alloc_recursive include/linux/kmemleak.h:44 [inline]
    slab_post_alloc_hook mm/slub.c:4597 [inline]
    slab_alloc_node mm/slub.c:4917 [inline]
    __do_kmalloc_node mm/slub.c:5333 [inline]
    __kmalloc_noprof+0x3bf/0x550 mm/slub.c:5359
    _kmalloc_noprof include/linux/slab.h:992 [inline]
    _kmalloc_array_noprof include/linux/slab.h:1208 [inline]
    uvcg_extension_ba_source_id_store+0xee/0x180 drivers/usb/gadget/function/uvc_configfs.c:1058
    flush_write_buffer fs/configfs/file.c:207 [inline]
    configfs_write_iter+0x10d/0x1a0 fs/configfs/file.c:229
    new_sync_write fs/read_write.c:595 [inline]
    vfs_write+0x3ac/0x720 fs/read_write.c:687
    ksys_write+0xa5/0x170 fs/read_write.c:739
    do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
    do_syscall_64+0xf8/0x610 arch/x86/entry/syscall_64.c:94
    entry_SYSCALL_64_after_hwframe+0x77/0x7f

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

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/07/30 17:48 upstream 11028ab62899 2377cd3d .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-gce-leak memory leak in uvcg_extension_ba_source_id_store
* Struck through repros no longer work on HEAD.