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.


