Bug 1470659 - (CVE-2017-11176) CVE-2017-11176 kernel: Use-after-free in sys_mq_notify()
CVE-2017-11176 kernel: Use-after-free in sys_mq_notify()
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=20170709,repor...
: Security
Depends On: 1476123 1476124 1476126 1476127 1476130 1476131 1470660 1476122 1476125 1476128 1476129
Blocks: 1470663
  Show dependency treegraph
 
Reported: 2017-07-13 08:13 EDT by Adam Mariš
Modified: 2018-02-15 20:54 EST (History)
41 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
A use-after-free flaw was found in the Netlink functionality of the Linux kernel networking subsystem. Due to the insufficient cleanup in the mq_notify function, a local attacker could potentially use this flaw to escalate their privileges on the system.
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)

  None (edit)
Description Adam Mariš 2017-07-13 08:13:50 EDT
The mq_notify function in the Linux kernel through 4.11.9 does not set the sock pointer to NULL upon entry into the retry logic. During a user-space close of a Netlink socket, it allows attackers to possibly cause a situation where a value may be used after being freed (Use after free) which may lead to memory corruption or other unspecified other impact.

Upstream patch:

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

Mitre advisory: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-11176

What is use after free: https://access.redhat.com/use-after-free-flaw-type
Comment 1 Adam Mariš 2017-07-13 08:14:42 EDT
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 1470660]
Comment 2 Fedora Update System 2017-07-23 18:55:03 EDT
kernel-4.11.11-200.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.
Comment 7 Eric Christensen 2017-10-10 14:44:42 EDT
Statement:

This issue affects the Linux kernel packages as shipped with Red Hat Enterprise Linux 5,6,7 and MRG-2.  Future Linux kernel updates for the respective releases may address this issue.
Comment 8 errata-xmlrpc 2017-10-19 09:26:00 EDT
This issue has been addressed in the following products:

  Red Hat Enterprise MRG 2

Via RHSA-2017:2918 https://access.redhat.com/errata/RHSA-2017:2918
Comment 9 errata-xmlrpc 2017-10-19 11:05:41 EDT
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2017:2930 https://access.redhat.com/errata/RHSA-2017:2930
Comment 10 errata-xmlrpc 2017-10-19 11:09:20 EDT
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2017:2931 https://access.redhat.com/errata/RHSA-2017:2931
Comment 11 errata-xmlrpc 2018-01-25 06:31:22 EST
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 6

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

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