2004 matches found
CVE-2026-142987
The Linux kernel contains a use-after-free (UAF) vulnerability in the usb gadget f_mass_storage component. The issue occurs because fsg_store_nofua() fails to hold a filesem while calling fsg_lun_fsync_sub(), which dereferences the backing file. A concurrent close of the backing file (via fsg_lun...
CVE-2026-142986
The Linux kernel contains a use-after-free (UAF) vulnerability in the usb: gadget: f_midi component. The issue arises because f_midi_disable() drains and frees pre-allocated IN requests from in_req_fifo without holding the midi->transmit_lock. This creates a race condition where f_midi_do_tran...
CVE-2026-142985
The Linux kernel contains a NULL pointer dereference vulnerability in the usb: gadget: u_serial component. The issue occurs in gs_close() because the function attempts to access tty->driver_data without checking if it is NULL. If gs_open() fails early—specifically before the port.count edge—dr...
CVE-2026-142984
A slab-use-after-free vulnerability exists in the Linux kernel 's usb: gadget: u_serial component. The issue occurs because gserial_free_line() can free struct gs_port while it is still reachable through an installed TTY, due to inconsistent tracking of port->port.count during gs_open() and gs...
CVE-2026-142882
A flaw was found in the Linux kernel's 9P USB gadget transport driver. When a transmit request is aborted, the driver fails to clear a context pointer after releasing its memory reference. A local user can trigger this flaw during connection teardown, leading to a use-after-free condition that ca...
CVE-2019-14079
USB device fuzzing on Android CVE-2019-14079 This blog post is about a simple bug I found in my android deviceMI A2 - runs stock android using USB device fuzzing and was marked as high severity by google. The bug was in Qualcomm USB driver which was later patched and disclosed in March 2020 Andro...
android-gadget
android-gadget Summary Certain revisions of the Linux kernel used in Android are affected by issue CVE-2021-39685. Detailed information and a POC for CVE-2021-39685 may be found in the inspector-gadget repository. This repository includes POC targeting few Android specific USB gadgets including:...
usb-rea
usb-rea usb-rea reads a USB capture pcap or pcapng, from usbmon or USBPcap and does the step after Wireshark: it infers the command and protocol structure from labelled actions, then writes a Markdown report and a standalone pyusb driver. I built it for gadgets that only ship a Windows vendor app...
f_hid-4.14-backports
fhid backports for Linux 4.14.190 SM-A525F Three fixes to drivers/usb/gadget/function/fhid.c, carried by hand to a 4.14.190 Android vendor kernel and verified on the device they run on. 4.14 is end-of-life. No stable backport exists for any of these, and none is coming. That is the whole reason...
d-os-descriptor
d-os-descriptor Summary The USB Gadget Subsystem includes security issues in the OS descriptor handling section of compositesetup function composite.c. Processing of properly crafted control transfer request messages result in device crash due to null pointer dereference or memory corruption...
CVE-2026-139713
A flaw was found in the Linux kernel's USB gadget mass storage driver. This vulnerability may allow a connected USB host to cause a Denial of Service DoS during storage configuration transitions. The issue occurs when USB class requests arrive while the storage function is being asynchronously...
CVE-2026-139714
A flaw was found in the Linux kernel's USB gadget subsystem. A connected USB host can trigger an unexpected kernel warning by disconnecting or sending a request to disable the active configuration while an asynchronous control transfer is still pending. On systems configured to panic on kernel...
Ubuntu 24.04 LTS : linux-azure-7.0 vulnerabilities (USN-9160-1)
"The remote Ubuntu 24.04 LTS host has a package installed that is affected by multiple vulnerabilities as referenced in the USN-9160-1 advisory. Several security issues were discovered in the Linux kernel. An attacker could possibly use these to compromise the system. This update corrects flaws i...
rndis-co
RNDIS-CO Summary The RNDIS USB Gadget may be exploited to dump contents of kernel memory space via packet filter update mechanism. Description The RNDISMSGSET usb control transfer request handler - rndissetresponse calls genndissetresp passing a buffer pointer offset by BufOffset + 8. The BufOffs...
CVE-2026-139714 usb: gadget: composite: avoid warning on aborted delayed status
In the Linux kernel, the following vulnerability has been resolved: usb: gadget: composite: avoid warning on aborted delayed status A SETCONFIGURATION request that disables the current configuration, or a disconnect, can abort a control transfer whose status stage was delayed by a function driver...
CVE-2026-139714
The Linux kernel contains a condition where a SET_CONFIGURATION request or a disconnect can abort a control transfer with a delayed status stage. This causes asynchronous function work to potentially call usb_composite_setup_continue() after reset_config() has already cleared the delayed_status. ...
CVE-2026-139713 usb: gadget: f_mass_storage: ignore class requests while inactive
In the Linux kernel, the following vulnerability has been resolved: usb: gadget: fmassstorage: ignore class requests while inactive SETCONFIGURATION is handled asynchronously by the mass-storage thread. A class request can arrive after the composite core selects the function but before the thread...
CVE-2026-139713 usb: gadget: f_mass_storage: ignore class requests while inactive
In the Linux kernel, the following vulnerability has been resolved: usb: gadget: fmassstorage: ignore class requests while inactive SETCONFIGURATION is handled asynchronously by the mass-storage thread. A class request can arrive after the composite core selects the function but before the thread...
EUVD-2026-139420
In the Linux kernel, the following vulnerability has been resolved: usb: gadget: composite: avoid warning on aborted delayed status A SETCONFIGURATION request that disables the current configuration, or a disconnect, can abort a control transfer whose status stage was delayed by a function driver...
CVE-2026-139713
The Linux kernel contains a vulnerability in the usb: gadget: f_mass_storage component. The issue arises because SET_CONFIGURATION is handled asynchronously by the mass-storage thread, potentially allowing a class request to arrive after the composite core selects the function but before the thre...