Bug 1669141 (CVE-2018-20669) - CVE-2018-20669 kernel: missing access_ok() checks in i915_gem_execbuffer2_ioctl() results in priviledge escalation
Summary: CVE-2018-20669 kernel: missing access_ok() checks in i915_gem_execbuffer2_ioc...
Keywords:
Status: NEW
Alias: CVE-2018-20669
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1669142 1670112 1670113 1670114
Blocks: 1669143
TreeView+ depends on / blocked
 
Reported: 2019-01-24 12:39 UTC by msiddiqu
Modified: 2019-09-29 15:06 UTC (History)
26 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in the Linux kernel where a provided address with access_ok() is not checked before accessing userspace data in certain situations. Lack of such checks in i915_gem_execbuffer2_ioctl in drivers/gpu/drm/i915/i915_gem_execbuffer.c may allow a local unprivileged attacker to possible escalate its privileges.
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)

Description msiddiqu 2019-01-24 12:39:15 UTC
Linux kernel is not checking a provided address with access_ok() when accessing userspace data in certain situations. Lack of such checks in i915_gem_execbuffer2_ioctl in drivers/gpu/drm/i915/i915_gem_execbuffer.c may allow a local unprivileged attacker to possible escalate its privileges.

References:

https://salls.github.io/Linux-Kernel-CVE-2017-5123/ (missing access_ok() check described)

Upstream patch:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=594cc251fdd0d231d342d88b2fdff4bc42fb0690

Comment 1 msiddiqu 2019-01-24 12:40:03 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 1669142]

Comment 2 Justin M. Forbes 2019-01-24 13:10:20 UTC
This is fixed for Fedora with the 4.20.{3,4} kernel rebases.


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