Patchfirst
CVE-2016-5195 KEVPublic exploit High · 7.0 EPSS 83.5%

Linux Kernel Race Condition Vulnerability

Linux · Kernel

Summary

The Linux kernel's memory management code in mm/gup.c, in versions 2.x through 4.x before 4.8.3, contains a race condition in its handling of the copy-on-write (COW) feature. A local user with low privileges can exploit this to write to a read-only memory mapping and gain elevated privileges, requiring local access and an attacker who can run code on the system.

Official description · NVD

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

Breakdown
71.7 / 100
Exploited
Yes, in CISA KEV
Reports
1
Tactics
1/15

How an attack unfolds

Based on mappings. Select a step to see the evidence.
  1. What can follow

First seen exploited 23 days before it was disclosed. Public exploit code (Exploit-DB) was available 22 days before disclosure.

  1. First seen exploitedVulnCheck KEV evidence23 days before
  2. Public exploit codeExploit-DB22 days before
  3. Disclosedday 0
  4. Added to CISA KEVEU database agrees+5 yrs

CISA KEV listing is when exploitation was confirmed, not necessarily the first attack.

techniques

1 , grouped by in kill-chain order, 1 cited passage 1

Privilege EscalationTA0004

Exploitation for Privilege Escalation T1068 Medium
MITRE CTID mapping of the CVE · uncategorised

Detection

0 rules for this CVE · 31 general rules for its techniques

Rules for this CVE

0 that reference CVE-2016-5195 directly.

CVE-specific rules are not available in this build. Search SigmaHQ ↗

General rules for this CVE’s techniques

These detect the technique in general, not this specific vulnerability.

Sigma rules © SigmaHQ, Detection Rule License 1.1; linked, not reproduced.

What security researchers reported

Named in 1 threat report
1 reportweb-assets.esetstatic.com

Reports are matched by finding the exact id CVE-2016-5195 in their text; nobody has reviewed the match. One passage is shown per report, at most 320 characters, linked to the original.

Also mentioned in 50 community threat pulses (AlienVault OTX)

Weaker evidence

Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.

References

128 links, grouped by NVD tag (126 duplicates merged)

Third Party Advisory 91

fortiguard.com/advisory/FG-IR-16-063kb.juniper.net/InfoCenter/index?page=content&id=JSA10770kb.juniper.net/InfoCenter/index?page=content&id=JSA10774kb.juniper.net/InfoCenter/index?page=content&id=JSA10807lists.opensuse.org/opensuse-security-announce/2020-04/msg00041.htmlpacketstormsecurity.com/files/139277/Kernel-Live-Patch-Security-Notice-LSN-0012-1.htmlpacketstormsecurity.com/files/139286/DirtyCow-Linux-Kernel-Race-Condition.htmlpacketstormsecurity.com/files/139287/DirtyCow-Local-Root-Proof-Of-Concept.html
Show 83 moreShow fewerpacketstormsecurity.com/files/139922/Linux-Kernel-Dirty-COW-PTRACE_POKEDATA-Privilege-Escalation.htmlpacketstormsecurity.com/files/139923/Linux-Kernel-Dirty-COW-PTRACE_POKEDATA-Privilege-Escalation.htmlpacketstormsecurity.com/files/142151/Kernel-Live-Patch-Security-Notice-LSN-0021-1.htmlrhn.redhat.com/errata/RHSA-2016-2098.htmlrhn.redhat.com/errata/RHSA-2016-2105.htmlrhn.redhat.com/errata/RHSA-2016-2106.htmlrhn.redhat.com/errata/RHSA-2016-2107.htmlrhn.redhat.com/errata/RHSA-2016-2110.htmlrhn.redhat.com/errata/RHSA-2016-2118.htmlrhn.redhat.com/errata/RHSA-2016-2120.htmlrhn.redhat.com/errata/RHSA-2016-2124.htmlrhn.redhat.com/errata/RHSA-2016-2126.htmlrhn.redhat.com/errata/RHSA-2016-2127.htmlrhn.redhat.com/errata/RHSA-2016-2128.htmlrhn.redhat.com/errata/RHSA-2016-2132.htmlrhn.redhat.com/errata/RHSA-2016-2133.htmltools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20161026-linuxdebian.org/security/2016/dsa-3696huawei.com/en/psirt/security-advisories/huawei-sa-20161207-01-dirtycow-enopenwall.com/lists/oss-security/2016/10/21/1openwall.com/lists/oss-security/2016/10/26/7openwall.com/lists/oss-security/2016/10/27/13openwall.com/lists/oss-security/2016/10/30/1openwall.com/lists/oss-security/2016/11/03/7openwall.com/lists/oss-security/2022/03/07/1openwall.com/lists/oss-security/2022/08/08/1openwall.com/lists/oss-security/2022/08/08/2openwall.com/lists/oss-security/2022/08/08/7openwall.com/lists/oss-security/2022/08/08/8openwall.com/lists/oss-security/2022/08/09/4openwall.com/lists/oss-security/2022/08/15/1securityfocus.com/archive/1/539611/100/0/threadedsecurityfocus.com/archive/1/540252/100/0/threadedsecurityfocus.com/archive/1/540344/100/0/threadedsecurityfocus.com/archive/1/540736/100/0/threadedsecurityfocus.com/archive/1/archive/1/539611/100/0/threadedsecurityfocus.com/archive/1/archive/1/540252/100/0/threadedsecurityfocus.com/archive/1/archive/1/540344/100/0/threadedsecurityfocus.com/archive/1/archive/1/540736/100/0/threadedsecurityfocus.com/bid/93793securitytracker.com/id/1037078ubuntu.com/usn/USN-3104-1ubuntu.com/usn/USN-3104-2ubuntu.com/usn/USN-3105-1ubuntu.com/usn/USN-3105-2ubuntu.com/usn/USN-3106-1ubuntu.com/usn/USN-3106-2ubuntu.com/usn/USN-3106-3ubuntu.com/usn/USN-3106-4ubuntu.com/usn/USN-3107-1ubuntu.com/usn/USN-3107-2access.redhat.com/errata/RHSA-2017:0372access.redhat.com/security/cve/cve-2016-5195access.redhat.com/security/vulnerabilities/2706661bto.bluecoat.com/security-advisory/sa134dirtycow.ninjagithub.com/dirtycow/dirtycow.github.io/wiki/PoCsgithub.com/dirtycow/dirtycow.github.io/wiki/VulnerabilityDetailsh20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-c05352241h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbgn03707en_ush20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbgn03722en_ush20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbgn03742en_ush20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbgn03761en_ush20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05341463h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05347541h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05352241help.ecostruxureit.com/display/public/UADCO8x/StruxureWare+Data+Center+Operation+Software+Vulnerability+Fixeskc.mcafee.com/corporate/index?page=content&id=SB10176kc.mcafee.com/corporate/index?page=content&id=SB10177kc.mcafee.com/corporate/index?page=content&id=SB10222people.canonical.com/~ubuntu-security/cve/2016/CVE-2016-5195.htmlsecurity-tracker.debian.org/tracker/CVE-2016-5195security.netapp.com/advisory/ntap-20161025-0001/security.paloaltonetworks.com/CVE-2016-5195source.android.com/security/bulletin/2016-11-01.htmlsource.android.com/security/bulletin/2016-12-01.htmltools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20181107-vcsdarista.com/en/support/advisories-notices/security-advisories/1753-security-advisory-0026exploit-db.com/exploits/40611/exploit-db.com/exploits/40616/exploit-db.com/exploits/40839/exploit-db.com/exploits/40847/seclists.org/fulldisclosure/2024/Aug/35

