CVE-2015-2925

MEDIUM

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

References

http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=397d425dc26da728396e66d392d5dcb8dac30c37

http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=cde93be45a8a90d8c264c776fab63487b5038a65

http://lists.opensuse.org/opensuse-security-announce/2015-12/msg00005.html

http://lists.opensuse.org/opensuse-security-announce/2015-12/msg00018.html

http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00007.html

http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00009.html

http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00017.html

http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00018.html

http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00019.html

http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00020.html

http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00021.html

http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00022.html

http://lists.opensuse.org/opensuse-security-announce/2016-02/msg00034.html

http://permalink.gmane.org/gmane.linux.kernel.containers/29173

http://permalink.gmane.org/gmane.linux.kernel.containers/29177

http://pkgs.fedoraproject.org/cgit/kernel.git/commit/?h=f22&id=520b64102de2f184036024b2a53de2b67463bd78

http://rhn.redhat.com/errata/RHSA-2015-2636.html

http://rhn.redhat.com/errata/RHSA-2016-0068.html

http://www.debian.org/security/2015/dsa-3364

http://www.debian.org/security/2015/dsa-3372

http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.2.4

http://www.openwall.com/lists/oss-security/2015/04/04/4

http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html

http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2015-2719645.html

http://www.securityfocus.com/bid/73926

http://www.ubuntu.com/usn/USN-2792-1

http://www.ubuntu.com/usn/USN-2794-1

http://www.ubuntu.com/usn/USN-2795-1

http://www.ubuntu.com/usn/USN-2798-1

http://www.ubuntu.com/usn/USN-2799-1

https://bugzilla.redhat.com/show_bug.cgi?id=1209367

https://bugzilla.redhat.com/show_bug.cgi?id=1209373

https://github.com/torvalds/linux/commit/397d425dc26da728396e66d392d5dcb8dac30c37

https://github.com/torvalds/linux/commit/cde93be45a8a90d8c264c776fab63487b5038a65

Details

Source: MITRE

Published: 2015-11-16

Updated: 2018-01-05

Type: CWE-254

Risk Information

CVSS v2.0

Base Score: 6.9

Vector: AV:L/AC:M/Au:N/C:C/I:C/A:C

Impact Score: 10

Exploitability Score: 3.4

Severity: MEDIUM