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."
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | linux | 4.2.1-1 | — |
| Debian 13 | linux | 4.2.1-1 | — |
| Debian 12 | linux | 4.2.1-1 | — |
| Debian 6.0 | linux-2.6 | 2.6.32-48squeeze16 | DLA-325-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 24.04 LTS | linux-riscv +6 | No fix yet | — |
| Ubuntu 22.04 LTS | linux-riscv +2 | No fix yet | — |
| Ubuntu 20.04 LTS | linux-gke +4 | No fix yet | — |
| Ubuntu 18.04 LTS | linux-gcp +3 | No fix yet | — |
| Ubuntu 14.04 LTS | linux | 3.13.0-67.110 | USN-2794-1 |
| Ubuntu 14.04 LTS | linux-lts-utopic | 3.16.0-52.71~14.04.1 | USN-2797-1 |
| Ubuntu 14.04 LTS | linux-lts-vivid | 3.19.0-32.37~14.04.1 | USN-2798-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 20.04 LTS | linux-azure-fde-5.15 | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 7 | kernel-rt +7 | 3.10.0-327.rt56.204.el7 | RHSA-2015:2411 |
| RHEL 7 | perf +18 | 3.10.0-327.el7 | RHSA-2015:2152 |
| RHEL 6 | perf +16 | 2.6.32-573.12.1.el6 | RHSA-2015:2636 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 7.1 EUS | kernel-kdump +4 | 3.10.0-229.24.2.el7 | RHSA-2015:2587 |
| RHEL 7.1 EUS | perf +13 | 3.10.0-229.24.2.ael7b | RHSA-2015:2587 |
| Red Hat MRG 2 | kernel-rt +10 | 1:3.10.0-327.rt56.170.el6rt | RHSA-2016:0068 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP1 | kernel-obs-build | 3.12.51-60.20.1 | SUSE-SU-2015:2292-1 |
| SLES 12 SP1 | kernel-xen +4 | 3.12.51-60.20.2 | SUSE-SU-2015:2292-1 |
| SLES 12 | kernel-docs | 3.12.51-52.31.5 | SUSE-SU-2015:2194-1 |
| SLES 12 | kernel-ec2 +5 | 3.12.51-52.31.1 | SUSE-SU-2015:2292-1, SUSE-SU-2015:2194-1 |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 12 SP1 | kernel-xen +3 | 3.12.51-60.20.2 | SUSE-SU-2015:2292-1 |
| SLES for SAP 12 | kernel-xen +3 | 3.12.51-52.31.1 | SUSE-SU-2015:2194-1 |
| SLE Live Patching 12 | kgraft-patch-SLE12-SP1_Update_0 | 2-5.1 | SUSE-SU-2016:0335-1 |
| SLE Live Patching 12 | kgraft-patch-SLE12-SP1_Update_1 | 1-4.1 | SUSE-SU-2015:2292-1 |
| SLE Live Patching 12 | kgraft-patch-SLE12_Update_1 +1 | 5-2.1 | SUSE-SU-2016:0434-1, SUSE-SU-2016:0384-1 |
| SLE Live Patching 12 | kgraft-patch-SLE12_Update_3 +2 | 4-2.1 | SUSE-SU-2016:0383-1, SUSE-SU-2016:0381-1, SUSE-SU-2016:0380-1 |
| SLE Live Patching 12 | kgraft-patch-SLE12_Update_6 +1 | 3-2.1 | SUSE-SU-2016:0387-1, SUSE-SU-2016:0386-1 |
| SLE Live Patching 12 | kgraft-patch-SLE12_Update_8 | 2-2.1 | SUSE-SU-2016:0337-1 |
| SLE Live Patching 12 | kgraft-patch-SLE12_Update_9 | 1-2.2 | SUSE-SU-2015:2194-1 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 7 | dtrace-modules-3.8.13-118.2.4.el6uek | 0.4.5-3.el6 | ELSA-2016-3501 |
| Oracle Linux 7 | dtrace-modules-3.8.13-118.2.4.el7uek | 0.4.5-3.el7 | ELSA-2016-3501 |
| Oracle Linux 7 | kernel-uek +5 | 3.8.13-118.2.4.el7uek | ELSA-2016-3501 |
| Oracle Linux 7 | perf +11 | 3.10.0-327.el7 | ELSA-2015-2152 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 1 repository
-
Kagami/docker_cve-2015-2925 ★ 11 · Jun 30, 2015
Docker + CVE-2015-2925 = escaping from --volume
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 22
- RHSA-2016:0068 Red Hat Security Advisory: kernel-rt security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2015:2636 Red Hat Security Advisory: kernel security and bug fix update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2015:2587 Red Hat Security Advisory: kernel security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2015:2411 Red Hat Security Advisory: kernel-rt security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2015:2152 Red Hat Security Advisory: kernel security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- USN-2794-1 linux vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- DLA-325-1 linux-2.6 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- USN-2797-1 linux-lts-utopic vulnerabilities Ubuntu Security Notices (USN) · Feb 10, 2026
- USN-2798-1 linux-lts-vivid vulnerabilities Ubuntu Security Notices (USN) · Feb 10, 2026
- SUSE-SU-2015:2194-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2016:0384-1 Security update for kernel live patch 2 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2016:0335-1 Security update for kernel live patch SP1 0 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2016:0383-1 Security update for kernel live patch 5 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2016:0387-1 Security update for kernel live patch 7 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2016:0434-1 Security update for kernel live patch 1 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2016:0386-1 Security update for kernel live patch 6 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2016:0337-1 Security update for kernel live patch 8 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2016:0381-1 Security update for kernel live patch 4 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2016:0380-1 Security update for kernel live patch 3 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2015:2292-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- ELSA-2016-3501 Important: Unbreakable Enterprise kernel security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Jan 8, 2016
- ELSA-2015-2152 Important: kernel security, bug fix, and enhancement update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Nov 24, 2015
References
- SUSE-SU-2015:2292 vendor-advisory
- RHSA-2015:2636 vendor-advisory
- DSA-3372 vendor-advisory
- [containers] 20150403 [PATCH review 17/19] vfs: Test for and handle paths that are unreachable from their mnt_root mailing-list
- RHSA-2016:0068 vendor-advisory
- http://pkgs.fedoraproject.org/cgit/kernel.git/commit/?h=f22&id=520b64102de2f184036024b2a53de2b67463bd78
- SUSE-SU-2016:0337 vendor-advisory
- USN-2792-1 vendor-advisory
- 73926 vdb-entry
- SUSE-SU-2016:0434 vendor-advisory
- DSA-3364 vendor-advisory
- USN-2794-1 vendor-advisory
- USN-2799-1 vendor-advisory
- USN-2795-1 vendor-advisory
- http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html
- SUSE-SU-2015:2194 vendor-advisory
- SUSE-SU-2016:0380 vendor-advisory
- SUSE-SU-2016:0335 vendor-advisory
- http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2015-2719645.html
- [containers] 20150403 [PATCH review 19/19] vfs: Do not allow escaping from bind mounts. mailing-list
- SUSE-SU-2016:0383 vendor-advisory
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=cde93be45a8a90d8c264c776fab63487b5038a65
- SUSE-SU-2016:0386 vendor-advisory
- [oss-security] 20150404 Re: Linux namespaces: It is possible to escape from bind mounts mailing-list
- http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.2.4
- https://bugzilla.redhat.com/show_bug.cgi?id=1209367
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=397d425dc26da728396e66d392d5dcb8dac30c37
- SUSE-SU-2016:0384 vendor-advisory
- https://github.com/torvalds/linux/commit/cde93be45a8a90d8c264c776fab63487b5038a65
- https://bugzilla.redhat.com/show_bug.cgi?id=1209373
- https://github.com/torvalds/linux/commit/397d425dc26da728396e66d392d5dcb8dac30c37
- SUSE-SU-2016:0387 vendor-advisory
- SUSE-SU-2016:0381 vendor-advisory
- USN-2798-1 vendor-advisory