CVE Database›Document archive›CVE-2019-15212

CVE-2019-15212

kernel: double-free caused by malicious USB device in drivers/usb/misc/rio500.c

Loading…

Severity

Moderate

Red Hat Product Security

6.1

CVSS 3.0

Review impact separately from score.

Published · August 19, 2019

Updated · June 28, 2026

Description

A use-after-free flaw was found in the RIO500 driver in the Linux kernel. The implementation of the driver did not consider that multiple RIO500 devices could be attached to the same system, simultaneously. When a second device connects, the system overwrites the data structures in use by the first allowing a local attacker to possibly create a use-after-free situation which can lead to memory corruption, system panic, or privilege escalation. The highest threat from this vulnerability is to system availability, although data integrity is also at risk as well.

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 rio500 module will be auto-loaded when required, its use can be disabled by preventing the module from loading with the following instructions:

echo "blacklist rio500" >> /etc/modprobe.d/rio-500.conf

echo "install rio500 /bin/false" >> /etc/modprobe.d/rio-500.conf

The system will need to be restarted if the RIO500 modules are loaded. In most circumstances, the kernel modules will be unable to be unloaded while any devices or programs are using the USB device.

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.0 · 6.1
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H

CWE-416 · Use After Free