Linux USB CDC-ACM Use-After-Free Fixed in Kernel 5.2.10
Vulnerability Disclosure · 2 sources · Updated 3mo ago · First seen Mar 2, 2020

A use-after-free vulnerability, tracked as CVE-2019-19530, affected the Linux kernel's USB CDC-ACM driver in drivers/usb/class/cdc-acm.c. A malicious USB device could trigger the flaw on Linux kernel versions before 5.2.10, potentially compromising the affected system through unsafe handling of the USB control-interface object's lifetime.
The upstream fix, commit c52873e5a1ef72f845526d9f6a50704433f9c625, acquires the USB control-interface reference before CDC-ACM minor-number allocation and removes a later duplicate reference acquisition. The driver's destructor releases the retained reference, correcting cleanup behavior during failed allocation and normal device registration; Debian and openSUSE also issued advisories for affected packages.
Why it matters
Impact assessment
CVE-2019-19530 affects Linux systems running a kernel earlier than 5.2.10 with the USB CDC-ACM driver available and exposed to attacker-controlled USB peripherals. A physically connected malicious USB device can trigger a kernel use-after-free condition, creating potential for system crash, denial of service, or kernel-level compromise depending on exploitability.
- Affected component: Linux USB CDC-ACM serial driver, commonly used for USB modem, console, and serial-emulation devices.
- Exposure is primarily local/physical: an attacker must cause the host to enumerate a malicious USB device.
- Higher-risk environments include shared workstations, kiosks, labs, industrial systems, field devices, and servers where untrusted USB access is possible.
- The supplied references do not report confirmed exploitation in the wild.
- Distribution advisories include openSUSE-SU-2019:2675, Debian DLA 2068-1, and Debian DLA 2114-1.


