CVE-2015-2925
published 2015-11-16CVE-2015-2925: The prepend_path function in fs/dcache.c in the Linux kernel before 4.2.4 does not properly handle rename actions inside a bind mount, which allows local users…
PriorityP422medium6.9CVSS 2.0
AVLACMAuNCCICAC
EPSS
1.25%
66.3th percentile
The prepend_path function in fs/dcache.c in the Linux kernel before 4.2.4 does not properly handle rename actions inside a bind mount, which allows local users to bypass an intended container protection mechanism by renaming a directory, related to a "double-chroot attack."
Affected
20 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| debian | debian_linux | — | — |
| debian | debian_linux | — | — |
| debian | linux | < linux 4.2.1-1 (bookworm) | linux 4.2.1-1 (bookworm) |
| linux | linux_kernel | < 3.2.72 | 3.2.72 |
| linux | linux_kernel | >= 0 < 4.2.1-1 | 4.2.1-1 |
| linux | linux_kernel | >= 0 < 4.2.1-1 | 4.2.1-1 |
| linux | linux_kernel | >= 0 < 4.2.1-1 | 4.2.1-1 |
| linux | linux_kernel | >= 0 < 4.2.1-1 | 4.2.1-1 |
| linux | linux_kernel | >= 0 < 3.13.0-67.110 | 3.13.0-67.110 |
| linux | linux_kernel | >= 3.11 < 3.12.49 | 3.12.49 |
| linux | linux_kernel | >= 3.13 < 3.14.55 | 3.14.55 |
| linux | linux_kernel | >= 3.15 < 3.16.35 | 3.16.35 |
| linux | linux_kernel | >= 3.17 < 3.18.23 | 3.18.23 |
| linux | linux_kernel | >= 3.19 < 4.1.11 | 4.1.11 |
| linux | linux_kernel | >= 3.3 < 3.4.110 | 3.4.110 |
| linux | linux_kernel | >= 3.5 < 3.10.91 | 3.10.91 |
| linux | linux_kernel | >= 4.2 < 4.2.4 | 4.2.4 |
CVSS provenance
nvdv2.06.9MEDIUMAV:L/AC:M/Au:N/C:C/I:C/A:C
osv6.9MEDIUM
vendor_debian6.9MEDIUM
vendor_redhat6.9MEDIUM
vendor_ubuntu6.9MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
Linux kernel vulnerabilities
vendor_ubuntu·2015-11-05·CVSS 5.0
CVE-2015-0272 [MEDIUM] Linux kernel vulnerabilities
Title: Linux kernel vulnerabilities
Summary: Several security issues were fixed in the kernel.
Dmitry Vyukov discovered that the Linux kernel did not properly initialize
IPC object state in certain situations. A local attacker could use this to
escalate their privileges, expose confidential information, or cause a
denial of service (system crash). (CVE-2015-7613)
It was discovered that the Linux kernel did not check if a new IPv6 MTU set
by a user space application was valid. A remote attacker could forge a
route advertisement with an invalid MTU that a user space daemon like
NetworkManager would honor and apply to the kernel, causing a denial of
service. (CVE-2015-0272)
It was discovered that in certain situations, a directory could be renamed
outside of a bind mounted location. An at
Ubuntu
Linux kernel (Utopic HWE) vulnerabilities
vendor_ubuntu·2015-11-05·CVSS 5.0
CVE-2015-0272 [MEDIUM] Linux kernel (Utopic HWE) vulnerabilities
Title: Linux kernel (Utopic HWE) vulnerabilities
Summary: Several security issues were fixed in the kernel.
It was discovered that the Linux kernel did not check if a new IPv6 MTU set
by a user space application was valid. A remote attacker could forge a
route advertisement with an invalid MTU that a user space daemon like
NetworkManager would honor and apply to the kernel, causing a denial of
service. (CVE-2015-0272)
It was discovered that in certain situations, a directory could be renamed
outside of a bind mounted location. An attacker could use this to escape
bind mount containment and gain access to sensitive information.
(CVE-2015-2925)
Moein Ghasemzadeh discovered that the USB WhiteHEAT serial driver contained
hardcoded attributes about the USB devices. An attacker could constru
Ubuntu
Linux kernel (Vivid HWE) vulnerabilities
vendor_ubuntu·2015-11-05·CVSS 6.9
CVE-2015-2925 [MEDIUM] Linux kernel (Vivid HWE) vulnerabilities
Title: Linux kernel (Vivid HWE) vulnerabilities
Summary: Several security issues were fixed in the kernel.
It was discovered that in certain situations, a directory could be renamed
outside of a bind mounted location. An attacker could use this to escape
bind mount containment and gain access to sensitive information.
(CVE-2015-2925)
Moein Ghasemzadeh discovered that the USB WhiteHEAT serial driver contained
hardcoded attributes about the USB devices. An attacker could construct a
fake WhiteHEAT USB device that, when inserted, causes a denial of service
(system crash). (CVE-2015-5257)
Instructions: After a standard system update you need to reboot your computer to make
all the necessary changes.
ATTENTION: Due to an unavoidable ABI change the kernel updates have
been given a new versi
Ubuntu
Linux kernel (OMAP4) vulnerabilities
vendor_ubuntu·2015-11-05·CVSS 5.0
CVE-2015-0272 [MEDIUM] Linux kernel (OMAP4) vulnerabilities
Title: Linux kernel (OMAP4) vulnerabilities
Summary: Several security issues were fixed in the kernel.
Dmitry Vyukov discovered that the Linux kernel did not properly initialize
IPC object state in certain situations. A local attacker could use this to
escalate their privileges, expose confidential information, or cause a
denial of service (system crash). (CVE-2015-7613)
It was discovered that the Linux kernel did not check if a new IPv6 MTU set
by a user space application was valid. A remote attacker could forge a
route advertisement with an invalid MTU that a user space daemon like
NetworkManager would honor and apply to the kernel, causing a denial of
service. (CVE-2015-0272)
It was discovered that in certain situations, a directory could be renamed
outside of a bind mounted locatio
Ubuntu
Linux kernel (Trusty HWE) vulnerabilities
vendor_ubuntu·2015-11-05·CVSS 6.9
CVE-2015-2925 [MEDIUM] Linux kernel (Trusty HWE) vulnerabilities
Title: Linux kernel (Trusty HWE) vulnerabilities
Summary: Several security issues were fixed in the kernel.
It was discovered that in certain situations, a directory could be renamed
outside of a bind mounted location. An attacker could use this to escape
bind mount containment and gain access to sensitive information.
(CVE-2015-2925)
Moein Ghasemzadeh discovered that the USB WhiteHEAT serial driver contained
hardcoded attributes about the USB devices. An attacker could construct a
fake WhiteHEAT USB device that, when inserted, causes a denial of service
(system crash). (CVE-2015-5257)
Instructions: After a standard system update you need to reboot your computer to make
all the necessary changes.
ATTENTION: Due to an unavoidable ABI change the kernel updates have
been given a new vers
Ubuntu
Linux kernel vulnerabilities
vendor_ubuntu·2015-11-05·CVSS 6.9
CVE-2015-2925 [MEDIUM] Linux kernel vulnerabilities
Title: Linux kernel vulnerabilities
Summary: Several security issues were fixed in the kernel.
It was discovered that in certain situations, a directory could be renamed
outside of a bind mounted location. An attacker could use this to escape
bind mount containment and gain access to sensitive information.
(CVE-2015-2925)
Moein Ghasemzadeh discovered that the USB WhiteHEAT serial driver contained
hardcoded attributes about the USB devices. An attacker could construct a
fake WhiteHEAT USB device that, when inserted, causes a denial of service
(system crash). (CVE-2015-5257)
Instructions: After a standard system update you need to reboot your computer to make
all the necessary changes.
ATTENTION: Due to an unavoidable ABI change the kernel updates have
been given a new version number, w
Red Hat
Kernel: vfs: Do not allow escaping from bind mounts
vendor_redhat·2015-04-03·CVSS 6.9
CVE-2015-2925 [MEDIUM] CWE-22 Kernel: vfs: Do not allow escaping from bind mounts
Kernel: vfs: Do not allow escaping from bind mounts
The prepend_path function in fs/dcache.c in the Linux kernel before 4.2.4 does not properly handle rename actions inside a bind mount, which allows local users to bypass an intended container protection mechanism by renaming a directory, related to a "double-chroot attack."
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.
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 o
Debian
CVE-2015-2925: linux - The prepend_path function in fs/dcache.c in the Linux kernel before 4.2.4 does n...
vendor_debian·2015·CVSS 6.9
CVE-2015-2925 [MEDIUM] CVE-2015-2925: linux - The prepend_path function in fs/dcache.c in the Linux kernel before 4.2.4 does n...
The prepend_path function in fs/dcache.c in the Linux kernel before 4.2.4 does not properly handle rename actions inside a bind mount, which allows local users to bypass an intended container protection mechanism by renaming a directory, related to a "double-chroot attack."
Scope: local
bookworm: resolved (fixed in 4.2.1-1)
bullseye: resolved (fixed in 4.2.1-1)
forky: resolved (fixed in 4.2.1-1)
sid: resolved (fixed in 4.2.1-1)
trixie: resolved (fixed in 4.2.1-1)
GHSA
GHSA-v42c-fv3v-4g2f: The prepend_path function in fs/dcache
ghsa_unreviewed·2022-05-14
CVE-2015-2925 [MEDIUM] GHSA-v42c-fv3v-4g2f: The prepend_path function in fs/dcache
The prepend_path function in fs/dcache.c in the Linux kernel before 4.2.4 does not properly handle rename actions inside a bind mount, which allows local users to bypass an intended container protection mechanism by renaming a directory, related to a "double-chroot attack."
OSV
CVE-2015-2925: The prepend_path function in fs/dcache
osv·2015-11-16·CVSS 6.9
CVE-2015-2925 [MEDIUM] CVE-2015-2925: The prepend_path function in fs/dcache
The prepend_path function in fs/dcache.c in the Linux kernel before 4.2.4 does not properly handle rename actions inside a bind mount, which allows local users to bypass an intended container protection mechanism by renaming a directory, related to a "double-chroot attack."
OSV
linux vulnerabilities
osv·2015-11-05·CVSS 6.9
CVE-2015-2925 [MEDIUM] linux vulnerabilities
linux vulnerabilities
It was discovered that in certain situations, a directory could be renamed
outside of a bind mounted location. An attacker could use this to escape
bind mount containment and gain access to sensitive information.
(CVE-2015-2925)
Moein Ghasemzadeh discovered that the USB WhiteHEAT serial driver contained
hardcoded attributes about the USB devices. An attacker could construct a
fake WhiteHEAT USB device that, when inserted, causes a denial of service
(system crash). (CVE-2015-5257)
OSV
linux-lts-utopic vulnerabilities
osv·2015-11-05·CVSS 5.0
CVE-2015-0272 [MEDIUM] linux-lts-utopic vulnerabilities
linux-lts-utopic vulnerabilities
It was discovered that the Linux kernel did not check if a new IPv6 MTU set
by a user space application was valid. A remote attacker could forge a
route advertisement with an invalid MTU that a user space daemon like
NetworkManager would honor and apply to the kernel, causing a denial of
service. (CVE-2015-0272)
It was discovered that in certain situations, a directory could be renamed
outside of a bind mounted location. An attacker could use this to escape
bind mount containment and gain access to sensitive information.
(CVE-2015-2925)
Moein Ghasemzadeh discovered that the USB WhiteHEAT serial driver contained
hardcoded attributes about the USB devices. An attacker could construct a
fake WhiteHEAT USB device that, when inserted, causes a denial of servi
OSV
linux-lts-vivid vulnerabilities
osv·2015-11-05·CVSS 6.9
CVE-2015-2925 [MEDIUM] linux-lts-vivid vulnerabilities
linux-lts-vivid vulnerabilities
It was discovered that in certain situations, a directory could be renamed
outside of a bind mounted location. An attacker could use this to escape
bind mount containment and gain access to sensitive information.
(CVE-2015-2925)
Moein Ghasemzadeh discovered that the USB WhiteHEAT serial driver contained
hardcoded attributes about the USB devices. An attacker could construct a
fake WhiteHEAT USB device that, when inserted, causes a denial of service
(system crash). (CVE-2015-5257)
No detection rules found.
No public exploits indexed.
arXiv
The Security War in File Systems: An Empirical Study from A Vulnerability-Centric Perspective
arxiv_fulltext·2022-04-26
The Security War in File Systems: An Empirical Study from A Vulnerability-Centric Perspective
The Security War in File Systems: An Empirical Study from A Vulnerability-Centric Perspective
## Abstract
This paper presents a systematic study on the security of modern file systems,
following a vulnerability-centric perspective. Specifically,
we collected 377 file system vulnerabilities committed to the CVE database in the past 20 years.
We characterize them from four dimensions that include why the vulnerabilities appear,
how the vulnerabilities can be exploited, what consequences can arise,
and how the vulnerabilities are fixed. This way, we build a deep understanding of
the attack surfaces faced by file systems, the threats imposed by the attack surfaces,
and the good and bad practices in mitigating the attacks in file systems. We envision that our study
will bring insights toward
Bugzilla
CVE-2015-2925 Kernel: vfs: Do not allow escaping from bind mounts [fedora-all]
bugzilla·2015-04-07·CVSS 6.9
CVE-2015-2925 [MEDIUM] CVE-2015-2925 Kernel: vfs: Do not allow escaping from bind mounts [fedora-all]
CVE-2015-2925 Kernel: vfs: Do not allow escaping from bind mounts [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported versions of
Bugzilla
CVE-2015-2925 Kernel: vfs: Do not allow escaping from bind mounts
bugzilla·2015-04-07·CVSS 6.9
CVE-2015-2925 [MEDIUM] CVE-2015-2925 Kernel: vfs: Do not allow escaping from bind mounts
CVE-2015-2925 Kernel: vfs: Do not allow escaping from bind mounts
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
Discussion:
Created kernel tracking bugs for this issue:
Affects: fedora-all [bug 1209373]
---
Statement:
This issue does not affect the version of the kernel package as shipped with Red Hat Enterprise Linux 5.
This issue affects t
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=397d425dc26da728396e66d392d5dcb8dac30c37http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=cde93be45a8a90d8c264c776fab63487b5038a65http://lists.opensuse.org/opensuse-security-announce/2015-12/msg00005.htmlhttp://lists.opensuse.org/opensuse-security-announce/2015-12/msg00018.htmlhttp://lists.opensuse.org/opensuse-security-announce/2016-02/msg00007.htmlhttp://lists.opensuse.org/opensuse-security-announce/2016-02/msg00009.htmlhttp://lists.opensuse.org/opensuse-security-announce/2016-02/msg00017.htmlhttp://lists.opensuse.org/opensuse-security-announce/2016-02/msg00018.htmlhttp://lists.opensuse.org/opensuse-security-announce/2016-02/msg00019.htmlhttp://lists.opensuse.org/opensuse-security-announce/2016-02/msg00020.htmlhttp://lists.opensuse.org/opensuse-security-announce/2016-02/msg00021.htmlhttp://lists.opensuse.org/opensuse-security-announce/2016-02/msg00022.htmlhttp://lists.opensuse.org/opensuse-security-announce/2016-02/msg00034.htmlhttp://permalink.gmane.org/gmane.linux.kernel.containers/29173http://permalink.gmane.org/gmane.linux.kernel.containers/29177http://pkgs.fedoraproject.org/cgit/kernel.git/commit/?h=f22&id=520b64102de2f184036024b2a53de2b67463bd78http://rhn.redhat.com/errata/RHSA-2015-2636.htmlhttp://rhn.redhat.com/errata/RHSA-2016-0068.htmlhttp://www.debian.org/security/2015/dsa-3364http://www.debian.org/security/2015/dsa-3372http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.2.4http://www.openwall.com/lists/oss-security/2015/04/04/4http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.htmlhttp://www.oracle.com/technetwork/topics/security/linuxbulletinoct2015-2719645.htmlhttp://www.securityfocus.com/bid/73926http://www.ubuntu.com/usn/USN-2792-1http://www.ubuntu.com/usn/USN-2794-1http://www.ubuntu.com/usn/USN-2795-1http://www.ubuntu.com/usn/USN-2798-1http://www.ubuntu.com/usn/USN-2799-1https://bugzilla.redhat.com/show_bug.cgi?id=1209367https://bugzilla.redhat.com/show_bug.cgi?id=1209373https://github.com/torvalds/linux/commit/397d425dc26da728396e66d392d5dcb8dac30c37https://github.com/torvalds/linux/commit/cde93be45a8a90d8c264c776fab63487b5038a65http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=397d425dc26da728396e66d392d5dcb8dac30c37http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=cde93be45a8a90d8c264c776fab63487b5038a65http://lists.opensuse.org/opensuse-security-announce/2015-12/msg00005.htmlhttp://lists.opensuse.org/opensuse-security-announce/2015-12/msg00018.htmlhttp://lists.opensuse.org/opensuse-security-announce/2016-02/msg00007.htmlhttp://lists.opensuse.org/opensuse-security-announce/2016-02/msg00009.htmlhttp://lists.opensuse.org/opensuse-security-announce/2016-02/msg00017.htmlhttp://lists.opensuse.org/opensuse-security-announce/2016-02/msg00018.htmlhttp://lists.opensuse.org/opensuse-security-announce/2016-02/msg00019.htmlhttp://lists.opensuse.org/opensuse-security-announce/2016-02/msg00020.htmlhttp://lists.opensuse.org/opensuse-security-announce/2016-02/msg00021.htmlhttp://lists.opensuse.org/opensuse-security-announce/2016-02/msg00022.htmlhttp://lists.opensuse.org/opensuse-security-announce/2016-02/msg00034.htmlhttp://permalink.gmane.org/gmane.linux.kernel.containers/29173http://permalink.gmane.org/gmane.linux.kernel.containers/29177http://pkgs.fedoraproject.org/cgit/kernel.git/commit/?h=f22&id=520b64102de2f184036024b2a53de2b67463bd78http://rhn.redhat.com/errata/RHSA-2015-2636.htmlhttp://rhn.redhat.com/errata/RHSA-2016-0068.htmlhttp://www.debian.org/security/2015/dsa-3364http://www.debian.org/security/2015/dsa-3372http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.2.4http://www.openwall.com/lists/oss-security/2015/04/04/4http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.htmlhttp://www.oracle.com/technetwork/topics/security/linuxbulletinoct2015-2719645.htmlhttp://www.securityfocus.com/bid/73926http://www.ubuntu.com/usn/USN-2792-1http://www.ubuntu.com/usn/USN-2794-1http://www.ubuntu.com/usn/USN-2795-1http://www.ubuntu.com/usn/USN-2798-1http://www.ubuntu.com/usn/USN-2799-1https://bugzilla.redhat.com/show_bug.cgi?id=1209367https://bugzilla.redhat.com/show_bug.cgi?id=1209373https://github.com/torvalds/linux/commit/397d425dc26da728396e66d392d5dcb8dac30c37https://github.com/torvalds/linux/commit/cde93be45a8a90d8c264c776fab63487b5038a65
2015-11-16
Published