Bug 1833445 (CVE-2020-11608) - CVE-2020-11608 kernel: NULL pointer dereferences in ov511_mode_init_regs and ov518_mode_init_regs in drivers/media/usb/gspca/ov519.c
Summary: CVE-2020-11608 kernel: NULL pointer dereferences in ov511_mode_init_regs and ...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2020-11608
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1833446 1835670 1835671 1835672 1835673 1835674 1870321 1900751
Blocks: 1833448
TreeView+ depends on / blocked
 
Reported: 2020-05-08 16:55 UTC by Guilherme de Almeida Suckevicz
Modified: 2021-12-15 11:17 UTC (History)
44 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in the way the ov519 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.
Clone Of:
Environment:
Last Closed: 2021-12-15 11:17:01 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2021:2538 0 None None None 2021-06-23 18:05:51 UTC
Red Hat Product Errata RHBA-2021:2541 0 None None None 2021-06-24 11:50:38 UTC

Description Guilherme de Almeida Suckevicz 2020-05-08 16:55:55 UTC
An issue was discovered in the Linux kernel before 5.6.1. drivers/media/usb/gspca/ov519.c allows NULL pointer dereferences in ov511_mode_init_regs and ov518_mode_init_regs when there are zero endpoints.

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=998912346c0da53a6dbb71fab3a138586b596b30

Comment 1 Guilherme de Almeida Suckevicz 2020-05-08 16:57:37 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 1833446]

Comment 2 Justin M. Forbes 2020-05-11 14:21:25 UTC
This was fixed for Fedora with the 5.5.14 stable kernel updates.

Comment 3 Petr Matousek 2020-05-14 09:55:43 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_ov519. 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:44 UTC
Statement:

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

Comment 7 errata-xmlrpc 2021-05-18 13:19:54 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2021:1578 https://access.redhat.com/errata/RHSA-2021:1578

Comment 8 errata-xmlrpc 2021-05-18 14:40:16 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2021:1739 https://access.redhat.com/errata/RHSA-2021:1739


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