Bug 1833452 (CVE-2020-11609)

Summary: CVE-2020-11609 kernel: NULL pointer dereference due to incorrect handling of invalid descriptors in stv06xx subsystem
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, bmasney, brdeoliv, bskeggs, dhoward, dvlasenk, esammons, fhrbata, hdegoede, hkrzesin, iboverma, ichavero, itamar, jarodwilson, jeremy, jforbes, jlelli, john.j5live, jonathan, josef, jross, jshortt, jstancek, jwboyer, kcarcia, kernel-maint, kernel-mgr, lgoncalv, linville, masami256, mchehab, mcressma, mjg59, mlangsdo, nmurray, ptalbert, qzhao, rt-maint, rvrbovsk, steved, williams
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in the way the stv06xx driver in the Linux kernel handled certain types of USB descriptors. This flaw allows an attacker with the ability to induce the error conditions to crash the system.
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-12-15 11:18:02 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1833453, 1835664, 1835665, 1835667, 1835668, 1835669    
Bug Blocks: 1833454    

Description Guilherme de Almeida Suckevicz 2020-05-08 17:14:44 UTC
An issue was discovered in the stv06xx subsystem in the Linux kernel before 5.6.1. drivers/media/usb/gspca/stv06xx/stv06xx.c and drivers/media/usb/gspca/stv06xx/stv06xx_pb0100.c mishandle invalid descriptors, as demonstrated by a NULL pointer dereference.

Reference and upstream commit:
https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.6.1
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=485b06aadb933190f4bc44e006076bc27a23f205

Comment 1 Guilherme de Almeida Suckevicz 2020-05-08 17:15:58 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 1833453]

Comment 2 Justin M. Forbes 2020-05-11 14:19:01 UTC
This was fixed for Fedora with the 5.5.14 stable kernel update.

Comment 3 Petr Matousek 2020-05-14 09:56:28 UTC
Mitigation:

In order to mitigate this issue it is possible to prevent the affected code from being loaded by blacklisting the kernel module gspca_stv06xx. For instructions relating to how to blacklist a kernel module refer to: https://access.redhat.com/solutions/41278 .

Comment 4 Petr Matousek 2020-05-14 09:57:43 UTC
Statement:

This issue is rated as having Low impact because of the preconditions needed to trigger the issue (physical access).