Bug 1416437 (CVE-2017-5577) - CVE-2017-5577 kernel: vc4: Heap-buffer overflow due to failing checks
Summary: CVE-2017-5577 kernel: vc4: Heap-buffer overflow due to failing checks
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2017-5577
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: 1416439 1420048
Blocks: 1416438
TreeView+ depends on / blocked
 
Reported: 2017-01-25 13:34 UTC by Andrej Nemec
Modified: 2021-02-17 02:42 UTC (History)
34 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
The vc4_get_bcl function in drivers/gpu/drm/vc4/vc4_gem.c in the VideoCore DRM driver in the Linux kernel before 4.9.7 does not set an errno value upon certain overflow detections allowing local users to cause a denial of service (incorrect pointer dereference and OOPS) via inconsistent size values in a VC4_SUBMIT_CL ioctl call.
Clone Of:
Environment:
Last Closed: 2017-02-07 16:40:54 UTC
Embargoed:


Attachments (Terms of Use)

Description Andrej Nemec 2017-01-25 13:34:58 UTC
The vc4_get_bcl function in drivers/gpu/drm/vc4/vc4_gem.c in the VideoCore DRM driver in the Linux kernel before 4.9.7 does not set an errno value upon certain overflow detections, which allows local users to cause a denial of service (incorrect pointer dereference and OOPS) via inconsistent size values in a VC4_SUBMIT_CL ioctl call.

References:

http://seclists.org/oss-sec/2017/q1/165

Upstream patch:

https://lkml.org/lkml/2017/1/17/759

https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=6b8ac63847bc2f958dd93c09edc941a0118992d9

Comment 1 Andrej Nemec 2017-01-25 13:39:45 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 1416439]

Comment 5 Vladis Dronov 2017-02-07 16:40:54 UTC
Statement:

This issue does not affect the Linux kernel packages as shipped with Red Hat Enterprise Linux 5, 6, 7 and MRG-2 as the code with the flaw is not present in the products listed.


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