CVE-2016-5195

high

Description

Race condition in mm/gup.c in the Linux kernel 2.x through 4.x before 4.8.3 allows local users to gain privileges by leveraging incorrect handling of a copy-on-write (COW) feature to write to a read-only memory mapping, as exploited in the wild in October 2016, aka "Dirty COW."

References

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

https://dirtycow.ninja

https://security-tracker.debian.org/tracker/CVE-2016-5195

https://access.redhat.com/security/cve/cve-2016-5195

https://github.com/dirtycow/dirtycow.github.io/wiki/VulnerabilityDetails

https://people.canonical.com/~ubuntu-security/cve/2016/CVE-2016-5195.html

https://github.com/dirtycow/dirtycow.github.io/wiki/PoCs

https://github.com/torvalds/linux/commit/19be0eaffa3ac7d8eb6784ad9bdbc7d67ed8e619

https://bugzilla.suse.com/show_bug.cgi?id=1004418

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

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

http://www.openwall.com/lists/oss-security/2016/10/26/7

https://access.redhat.com/security/vulnerabilities/2706661

https://www.kb.cert.org/vuls/id/243144

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

https://source.android.com/security/bulletin/2016-11-01.html

https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05341463

https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05347541

https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05352241

https://www.exploit-db.com/exploits/40847/

https://www.exploit-db.com/exploits/40839/

https://kc.mcafee.com/corporate/index?page=content&id=SB10176

https://bto.bluecoat.com/security-advisory/sa134

https://source.android.com/security/bulletin/2016-12-01.html

https://h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbgn03722en_us

https://h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbgn03707en_us

https://h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbgn03742en_us

https://h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbgn03761en_us

http://www.securitytracker.com/id/1037078

https://www.exploit-db.com/exploits/40616/

https://www.exploit-db.com/exploits/40611/

https://security.netapp.com/advisory/ntap-20161025-0001/

https://access.redhat.com/errata/RHSA-2017:0372

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

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

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

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

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

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

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

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

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

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

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

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

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

http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html

https://help.ecostruxureit.com/display/public/UADCO8x/StruxureWare+Data+Center+Operation+Software+Vulnerability+Fixes

https://security.paloaltonetworks.com/CVE-2016-5195

http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00041.html

http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00063.html

http://www.securityfocus.com/archive/1/540344/100/0/threaded

http://www.debian.org/security/2016/dsa-3696

http://packetstormsecurity.com/files/139277/Kernel-Live-Patch-Security-Notice-LSN-0012-1.html

http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00100.html

http://fortiguard.com/advisory/FG-IR-16-063

http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00065.html

http://www.ubuntu.com/usn/USN-3104-2

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

https://kc.mcafee.com/corporate/index?page=content&id=SB10222

http://packetstormsecurity.com/files/139286/DirtyCow-Linux-Kernel-Race-Condition.html

http://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20161026-linux

http://www.openwall.com/lists/oss-security/2016/10/21/1

http://www.securityfocus.com/archive/1/archive/1/539611/100/0/threaded

http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00066.html

https://lists.fedoraproject.org/archives/list/[email protected]/message/NWMDLBWMGZKFHMRJ7QUQVCERP5QHDB6W/

http://www.securityfocus.com/archive/1/539611/100/0/threaded

http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00033.html

http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00072.html

https://lists.fedoraproject.org/archives/list/[email protected]/message/W3APRVDVPDBXLH4DC5UKZVCR742MJIM3/

http://packetstormsecurity.com/files/139922/Linux-Kernel-Dirty-COW-PTRACE_POKEDATA-Privilege-Escalation.html

http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00053.html

https://kc.mcafee.com/corporate/index?page=content&id=SB10177

http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00056.html

https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20181107-vcsd

http://packetstormsecurity.com/files/139287/DirtyCow-Local-Root-Proof-Of-Concept.html

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

http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00050.html

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

http://www.ubuntu.com/usn/USN-3105-2

http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00054.html

http://www.openwall.com/lists/oss-security/2016/11/03/7

http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00040.html

http://packetstormsecurity.com/files/142151/Kernel-Live-Patch-Security-Notice-LSN-0021-1.html

http://www.securityfocus.com/archive/1/540736/100/0/threaded

http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00055.html

http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00036.html

http://www.ubuntu.com/usn/USN-3106-4

http://www.ubuntu.com/usn/USN-3106-3

http://www.openwall.com/lists/oss-security/2016/10/30/1

http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00038.html

http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00049.html

https://www.arista.com/en/support/advisories-notices/security-advisories/1753-security-advisory-0026

http://www.ubuntu.com/usn/USN-3106-2

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

http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00057.html

http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00051.html

http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00035.html

http://www.securityfocus.com/archive/1/540252/100/0/threaded

http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00048.html

http://packetstormsecurity.com/files/139923/Linux-Kernel-Dirty-COW-PTRACE_POKEDATA-Privilege-Escalation.html

http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10807

https://lists.fedoraproject.org/archives/list/[email protected]/message/E7M62SRP6CZLJ4ZXCRZKV4WPLQBSR7DT/

http://www.securityfocus.com/archive/1/archive/1/540736/100/0/threaded

http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00052.html

http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10774

http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00039.html

http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10770

http://www.securityfocus.com/archive/1/archive/1/540344/100/0/threaded

http://www.huawei.com/en/psirt/security-advisories/huawei-sa-20161207-01-dirtycow-en

http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00058.html

http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00067.html

https://h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-c05352241

http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00064.html

http://www.ubuntu.com/usn/USN-3107-2

http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00045.html

http://www.openwall.com/lists/oss-security/2016/10/27/13

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

http://www.securityfocus.com/archive/1/archive/1/540252/100/0/threaded

http://www.openwall.com/lists/oss-security/2022/03/07/1

http://www.openwall.com/lists/oss-security/2022/08/08/2

http://www.openwall.com/lists/oss-security/2022/08/08/7

http://www.openwall.com/lists/oss-security/2022/08/08/1

http://www.openwall.com/lists/oss-security/2022/08/08/8

http://www.openwall.com/lists/oss-security/2022/08/09/4

http://www.openwall.com/lists/oss-security/2022/08/15/1

Details

Source: MITRE

Published: 2016-11-10

Updated: 2022-08-15

Type: CWE-362

Risk Information

CVSS v2

Base Score: 7.2

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

Impact Score: 10

Exploitability Score: 3.9

Severity: HIGH

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

Impact Score: 5.9

Exploitability Score: 1.8

Severity: HIGH