Bug 1209367 - (CVE-2015-2925) CVE-2015-2925 Kernel: vfs: Do not allow escaping from bind mounts
CVE-2015-2925 Kernel: vfs: Do not allow escaping from bind mounts
Status: CLOSED ERRATA
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
high Severity high
: ---
: ---
Assigned To: Red Hat Product Security
impact=important,public=20150403,repo...
: Security
Depends On: 1209849 1209368 1209369 1209370 1209371 1209372 1209373 1209403 1209404 1209850
Blocks: 1209357
  Show dependency treegraph
 
Reported: 2015-04-07 04:16 EDT by Prasad J Pandit
Modified: 2015-12-15 08:57 EST (History)
36 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
A flaw was found in the way the Linux kernel's file system implementation handled rename operations in which the source was inside and the destination was outside of a bind mount. A privileged user inside a container could use this flaw to escape the bind mount and, potentially, escalate their privileges on the system.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-10-09 14:18:27 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 Prasad J Pandit 2015-04-07 04:16:27 EDT
Linux kernel built with the name spaces support(CONFIG_NAMESPACE) is vulnerable
to a potential privilege escalation flaw. It could occur when a process within
a container escapes the intended bind mounts to access the full file system.

A privileged user inside a container could use this flaw to potentially gain
full privileges on a system.

Upstream fix:
-------------
  -> http://permalink.gmane.org/gmane.linux.kernel.containers/29177

Reference:
----------
  -> http://www.openwall.com/lists/oss-security/2015/04/03/7
Comment 3 Prasad J Pandit 2015-04-07 04:20:19 EDT
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 1209373]
Comment 4 Prasad J Pandit 2015-04-07 05:40:08 EDT
Statement:

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

This issue affects the versions of Linux kernel as shipped with Red Hat Enterprise Linux 6 and 7 and Red Hat Enterprise MRG 2. Future kernel updates for the respective releases may address this issue.
Comment 14 Fedora Update System 2015-10-09 02:15:26 EDT
kernel-4.2.3-300.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.
Comment 15 Fedora Update System 2015-10-09 06:27:15 EDT
kernel-4.1.10-200.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.
Comment 16 Torez Smith 2015-10-09 14:18:27 EDT
https://bugzilla.redhat.com/show_bug.cgi?id=1209367
Bug 1209367 depends on bug 1209373, which changed state.

Bug 1209373 Summary: CVE-2015-2925 Kernel: vfs: Do not allow escaping from bind mounts [fedora-all]
https://bugzilla.redhat.com/show_bug.cgi?id=1209373

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ON_QA                       |CLOSED
         Resolution|---                         |ERRATA
Comment 17 Fedora Update System 2015-11-01 17:20:43 EST
kernel-4.1.10-100.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.
Comment 18 errata-xmlrpc 2015-11-19 08:16:51 EST
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2015:2411 https://rhn.redhat.com/errata/RHSA-2015-2411.html
Comment 19 errata-xmlrpc 2015-11-19 16:57:59 EST
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2015:2152 https://rhn.redhat.com/errata/RHSA-2015-2152.html
Comment 21 errata-xmlrpc 2015-12-09 04:45:01 EST
This issue has been addressed in the following products:

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

Via RHSA-2015:2587 https://rhn.redhat.com/errata/RHSA-2015-2587.html
Comment 22 errata-xmlrpc 2015-12-15 08:57:58 EST
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 6

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

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