A vulnerability was found in the Linux kernel. There is a use-after-free caused by a malicious USB device in the drivers/media/usb/cpia2/cpia2_usb.c driver. The attacker must have physical access to trigger the disconnect() functionality which is required to trigger this flaw and a local account to take advantage of the use-after-free memory condition.
Created kernel tracking bugs for this issue:
Affects: fedora-all [bug 1745515]
This was fixed for Fedora with the 5.2.6 stable update
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):
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.