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: NEW
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: 1835670 1835671 1835672 1835673 1835674 1833446
Blocks: 1833448
TreeView+ depends on / blocked
 
Reported: 2020-05-08 16:55 UTC by Guilherme de Almeida Suckevicz
Modified: 2020-05-22 20:18 UTC (History)
47 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:


Attachments (Terms of Use)

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).


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