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 1122472 - (CVE-2014-5045) CVE-2014-5045 kernel: vfs: refcount issues during unmount on symlink
CVE-2014-5045 kernel: vfs: refcount issues during unmount on symlink
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=20140720,repor...
: Security
Depends On: 1121323 1122376 1122480 1122481 1122482 1135165
Blocks: 1122485
  Show dependency treegraph
 
Reported: 2014-07-23 06:58 EDT by Petr Matousek
Modified: 2016-09-25 23:32 EDT (History)
30 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
A flaw was found in the way the Linux kernel's VFS subsystem handled reference counting when performing unmount operations on symbolic links. A local, unprivileged user could use this flaw to exhaust all available memory on the system or, potentially, trigger a use-after-free error, resulting in a system crash or privilege escalation.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-09-25 23:32:23 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-2014:1392 normal SHIPPED_LIVE Important: kernel security, bug fix, and enhancement update 2014-10-13 21:28:44 EDT
Red Hat Product Errata RHSA-2014:1971 normal SHIPPED_LIVE Important: kernel security and bug fix update 2014-12-09 20:33:29 EST
Red Hat Product Errata RHSA-2015:0062 normal SHIPPED_LIVE Important: kernel security, bug fix, and enhancement update 2015-01-20 17:21:42 EST

  None (edit)
Description Petr Matousek 2014-07-23 06:58:51 EDT
A flaw was found in the way reference counting was handled in the Linux kernel's
VFS subsystem when unmount on symlink was performed.

On Red Hat Enterprise Linux 6 an unprivileged local user could use this flaw to
cause OOM conditions leading to denial of service or, potentially, trigger
use-after-free error.

On Red Hat Enterprise Linux 7 a privileged local user with CAP_SYS_ADMIN
capability (also in a container) could use this flaw to cause OOM conditions
leading to denial of service or, potentially, trigger use-after-free error.

Acknowledgements:

Red Hat would like to thank Vasily Averin of Parallels for reporting this issue.
Comment 1 Petr Matousek 2014-07-23 07:12:15 EDT
Statement:

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

Future Linux kernel updates for Red Hat Enterprise Linux 6 and 7 may address
this issue.
Comment 2 Petr Matousek 2014-07-23 07:13:38 EDT
Proposed upstream patch:

  https://lkml.org/lkml/2014/7/21/98
Comment 4 Petr Matousek 2014-07-23 07:21:09 EDT
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 1122482]
Comment 5 Vasily Averin 2014-07-24 01:57:45 EDT
CVE-2014-5045 was assigned for this issue
Comment 6 Martin Prpič 2014-10-10 04:46:18 EDT
IssueDescription:

A flaw was found in the way the Linux kernel's VFS subsystem handled reference counting when performing unmount operations on symbolic links. A local, unprivileged user could use this flaw to exhaust all available memory on the system or, potentially, trigger a use-after-free error, resulting in a system crash or privilege escalation.
Comment 7 errata-xmlrpc 2014-10-14 02:19:40 EDT
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 6

Via RHSA-2014:1392 https://rhn.redhat.com/errata/RHSA-2014-1392.html
Comment 9 errata-xmlrpc 2014-12-09 15:34:47 EST
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2014:1971 https://rhn.redhat.com/errata/RHSA-2014-1971.html
Comment 10 errata-xmlrpc 2015-01-20 12:22:44 EST
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 6.5 EUS - Server and Compute Node Only

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

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