CVE-2015-2925

high

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

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

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

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

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

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

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

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

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

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

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

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

http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Details

Source: Mitre, NVD

Published: 2015-11-16

Updated: 2024-07-17

Risk Information

CVSS v2

Base Score: 6.9

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

Severity: Medium

CVSS v3

Base Score: 7.8

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Severity: High