Cyber Resilience

CVE-2016-5195

Race Condition in Linux Kernel 2.6.22 – 3.2.83

CISA KEVActive ExploitationEUVD ExploitedPublic PoCRace Condition
Published
10 November 2016
Modified
21 April 2026
KEV Added
03 March 2022
Patch / advisory
CVSS Score v3.1 7.0
Click a component to see what it means
Raw vectorCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.84 99.7th percentile
Risk Priority 78 floored blend · peak EPSS

Summary

CVE-2016-5195 is a high-severity Race Condition (CWE-362) vulnerability in Linux Linux Kernel. Its CVSS base score is 7.0 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploitation for Privilege Escalation (T1068); ranked in the top 0.3% of CVEs by exploit likelihood; CISA has added it to the Known Exploited Vulnerabilities catalog; a public proof-of-concept is referenced.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

The vulnerability is a race condition in mm/gup.c within the Linux kernel versions 2.x through 4.x prior to 4.8.3. It stems from incorrect handling of the copy-on-write (COW) mechanism, enabling writes to read-only memory mappings. This flaw is tracked as CVE-2016-5195, carries a CVSS 3.1 score of 7.0, and is associated with CWE-362.

Local users with low privileges can exploit the race condition to escalate privileges on affected systems. The issue was actively exploited in the wild as of October 2016 under the name Dirty COW, allowing attackers to modify memory regions that should remain read-only and thereby obtain elevated access.

Advisories and patches reference a kernel commit addressing the flaw along with vendor notifications from FortiGuard and Juniper that point to updated kernel releases for mitigation. The vulnerability saw real-world exploitation shortly after disclosure, highlighting its impact on unpatched Linux systems running affected kernel versions.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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…

more

in October 2016, aka "Dirty COW."

CWE(s)
KEV Date Added
03 March 2022

Related Threats

MITRE ATT&CK Enterprise Techniques

T1068 Exploitation for Privilege Escalation Privilege Escalation
Adversaries may exploit software vulnerabilities in an attempt to elevate privileges.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2018-14634Same product: Canonical Ubuntu Linuxboth on KEV
CVE-2014-0196Same product: Canonical Ubuntu Linuxboth on KEV
CVE-2021-21166Same product: Debian Debian Linuxboth on KEV
CVE-2023-42756Same product: Debian Debian Linux
CVE-2019-1579Same product: Paloaltonetworks Pan-Osboth on KEV
CVE-2021-25395Shared CWE-362both on KEV
CVE-2023-36884Shared CWE-362both on KEV
CVE-2020-6820Shared CWE-362both on KEV
CVE-2022-26904Shared CWE-362both on KEV
CVE-2017-15944Same product: Paloaltonetworks Pan-Osboth on KEV

Affected Assets

canonical
ubuntu linux
12.04, 14.04, 16.04, 16.10
linux
linux kernel
2.6.22 — 3.2.83 · 3.3 — 3.4.113 · 3.5 — 3.10.104
redhat
enterprise linux
5, 6.0, 7.0
redhat
enterprise linux aus
6.2, 6.4, 6.5
redhat
enterprise linux eus
6.6, 6.7, 7.1
redhat
enterprise linux long life
5.6, 5.9
redhat
enterprise linux tus
6.5
debian
debian linux
7.0, 8.0
fedoraproject
fedora
23, 24, 25
paloaltonetworks
pan-os
5.1 — 7.0.14 · 7.1.0 — 7.1.8
+8 more product configuration(s) — see NVD for full list

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)

Validate
Prove the fix (OWASP ASVS)
  • V10.4.2
  • V10.4.5
  • V15.1.3
  • V15.4.1

Likely Mitigating Controls AI

Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-362

Accurate timestamps from internal clocks enable detection of race conditions by providing reliable event ordering in audit logs.

addresses: CWE-362

Coordination of concurrent security activities reduces the probability that shared resources will be accessed simultaneously without proper synchronization.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 mostly match
prevents

Secure SDLC practices directly require proper synchronization primitives and concurrency testing that prevent race conditions.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

finds

Security testing can detect race conditions, but does not prevent them at design or coding time.

prevents

Secure SDLC mandates concurrency controls and synchronization primitives that directly prevent race conditions.

prevents

Application security requirements can specify thread-safety and locking rules, but do not prescribe implementation details.

prevents

Secure architecture principles require proper synchronization and resource isolation, addressing the root cause of CWE-362.

prevents

Secure coding standards explicitly forbid unsafe concurrent access patterns and mandate atomic operations or locks.

none

Change management reduces introduction of concurrency bugs during updates, yet does not address the weakness itself.

References