CVE-2019-15215
kernel: use after free in drivers/media/usb/cpia2/cpia2_usb.c driver
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · August 19, 2019
Updated · June 28, 2026
Description
A use-after-free vulnerability was found in the Linux kernel's cpia2_usb driver. An attacker must have physical access to the system to utilize a malicious USB device to trigger the disconnect() functionality which is required to trigger this flaw. A local account is also required to take advantage of the use-after-free memory condition. System availability is the highest threat from this vulnerability.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
As the cpia2 module will be auto-loaded when required, its use can be disabled by preventing the module from loading with the following instructions:
echo "install cpia2 /bin/true" >> /etc/modprobe.d/disable-cpia2.conf
The system will need to be restarted if the cpia2 modules are loaded. In most circumstances, the cpia2 kernel modules will be unable to be unloaded while the hardware is in use. If the system requires this module to work correctly, this mitigation may not be suitable. If you need further assistance, see KCS article https://access.redhat.com/solutions/41278 or contact Red Hat Global Support Services.
CVSS / CWE
CVSS 3.1 · 4.6CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CWE-416 · Use After Free