← Vulnerability feed

Vulnerability record · CVE-2016-5195 · published 10 November 2016

CVE-2016-5195: Linux Kernel Dirty COW Race Condition Privilege Escalation

Canonical · Ubuntu Linux

A race condition in the Linux kernel's mm/gup.c mishandles copy-on-write, letting a local user write to read-only memory mappings. This breaks the read-only guarantee of files such as /etc/passwd and enables privilege escalation. It affects Linux kernel 2.x through 4.x before 4.8.3 and was exploited in the wild in October 2016.

7.0 CVSS 3.1 High CISA KEV since 3 Mar 2022 EPSS 84% · top 0.3% CWE-362 · Race condition
7.0CVSS 3.1 base score, v2 7.2
84%EPSS exploitation probability, 30 days
YesIn CISA KEV, fix deadline passed
18Affected product versions listed by NVD
254References, 20 tagged exploit
17 Jun 2026Last modified by NVD

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

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

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 17 September 2026. Confidence: high.

critical priorityIt is in CISA KEV with confirmed in-the-wild exploitation, has a very high EPSS score, and grants root on unpatched Linux hosts.

What it is

A race condition in the Linux kernel's mm/gup.c mishandles copy-on-write, letting a local user write to read-only memory mappings. This breaks the read-only guarantee of files such as /etc/passwd and enables privilege escalation. It affects Linux kernel 2.x through 4.x before 4.8.3 and was exploited in the wild in October 2016.

Impact

An attacker with local access gains write access to otherwise read-only files and can escalate to root. That yields full control of the affected host.

Attack surface

Reached locally by any user who can run code on the system; the CVSS vector is AV:L/PR:L/UI:N, so low privileges are required and no user interaction is needed. No network vector is described.

Exploitation

It is listed in CISA KEV (added 2022-03-03) and the description states it was exploited in the wild in October 2016. EPSS is 0.83524 (99.667th percentile), indicating high predicted exploitation activity.

What to do

  • Patch the Linux kernel to 4.8.3 or later, or apply the vendor kernel update for your distribution.
  • Apply the referenced kernel commit (19be0eaffa3ac7d8eb6784ad9bdbc7d67ed8e619) where backporting is required.
  • Update affected vendor products (Ubuntu, RHEL, Debian, Fedora, PAN-OS, NetApp) per their advisories.
  • Restrict local shell and code execution to trusted users to reduce exposure until patching completes.
  • Verify kernel versions across servers, containers and appliances, since the flaw spans kernel 2.x through 4.x.

Detection

  • Monitor for unexpected writes to read-only files such as /etc/passwd, /etc/shadow and SUID binaries.
  • Alert on privilege escalation or new root processes spawned by unprivileged users.
  • Track kernel version inventory and flag hosts still running kernels before 4.8.3.
  • Watch for known Dirty COW exploit binaries or compilation activity on hosts.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Exploitation in the wild

CISA added CVE-2016-5195 to the Known Exploited Vulnerabilities catalog on 3 March 2022 as "Linux Kernel Race Condition Vulnerability". Required action: Apply updates per vendor instructions. Federal deadline 24 March 2022.

Affected products

