Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1179813 - (CVE-2014-9529) CVE-2014-9529 kernel: use-after-free during key garbage collection
CVE-2014-9529 kernel: use-after-free during key garbage collection
Status: CLOSED ERRATA
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=20141229,repor...
: Security
Depends On: 1179849 1179850 1179851 1179852 1179853 1179854 1223790 1223791
Blocks: 1179815
  Show dependency treegraph
 
Reported: 2015-01-07 10:29 EST by Vincent Danen
Modified: 2015-06-29 11:13 EDT (History)
22 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
A race condition flaw was found in the way the Linux kernel keys management subsystem performed key garbage collection. A local attacker could attempt accessing a key while it was being garbage collected, which would cause the system to crash.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-06-23 08:16:43 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)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:0864 normal SHIPPED_LIVE Important: kernel security and bug fix update 2015-04-21 15:00:52 EDT
Red Hat Product Errata RHSA-2015:1137 normal SHIPPED_LIVE Important: kernel security and bug fix update 2015-06-23 08:46:59 EDT
Red Hat Product Errata RHSA-2015:1138 normal SHIPPED_LIVE Important: kernel-rt security, bug fix, and enhancement update 2015-06-23 08:28:04 EDT
Red Hat Product Errata RHSA-2015:1139 normal SHIPPED_LIVE Important: kernel-rt security, bug fix, and enhancement update 2015-06-23 08:24:45 EDT

  None (edit)
Description Vincent Danen 2015-01-07 10:29:50 EST
It was reported [1] that the Linux kernel suffered from a flaw when doing key garbage collection.  The patch [1] describes the issue as:

"""
When a key is being garbage collected, it's key->user would get put before
the ->destroy() callback is called, where the key is removed from it's
respective tracking structures.

This leaves a key hanging in a semi-invalid state which leaves a window open
for a different task to try an access key->user. An example is
find_keyring_by_name() which would dereference key->user for a key that is
in the process of being garbage collected (where key->user was freed but
->destroy() wasn't called yet - so it's still present in the linked list).

"""

An unprivileged local user could use this flaw to crash the system.

[1] http://marc.info/?l=linux-kernel&m=141986398232547&w=2
Comment 1 Petr Matousek 2015-01-07 11:27:31 EST
Statement:

This issue does not affect the Linux kernel packages as shipped with Red Hat Enterprise Linux 5.

This issue affects the Linux kernel packages as shipped with Red Hat Enterprise Linux 6, 7 and Red Hat Enterprise MRG 2. Future kernel updates for the respective releases may address this issue.
Comment 4 Petr Matousek 2015-01-07 11:28:59 EST
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 1179853]
Comment 5 Fedora Update System 2015-01-10 21:58:10 EST
kernel-3.17.8-300.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 6 Fedora Update System 2015-01-12 19:05:45 EST
kernel-3.17.8-200.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 7 errata-xmlrpc 2015-04-21 11:02:09 EDT
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 6

Via RHSA-2015:0864 https://rhn.redhat.com/errata/RHSA-2015-0864.html
Comment 10 errata-xmlrpc 2015-06-23 04:25:24 EDT
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2015:1139 https://rhn.redhat.com/errata/RHSA-2015-1139.html
Comment 11 errata-xmlrpc 2015-06-23 04:28:24 EDT
This issue has been addressed in the following products:

  MRG for RHEL-6 v.2

Via RHSA-2015:1138 https://rhn.redhat.com/errata/RHSA-2015-1138.html
Comment 12 errata-xmlrpc 2015-06-23 04:47:24 EDT
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2015:1137 https://rhn.redhat.com/errata/RHSA-2015-1137.html

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