Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1427239 - (CVE-2017-5669) CVE-2017-5669 kernel: Shmat allows mmap null page protection bypass
CVE-2017-5669 kernel: Shmat allows mmap null page protection bypass
Status: CLOSED NOTABUG
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
low Severity low
: ---
: ---
Assigned To: Red Hat Product Security
impact=low,public=20170120,reported=2...
: Security
Depends On:
Blocks: 1427241
  Show dependency treegraph
 
Reported: 2017-02-27 11:28 EST by Andrej Nemec
Modified: 2017-03-17 11:01 EDT (History)
35 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
The do_shmat function in ipc/shm.c in the Linux kernel, through 4.9.12, does not restrict the address calculated by a certain rounding operation. This allows privileged local users to map page zero and, consequently, bypass a protection mechanism that exists for the mmap system call. This is possible by making crafted shmget and shmat system calls in a privileged context.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-03-16 12:49:01 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Andrej Nemec 2017-02-27 11:28:02 EST
The do_shmat function in ipc/shm.c in the Linux kernel does not restrict the address calculated by a certain rounding operation, which allows local users to map page zero, and consequently bypass a protection mechanism that exists for the mmap system call, by making crafted shmget and shmat system calls in a privileged context.

Upstream bug:

https://bugzilla.kernel.org/show_bug.cgi?id=192931

Upstream patch:

https://github.com/torvalds/linux/commit/e1d35d4dc7f089e6c9c080d556feedf9c706f0c7

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=95e91b831f87ac8e1f8ed50c14d709089b4e01b8
Comment 1 Fedora Update System 2017-03-11 06:51:39 EST
kernel-4.9.13-101.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.
Comment 4 Vladis Dronov 2017-03-16 12:49:01 EDT
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 the flaw can only be exploited by a privileged user.

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