Bug 1794399 (CVE-2019-19966)

Summary: CVE-2019-19966 kernel: use-after-free in cpia2_exit in drivers/media/usb/cpia2/cpia2_v4l.c
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: acaringi, airlied, bhu, blc, brdeoliv, bskeggs, dhoward, dvlasenk, esammons, fhrbata, hdegoede, hkrzesin, iboverma, ichavero, itamar, jarodwilson, jeremy, jforbes, jglisse, jlelli, john.j5live, jonathan, josef, jross, jshortt, jstancek, jwboyer, kernel-maint, kernel-mgr, labbott, lgoncalv, linville, masami256, matt, mchehab, mcressma, mjg59, mlangsdo, nmurray, qzhao, rt-maint, rvrbovsk, steved, williams
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
A use-after-free flaw was found in the Linux kernel module, cpia2, in how it handled camera connections. This flaw allows an attacker with physical access to crash the system.
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-02-18 13:54:45 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1794400    
Bug Blocks: 1794401    

Description Guilherme de Almeida Suckevicz 2020-01-23 14:04:47 UTC
In the Linux kernel before 5.1.6, there is a use-after-free in cpia2_exit() in drivers/media/usb/cpia2/cpia2_v4l.c that will cause denial of service.

Reference and upstream commit:

Comment 1 Guilherme de Almeida Suckevicz 2020-01-23 14:07:16 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 1794400]

Comment 2 Justin M. Forbes 2020-01-23 19:11:23 UTC
This was fixed for Fedora in the 5.1.6 stable kernel update.

Comment 3 Alex 2020-02-18 13:45:04 UTC

To mitigate this issue, prevent module cpia2 from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.