CVEdetails.com the ultimate security vulnerability data source
(e.g.: CVE-2009-1234 or 2010-1234 or 20101234)
Log In   Register
  Take a third party risk management course for FREE
Vulnerability Feeds & WidgetsNew   

Vulnerability Details : CVE-2016-5195

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."
Publish Date : 2016-11-10 Last Update Date : 2023-01-17
Search Twitter   Search YouTube   Search Google

- CVSS Scores & Vulnerability Types

CVSS Score
7.2
Confidentiality Impact Complete (There is total information disclosure, resulting in all system files being revealed.)
Integrity Impact Complete (There is a total compromise of system integrity. There is a complete loss of system protection, resulting in the entire system being compromised.)
Availability Impact Complete (There is a total shutdown of the affected resource. The attacker can render the resource completely unavailable.)
Access Complexity Low (Specialized access conditions or extenuating circumstances do not exist. Very little knowledge or skill is required to exploit. )
Authentication Not required (Authentication is not required to exploit the vulnerability.)
Gained Access None
Vulnerability Type(s) Gain privileges
CWE ID 362

- Related OVAL Definitions

Title Definition Id Class Family
RHSA-2016:2098: kernel security update (Important) oval:com.redhat.rhsa:def:20162098 unix
RHSA-2016:2105: kernel security update (Important) oval:com.redhat.rhsa:def:20162105 unix
RHSA-2016:2110: kernel-rt security update (Important) oval:com.redhat.rhsa:def:20162110 unix
RHSA-2016:2124: kernel security and bug fix update (Important) oval:com.redhat.rhsa:def:20162124 unix
RHSA-2017:0372: kernel-aarch64 security and bug fix update (Important) oval:com.redhat.rhsa:def:20170372 unix
OVAL (Open Vulnerability and Assessment Language) definitions define exactly what should be done to verify a vulnerability or a missing patch. Check out the OVAL definitions if you want to learn what you should do to verify a vulnerability.

- Products Affected By CVE-2016-5195

# Product Type Vendor Product Version Update Edition Language
1 OS Canonical Ubuntu Linux 12.04 * * * Version Details Vulnerabilities
2 OS Canonical Ubuntu Linux 14.04 * * * Version Details Vulnerabilities
3 OS Canonical Ubuntu Linux 16.04 * * * Version Details Vulnerabilities
4 OS Canonical Ubuntu Linux 16.10 * * * Version Details Vulnerabilities
5 OS Debian Debian Linux 7.0 * * * Version Details Vulnerabilities
6 OS Debian Debian Linux 8.0 * * * Version Details Vulnerabilities
7 OS Linux Linux Kernel * * * * Version Details Vulnerabilities
8 OS Redhat Enterprise Linux 5 * * * Version Details Vulnerabilities
9 OS Redhat Enterprise Linux 6.0 * * * Version Details Vulnerabilities
10 OS Redhat Enterprise Linux 7.0 * * * Version Details Vulnerabilities
11 OS Redhat Enterprise Linux Aus 6.2 * * * Version Details Vulnerabilities
12 OS Redhat Enterprise Linux Aus 6.4 * * * Version Details Vulnerabilities
13 OS Redhat Enterprise Linux Aus 6.5 * * * Version Details Vulnerabilities
14 OS Redhat Enterprise Linux Eus 6.6 * * * Version Details Vulnerabilities
15 OS Redhat Enterprise Linux Eus 6.7 * * * Version Details Vulnerabilities
16 OS Redhat Enterprise Linux Eus 7.1 * * * Version Details Vulnerabilities
17 OS Redhat Enterprise Linux Long Life 5.6 * * * Version Details Vulnerabilities
18 OS Redhat Enterprise Linux Long Life 5.9 * * * Version Details Vulnerabilities
19 OS Redhat Enterprise Linux Tus 6.5 * * * Version Details Vulnerabilities

- Number Of Affected Versions By Product

Vendor Product Vulnerable Versions
Canonical Ubuntu Linux 4
Debian Debian Linux 2
Linux Linux Kernel 1
Redhat Enterprise Linux 3
Redhat Enterprise Linux Aus 3
Redhat Enterprise Linux Eus 3
Redhat Enterprise Linux Long Life 2
Redhat Enterprise Linux Tus 1

- References For CVE-2016-5195

https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05347541 CONFIRM
http://www.openwall.com/lists/oss-security/2022/08/15/1
MLIST [oss-security] 20220815 Re: CVE-2022-2590: Linux kernel: Modifying shmem/tmpfs files without write permissions
http://www.openwall.com/lists/oss-security/2022/08/08/8
MLIST [oss-security] 20220808 Re: CVE-2022-2590: Linux kernel: Modifying shmem/tmpfs files without write permissions
http://www.openwall.com/lists/oss-security/2022/08/09/4
MLIST [oss-security] 20220809 Re: CVE-2022-2590: Linux kernel: Modifying shmem/tmpfs files without write permissions
http://www.openwall.com/lists/oss-security/2022/08/08/1
MLIST [oss-security] 20220808 CVE-2022-2590: Linux kernel: Modifying shmem/tmpfs files without write permissions
http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00045.html
SUSE SUSE-SU-2016:2614
http://www.openwall.com/lists/oss-security/2016/10/27/13
MLIST [oss-security] 20161027 CVE-2016-5195 test case
http://www.ubuntu.com/usn/USN-3107-1
UBUNTU USN-3107-1
http://www.securityfocus.com/archive/1/archive/1/540252/100/0/threaded
BUGTRAQ 20170310 [security bulletin] HPESBGN03707 rev.1 - HPE ConvergedSystem 700 2.0 VMware Kit, Remote Increase of Privilege
http://www.openwall.com/lists/oss-security/2022/08/08/7
MLIST [oss-security] 20220808 Re: CVE-2022-2590: Linux kernel: Modifying shmem/tmpfs files without write permissions
http://www.openwall.com/lists/oss-security/2022/08/08/2
MLIST [oss-security] 20220808 Re: CVE-2022-2590: Linux kernel: Modifying shmem/tmpfs files without write permissions
http://www.openwall.com/lists/oss-security/2022/03/07/1
MLIST [oss-security] 20220307 CVE-2022-0847: Linux kernel: overwriting read-only files
http://www.huawei.com/en/psirt/security-advisories/huawei-sa-20161207-01-dirtycow-en CONFIRM
http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00058.html
SUSE SUSE-SU-2016:2638
http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00067.html
SUSE SUSE-SU-2016:2659
https://h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-c05352241 CONFIRM
https://www.arista.com/en/support/advisories-notices/security-advisories/1753-security-advisory-0026
http://www.ubuntu.com/usn/USN-3106-2
UBUNTU USN-3106-2
http://www.ubuntu.com/usn/USN-3107-2
UBUNTU USN-3107-2
http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00064.html
SUSE SUSE-SU-2016:2655
http://www.securityfocus.com/archive/1/archive/1/540344/100/0/threaded
BUGTRAQ 20170331 [security bulletin] HPESBGN03722 rev.1 - HPE Operations Agent, Local Escalation of Privilege
http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00039.html
SUSE SUSE-SU-2016:2593
http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10770 CONFIRM
http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00052.html
SUSE SUSE-SU-2016:2632
http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10774 CONFIRM
http://www.securityfocus.com/archive/1/archive/1/540736/100/0/threaded
BUGTRAQ 20170615 [security bulletin] HPESBGN03761 rev.1 - HPE Virtualization Performance Viewer (VPV)/ Cloud Optimizer using Linux, Remote Escalation of Privilege
https://lists.fedoraproject.org/archives/list/[email protected]/message/E7M62SRP6CZLJ4ZXCRZKV4WPLQBSR7DT/
FEDORA FEDORA-2016-db4b75b352
http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10807 CONFIRM
http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00048.html
SUSE openSUSE-SU-2016:2625
http://packetstormsecurity.com/files/139923/Linux-Kernel-Dirty-COW-PTRACE_POKEDATA-Privilege-Escalation.html
http://www.securityfocus.com/archive/1/540252/100/0/threaded
BUGTRAQ 20170310 [security bulletin] HPESBGN03707 rev.1 - HPE ConvergedSystem 700 2.0 VMware Kit, Remote Increase of Privilege
http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00035.html
SUSE openSUSE-SU-2016:2584
http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00057.html
SUSE SUSE-SU-2016:2637
http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00051.html
SUSE SUSE-SU-2016:2631
http://www.openwall.com/lists/oss-security/2016/10/21/1
MLIST [oss-security] 20161021 CVE-2016-5195 "Dirty COW" Linux kernel privilege escalation vulnerability
http://www.securityfocus.com/archive/1/archive/1/539611/100/0/threaded
BUGTRAQ 20161020 [CVE-2016-5195] "Dirty COW" Linux privilege escalation vulnerability
http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00066.html
SUSE SUSE-SU-2016:2658
https://lists.fedoraproject.org/archives/list/[email protected]/message/NWMDLBWMGZKFHMRJ7QUQVCERP5QHDB6W/
FEDORA FEDORA-2016-c8a0c7eece
http://www.securityfocus.com/archive/1/539611/100/0/threaded
BUGTRAQ 20161020 [CVE-2016-5195] "Dirty COW" Linux privilege escalation vulnerability
http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00033.html
SUSE SUSE-SU-2016:3069
http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00072.html
SUSE SUSE-SU-2016:2673
https://lists.fedoraproject.org/archives/list/[email protected]/message/W3APRVDVPDBXLH4DC5UKZVCR742MJIM3/
FEDORA FEDORA-2016-c3558808cd
http://packetstormsecurity.com/files/139922/Linux-Kernel-Dirty-COW-PTRACE_POKEDATA-Privilege-Escalation.html
http://www.ubuntu.com/usn/USN-3106-1
UBUNTU USN-3106-1
http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00038.html
SUSE SUSE-SU-2016:2592
http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00049.html
SUSE SUSE-SU-2016:2629
http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00055.html
SUSE SUSE-SU-2016:2635
http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00036.html
SUSE SUSE-SU-2016:2585
http://www.ubuntu.com/usn/USN-3106-4
UBUNTU USN-3106-4
http://www.ubuntu.com/usn/USN-3106-3
UBUNTU USN-3106-3
http://www.openwall.com/lists/oss-security/2016/10/30/1
MLIST [oss-security] 20161030 Re: CVE-2016-5195 test case
http://www.securityfocus.com/archive/1/540736/100/0/threaded
BUGTRAQ 20170615 [security bulletin] HPESBGN03761 rev.1 - HPE Virtualization Performance Viewer (VPV)/ Cloud Optimizer using Linux, Remote Escalation of Privilege
http://packetstormsecurity.com/files/142151/Kernel-Live-Patch-Security-Notice-LSN-0021-1.html
http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00040.html
SUSE SUSE-SU-2016:2596
http://www.openwall.com/lists/oss-security/2016/11/03/7
MLIST [oss-security] 20161103 Re: CVE-2016-5195 "Dirty COW" Linux kernel privilege escalation vulnerability
http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00056.html
SUSE SUSE-SU-2016:2636
https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20181107-vcsd
CISCO 20181107 Cisco TelePresence Video Communication Server Test Validation Script Issue
http://packetstormsecurity.com/files/139287/DirtyCow-Local-Root-Proof-Of-Concept.html
http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00034.html
SUSE openSUSE-SU-2016:2583
http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00050.html
SUSE SUSE-SU-2016:2630
http://www.ubuntu.com/usn/USN-3105-1
UBUNTU USN-3105-1
http://www.ubuntu.com/usn/USN-3105-2
UBUNTU USN-3105-2
http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00054.html
SUSE SUSE-SU-2016:2634
https://kc.mcafee.com/corporate/index?page=content&id=SB10177 CONFIRM
http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00053.html
SUSE SUSE-SU-2016:2633
http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00065.html
SUSE SUSE-SU-2016:2657
http://www.ubuntu.com/usn/USN-3104-2
UBUNTU USN-3104-2
http://www.ubuntu.com/usn/USN-3104-1
UBUNTU USN-3104-1
https://kc.mcafee.com/corporate/index?page=content&id=SB10222 CONFIRM
http://packetstormsecurity.com/files/139286/DirtyCow-Linux-Kernel-Race-Condition.html
http://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20161026-linux
CISCO 20161026 Vulnerability in Linux Kernel Affecting Cisco Products: October 2016
http://fortiguard.com/advisory/FG-IR-16-063 CONFIRM
http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00100.html
SUSE SUSE-SU-2016:3304
http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00063.html
SUSE openSUSE-SU-2016:2649
http://www.securityfocus.com/archive/1/540344/100/0/threaded
BUGTRAQ 20170331 [security bulletin] HPESBGN03722 rev.1 - HPE Operations Agent, Local Escalation of Privilege
http://www.debian.org/security/2016/dsa-3696
DEBIAN DSA-3696
http://packetstormsecurity.com/files/139277/Kernel-Live-Patch-Security-Notice-LSN-0012-1.html
http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00041.html
SUSE openSUSE-SU-2020:0554
http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html CONFIRM
https://help.ecostruxureit.com/display/public/UADCO8x/StruxureWare+Data+Center+Operation+Software+Vulnerability+Fixes CONFIRM
https://security.paloaltonetworks.com/CVE-2016-5195 CONFIRM
http://rhn.redhat.com/errata/RHSA-2016-2098.html
REDHAT RHSA-2016:2098
http://rhn.redhat.com/errata/RHSA-2016-2105.html
REDHAT RHSA-2016:2105
http://rhn.redhat.com/errata/RHSA-2016-2106.html
REDHAT RHSA-2016:2106
http://rhn.redhat.com/errata/RHSA-2016-2107.html
REDHAT RHSA-2016:2107
http://rhn.redhat.com/errata/RHSA-2016-2110.html
REDHAT RHSA-2016:2110
http://rhn.redhat.com/errata/RHSA-2016-2118.html
REDHAT RHSA-2016:2118
http://rhn.redhat.com/errata/RHSA-2016-2120.html
REDHAT RHSA-2016:2120
http://rhn.redhat.com/errata/RHSA-2016-2124.html
REDHAT RHSA-2016:2124
http://rhn.redhat.com/errata/RHSA-2016-2126.html
REDHAT RHSA-2016:2126
http://rhn.redhat.com/errata/RHSA-2016-2127.html
REDHAT RHSA-2016:2127
https://security.netapp.com/advisory/ntap-20161025-0001/ CONFIRM
https://access.redhat.com/errata/RHSA-2017:0372
REDHAT RHSA-2017:0372
http://rhn.redhat.com/errata/RHSA-2016-2133.html
REDHAT RHSA-2016:2133
http://rhn.redhat.com/errata/RHSA-2016-2132.html
REDHAT RHSA-2016:2132
http://rhn.redhat.com/errata/RHSA-2016-2128.html
REDHAT RHSA-2016:2128
https://h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbgn03707en_us CONFIRM
https://h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbgn03742en_us CONFIRM
https://h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbgn03761en_us CONFIRM
http://www.securitytracker.com/id/1037078
SECTRACK 1037078
https://www.exploit-db.com/exploits/40616/
EXPLOIT-DB 40616
https://www.exploit-db.com/exploits/40611/
EXPLOIT-DB 40611
https://www.exploit-db.com/exploits/40847/
EXPLOIT-DB 40847
https://www.exploit-db.com/exploits/40839/
EXPLOIT-DB 40839
https://kc.mcafee.com/corporate/index?page=content&id=SB10176 CONFIRM
https://security-tracker.debian.org/tracker/CVE-2016-5195 CONFIRM
https://github.com/dirtycow/dirtycow.github.io/wiki/PoCs
https://github.com/torvalds/linux/commit/19be0eaffa3ac7d8eb6784ad9bdbc7d67ed8e619 CONFIRM
https://bugzilla.suse.com/show_bug.cgi?id=1004418 CONFIRM
https://bugzilla.redhat.com/show_bug.cgi?id=1384344 CONFIRM
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=19be0eaffa3ac7d8eb6784ad9bdbc7d67ed8e619 CONFIRM
http://www.openwall.com/lists/oss-security/2016/10/26/7
MLIST [oss-security] 20161026 Re: CVE-2016-5195 "Dirty COW" Linux kernel privilege escalation vulnerability
https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05341463 CONFIRM
https://source.android.com/security/bulletin/2016-12-01.html CONFIRM
http://www.securityfocus.com/bid/93793
BID 93793 Linux Kernel CVE-2016-5195 Local Privilege Escalation Vulnerability Release Date:2017-12-05
https://source.android.com/security/bulletin/2016-11-01.html CONFIRM
https://bto.bluecoat.com/security-advisory/sa134 CONFIRM
https://h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbgn03722en_us CONFIRM
https://access.redhat.com/security/vulnerabilities/2706661 CONFIRM
https://www.kb.cert.org/vuls/id/243144
CERT-VN VU#243144
https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05352241 CONFIRM
https://people.canonical.com/~ubuntu-security/cve/2016/CVE-2016-5195.html CONFIRM
https://github.com/dirtycow/dirtycow.github.io/wiki/VulnerabilityDetails
https://access.redhat.com/security/cve/cve-2016-5195 CONFIRM
https://dirtycow.ninja
http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.8.3 CONFIRM

- Metasploit Modules Related To CVE-2016-5195

There are not any metasploit modules related to this CVE entry (Please visit www.metasploit.com for more information)


CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site. OVAL is a registered trademark of The MITRE Corporation and the authoritative source of OVAL content is MITRE's OVAL web site.
Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.