Mailing List 26

lists.opensuse.org/opensuse-security-announce/2016-10/msg00034.htmllists.opensuse.org/opensuse-security-announce/2016-10/msg00035.htmllists.opensuse.org/opensuse-security-announce/2016-10/msg00036.htmllists.opensuse.org/opensuse-security-announce/2016-10/msg00038.htmllists.opensuse.org/opensuse-security-announce/2016-10/msg00039.htmllists.opensuse.org/opensuse-security-announce/2016-10/msg00040.htmllists.opensuse.org/opensuse-security-announce/2016-10/msg00045.htmllists.opensuse.org/opensuse-security-announce/2016-10/msg00048.html
Show 18 moreShow fewerlists.opensuse.org/opensuse-security-announce/2016-10/msg00049.htmllists.opensuse.org/opensuse-security-announce/2016-10/msg00050.htmllists.opensuse.org/opensuse-security-announce/2016-10/msg00051.htmllists.opensuse.org/opensuse-security-announce/2016-10/msg00052.htmllists.opensuse.org/opensuse-security-announce/2016-10/msg00053.htmllists.opensuse.org/opensuse-security-announce/2016-10/msg00054.htmllists.opensuse.org/opensuse-security-announce/2016-10/msg00055.htmllists.opensuse.org/opensuse-security-announce/2016-10/msg00056.htmllists.opensuse.org/opensuse-security-announce/2016-10/msg00057.htmllists.opensuse.org/opensuse-security-announce/2016-10/msg00058.htmllists.opensuse.org/opensuse-security-announce/2016-10/msg00063.htmllists.opensuse.org/opensuse-security-announce/2016-10/msg00064.htmllists.opensuse.org/opensuse-security-announce/2016-10/msg00065.htmllists.opensuse.org/opensuse-security-announce/2016-10/msg00066.htmllists.opensuse.org/opensuse-security-announce/2016-10/msg00067.htmllists.opensuse.org/opensuse-security-announce/2016-10/msg00072.htmllists.opensuse.org/opensuse-security-announce/2016-12/msg00033.htmllists.opensuse.org/opensuse-security-announce/2016-12/msg00100.html
↑ ↓ chooseEnter openEsc close