Skip to content
OpenAdvisories

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.

ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS linux-azure-fde-5.15 No fix yet —
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
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

ReleasePackageFixed inAdvisory
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.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 22

References