CVE-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…
Check your servers for CVE-2015-2925
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2015-2925 affects a package, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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."
Exploitation
EPSS 1.65%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 76.9% of all scored CVEs. Scores of 28 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
n/a
n/a
|
affected all versions
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2015-2925 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2015-2925RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2015-2925Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2015-2925
trivy image --scanners vuln IMAGE | grep CVE-2015-2925
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- SUSE-SU-2015:2292 lists.opensuse.org · vendor advisory
- RHSA-2015:2636 rhn.redhat.com · vendor advisory
- DSA-3372 debian.org · vendor advisory
- RHSA-2016:0068 rhn.redhat.com · vendor advisory
- http://pkgs.fedoraproject.org/cgit/kernel.git/commit/?h=f22&id=520b64102de2f184036024b2a53de2b67463bd78 pkgs.fedoraproject.org
- SUSE-SU-2016:0337 lists.opensuse.org · vendor advisory
- USN-2792-1 ubuntu.com · vendor advisory
- SUSE-SU-2016:0434 lists.opensuse.org · vendor advisory
- DSA-3364 debian.org · vendor advisory
- USN-2794-1 ubuntu.com · vendor advisory
- USN-2799-1 ubuntu.com · vendor advisory
- USN-2795-1 ubuntu.com · vendor advisory
18 more
- http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html oracle.com
- SUSE-SU-2015:2194 lists.opensuse.org · vendor advisory
- SUSE-SU-2016:0380 lists.opensuse.org · vendor advisory
- SUSE-SU-2016:0335 lists.opensuse.org · vendor advisory
- http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2015-2719645.html oracle.com
- SUSE-SU-2016:0383 lists.opensuse.org · vendor advisory
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=cde93be45a8a90d8c264c776fab63487b5038a65 git.kernel.org
- SUSE-SU-2016:0386 lists.opensuse.org · vendor advisory
- http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.2.4 kernel.org
- https://bugzilla.redhat.com/show_bug.cgi?id=1209367 bugzilla.redhat.com
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=397d425dc26da728396e66d392d5dcb8dac30c37 git.kernel.org
- SUSE-SU-2016:0384 lists.opensuse.org · vendor advisory
- https://github.com/torvalds/linux/commit/cde93be45a8a90d8c264c776fab63487b5038a65 github.com
- https://bugzilla.redhat.com/show_bug.cgi?id=1209373 bugzilla.redhat.com
- https://github.com/torvalds/linux/commit/397d425dc26da728396e66d392d5dcb8dac30c37 github.com
- SUSE-SU-2016:0387 lists.opensuse.org · vendor advisory
- SUSE-SU-2016:0381 lists.opensuse.org · vendor advisory
- USN-2798-1 ubuntu.com · vendor advisory
Other references
- [containers] 20150403 [PATCH review 17/19] vfs: Test for and handle paths that are unreachable from their mnt_root permalink.gmane.org · mailing list
- 73926 securityfocus.com · vdb entry
- [containers] 20150403 [PATCH review 19/19] vfs: Do not allow escaping from bind mounts. permalink.gmane.org · mailing list
- [oss-security] 20150404 Re: Linux namespaces: It is possible to escape from bind mounts openwall.com · mailing list
Source: the record CVE-2015-2925 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse