Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 1518155 - (CVE-2017-16994) CVE-2017-16994 kernel: mm/pagewalk.c:walk_hugetlb_range function mishandles holes in hugetlb ranges causing information leak
CVE-2017-16994 kernel: mm/pagewalk.c:walk_hugetlb_range function mishandles h...
Status: NEW
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,public=20171115,repor...
: Security
Depends On: 1518156 1520394 1520395
Blocks: 1518161
  Show dependency treegraph
 
Reported: 2017-11-28 05:43 EST by Adam Mariš
Modified: 2018-08-28 18:26 EDT (History)
43 users (show)

See Also:
Fixed In Version: upstream kernel v4.15-rc1
Doc Type: Bug Fix
Doc Text:
The walk_hugetlb_range() function in 'mm/pagewalk.c' file in the Linux kernel from v4.0-rc1 through v4.15-rc1 mishandles holes in hugetlb ranges. This allows local users to obtain sensitive information from uninitialized kernel memory via crafted use of the mincore() system call.
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2018:0502 normal SHIPPED_LIVE Important: kernel-alt security and bug fix update 2018-03-13 15:39:22 EDT

  None (edit)
Description Adam Mariš 2017-11-28 05:43:52 EST
The walk_hugetlb_range() function in 'mm/pagewalk.c' file in the Linux kernel from v4.0-rc1 through v4.15-rc1 mishandles holes in hugetlb ranges, which allows local users to obtain sensitive information from uninitialized kernel memory via crafted use of the mincore() system call.

References:

https://bugs.chromium.org/p/project-zero/issues/detail?id=1431

https://www.exploit-db.com/exploits/43178/

A flaw was introduced by:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=1e25a271c8ac1c9faebf4eb3fa609189e4e7b1b6

An upstream patch:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=373c4557d2aa362702c4c2d41288fb1e54990b7c
Comment 1 Adam Mariš 2017-11-28 05:45:14 EST
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 1518156]
Comment 4 Vladis Dronov 2017-12-04 07:08:30 EST
Statement:

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

This issue affects the versions of the Linux kernel as shipped with Red Hat Enterprise Linux 7 for ARM and Red Hat Enterprise Linux 7 for Power LE in the "kernel-alt" packages.
Comment 5 Vladis Dronov 2017-12-04 07:10:01 EST
What is Red Hat Enterprise Linux 7 for ARM,
        Red Hat Enterprise Linux 7 for Power LE,
        and the "kernel-alt" package:

The "kernel-alt" package as shipped with Red Hat Enterprise Linux 7 for ARM and Red Hat Enterprise Linux 7 for Power LE is an updated kernel intended to support new architectures not available at the time of Red Hat Enterprise Linux 7 original shipping. The new kernel version provided by the "kernel-alt" packages is based on upstream Linux kernel version 4.11. The offering is distributed with other updated packages, but most of the userspace is the standard Red Hat Enterprise Linux 7 Server RPM files.

For more information please refer to:

https://access.redhat.com/articles/3158541
https://access.redhat.com/articles/3158511
Comment 7 errata-xmlrpc 2018-03-13 11:36:23 EDT
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2018:0502 https://access.redhat.com/errata/RHSA-2018:0502

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