Bug 1745514 (CVE-2019-15215) - CVE-2019-15215 kernel: use after free in drivers/media/usb/cpia2/cpia2_usb.c driver
Summary: CVE-2019-15215 kernel: use after free in drivers/media/usb/cpia2/cpia2_usb.c ...
Keywords:
Status: CLOSED WONTFIX
Alias: CVE-2019-15215
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1745515
Blocks: 1745537
TreeView+ depends on / blocked
 
Reported: 2019-08-26 10:05 UTC by Dhananjay Arunesh
Modified: 2021-02-16 21:28 UTC (History)
45 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
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.
Clone Of:
Environment:
Last Closed: 2020-02-24 09:49:33 UTC
Embargoed:


Attachments (Terms of Use)

Description Dhananjay Arunesh 2019-08-26 10:05:01 UTC
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.

Reference:
https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.2.6
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=eff73de2b1600ad8230692f00bc0ab49b166512a
https://syzkaller.appspot.com/bug?id=b68d3c254cf294f8a802582094fa3251d6de5247

Comment 1 Dhananjay Arunesh 2019-08-26 10:05:35 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 1745515]

Comment 2 Justin M. Forbes 2019-08-26 13:08:27 UTC
This was fixed for Fedora with the 5.2.6 stable update

Comment 7 Product Security DevOps Team 2020-02-24 09:49:33 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2019-15215

Comment 9 Eric Christensen 2020-02-27 14:22:13 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.