Back

MEDIUM

Kernel: vfs: Do not allow escaping from bind mounts

Published Nov 16, 2015

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

Affected products

Remediation

Red Hat 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 of Linux kernel as shipped with Red Hat Enterprise Linux 6 and 7 and Red Hat Enterprise MRG 2. Future kernel updates for the respective releases may address this issue.

Metrics

Weaknesses (1)

References (37)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner mitre
Published Nov 16, 2015
Updated Aug 6, 2024
Reserved Apr 4, 2015
NVD
Status Modified
Modified Jun 17, 2026
Red Hat
Severity Important
Public date Apr 3, 2015