Bug 1209367 (CVE-2015-2925) - CVE-2015-2925 Kernel: vfs: Do not allow escaping from bind mounts
Summary: CVE-2015-2925 Kernel: vfs: Do not allow escaping from bind mounts
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2015-2925
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1209368 1209369 1209370 1209371 1209372 1209373 1209403 1209404 1209849 1209850
Blocks: 1209357
TreeView+ depends on / blocked
 
Reported: 2015-04-07 08:16 UTC by Prasad Pandit
Modified: 2021-02-17 05:27 UTC (History)
36 users (show)

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.
Clone Of:
Environment:
Last Closed: 2015-10-09 18:18:27 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:2152 0 normal SHIPPED_LIVE Important: kernel security, bug fix, and enhancement update 2015-11-20 00:56:02 UTC
Red Hat Product Errata RHSA-2015:2411 0 normal SHIPPED_LIVE Important: kernel-rt security, bug fix, and enhancement update 2015-11-19 11:24:06 UTC
Red Hat Product Errata RHSA-2015:2587 0 normal SHIPPED_LIVE Important: kernel security, bug fix, and enhancement update 2015-12-09 14:44:50 UTC
Red Hat Product Errata RHSA-2015:2636 0 normal SHIPPED_LIVE Important: kernel security and bug fix update 2015-12-15 18:57:46 UTC

Description Prasad Pandit 2015-04-07 08:16:27 UTC
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 Pandit 2015-04-07 08:20:19 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 1209373]

Comment 4 Prasad Pandit 2015-04-07 09:40:08 UTC
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 06:15:26 UTC
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 10:27:15 UTC
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 18:18:27 UTC
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 22:20:43 UTC
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 13:16:51 UTC
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 21:57:59 UTC
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 09:45:01 UTC
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 13:57:58 UTC
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.