18 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://fortiguard.com/advisory/FG-IR-16-063 Third Party Advisory
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=19be0eaffa3ac7d8eb6784ad9bdbc7d67ed8e619 Issue TrackingPatchVendor Advisory
http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10770 Third Party Advisory
http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10774 Third Party Advisory
http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10807 Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00034.html Mailing List
http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00035.html Mailing List
http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00036.html Mailing List
http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00038.html Mailing List
http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00039.html Mailing List
http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00040.html Mailing List
http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00045.html Mailing List
http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00048.html Mailing List
http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00049.html Mailing List
http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00050.html Mailing List
http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00051.html Mailing List
http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00052.html Mailing List
http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00053.html Mailing List
http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00054.html Mailing List
http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00055.html Mailing List
http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00056.html Mailing List
http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00057.html Mailing List
http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00058.html Mailing List
http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00063.html Mailing List
http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00064.html Mailing List
http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00065.html Mailing List
http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00066.html Mailing List
http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00067.html Mailing List
http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00072.html Mailing List
http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00033.html Mailing List
http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00100.html Mailing List
http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00041.html Third Party Advisory
http://packetstormsecurity.com/files/139277/Kernel-Live-Patch-Security-Notice-LSN-0012-1.html ExploitThird Party AdvisoryVDB Entry
http://packetstormsecurity.com/files/139286/DirtyCow-Linux-Kernel-Race-Condition.html ExploitThird Party AdvisoryVDB Entry
http://packetstormsecurity.com/files/139287/DirtyCow-Local-Root-Proof-Of-Concept.html ExploitThird Party AdvisoryVDB Entry
http://packetstormsecurity.com/files/139922/Linux-Kernel-Dirty-COW-PTRACE_POKEDATA-Privilege-Escalation.html ExploitThird Party AdvisoryVDB Entry
http://packetstormsecurity.com/files/139923/Linux-Kernel-Dirty-COW-PTRACE_POKEDATA-Privilege-Escalation.html ExploitThird Party AdvisoryVDB Entry
http://packetstormsecurity.com/files/142151/Kernel-Live-Patch-Security-Notice-LSN-0021-1.html Third Party AdvisoryVDB Entry
http://rhn.redhat.com/errata/RHSA-2016-2098.html Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-2105.html Third Party Advisory

Track CVE-2016-5195 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2025-32433Erlang/OTP SSH server missing authentication allows remote code executionErlang/OTP SSH servers before OTP-27.3.3, OTP-26.2.5.11 and OTP-25.3.2.20 mishandle SSH protocol messages, letting an unauthenticated attacker execut…KEVEPSS 99%analysed10.0CVE-2025-24201Apple WebKit out-of-bounds write allows sandbox escapeCVE-2025-24201 is an out-of-bounds write in Apple's WebKit that was addressed with improved checks. Maliciously crafted web content may break out of …KEVEPSS 3.8%analysed10.0CVE-2021-44228Apache Log4j2 JNDI lookup remote code executionApache Log4j2 versions 2.0-beta9 through 2.15.0 (excluding 2.12.2, 2.12.3, and 2.3.1) do not protect against attacker-controlled LDAP and other JNDI …KEVEPSS 100%analysed9.8CVE-2026-24061GNU Inetutils telnetd argument injection allows remote auth bypasstelnetd in GNU Inetutils through 2.7 fails to sanitize the USER environment variable, so a value such as "-f root" is passed as an argument to login …KEVEPSS 99%analysed9.8CVE-2025-39682Linux kernel TLS zero-length record handling flaw on rx_listThe Linux kernel TLS receive path mishandles zero-length records that arrive from the rx_list, breaking the assumption that a record type change cann…KEVEPSS 2.9%analysed9.8CVE-2025-24813Apache Tomcat Default Servlet path equivalence enables RCE and file disclosureApache Tomcat mishandles path equivalence for names containing an internal dot, letting a remote unauthenticated attacker write files through the Def…KEVEPSS 100%analysed9.8CVE-2024-9680Mozilla Firefox and Thunderbird use-after-free in Animation timelinesA use-after-free flaw in Animation timelines allows an attacker to execute code in the content process of Firefox and Thunderbird. Mozilla reports ex…KEVEPSS 23%analysed9.8CVE-2024-4577PHP-CGI on Windows argument injection leads to remote code executionPHP-CGI on Windows can misinterpret characters in the command line passed to Win32 API functions when certain code pages are configured, due to Windo…KEVEPSS 100%analysed

Source: NIST National Vulnerability Database (record CVE-2016-5195), CISA KEV, FIRST EPSS (scores of 2026-09-24). This page is refreshed as NVD updates the record.