CVE-2016-5195: Linux Kernel Race Condition Vulnerability
CVE-2016-5195 is a high-severity flaw (CVSS 7.0) affecting ubuntu linux, linux kernel, enterprise linux, reported as exploited in the wild. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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."
Why this priority
- High severity
- EPSS top 1%: very likely to be exploited
- Exploited in the wild (CISA KEV)
- Public exploit reference
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 7.0 (High) |
| Attack vector | Local |
| Attack complexity | High |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 83.5% (top 1%) |
| CISA exploited list | Yes, fix due 2022-03-24 |
| Weakness | CWE-362 |
| Published | 2016-11-10 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Exploited Added to the CISA Known Exploited Vulnerabilities list
- Deadline CISA due date for US federal agencies to patch
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- GitHub PoC: timwr/CVE-2016-5195 (1018 stars)
- GitHub PoC: firefart/dirtycow (932 stars)
- GitHub PoC: scumjr/dirtycow-vdso (510 stars)
- Exploit-DB: Linux Kernel 2.6.22 < 3.9 (x86/x64) - 'Dirty COW /proc/self/mem' Race Condition Privilege Escalation (SUID Method)
- Exploit-DB: Linux Kernel 2.6.22 < 3.9 - 'Dirty COW /proc/self/mem' Race Condition Privilege Escalation (/etc/passwd Method)
- Exploit-DB: Linux Kernel 2.6.22 < 3.9 - 'Dirty COW PTRACE_POKEDATA' Race Condition (Write Access Method)
- Exploit-DB: Linux Kernel 2.6.22 < 3.9 - 'Dirty COW' 'PTRACE_POKEDATA' Race Condition Privilege Escalation (/etc/passwd Method)
- Exploit-DB: Linux Kernel 2.6.22 < 3.9 - 'Dirty COW' /proc/self/mem Race Condition (Write Access Method)
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2016-5195?
ubuntu linux: mitigate or apply the listed mitigation; linux kernel: upgrade to 3.2.83, 3.4.113, 3.10.104, 3.12.66, 3.16.38, 3.18.44, 4.1.35, 4.4.26, 4.7.9, 4.8.3; enterprise linux: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2016-5195 being exploited?
Yes. CVE-2016-5195 is on the CISA Known Exploited Vulnerabilities list, so treat it as patch-now.
What does CVE-2016-5195 affect?
CVE-2016-5195 affects ubuntu linux, linux kernel, enterprise linux. Severity is high (CVSS 7.0). 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
How urgent is CVE-2016-5195?
Priority 84/100. High severity; EPSS top 1%: very likely to be exploited; Exploited in the wild (CISA KEV); Public exploit reference; On your watchlist
Software pages
Linux kernel vulnerabilities · Ubuntu vulnerabilities
Related CVEs
- CVE-2026-47331 HIGH 7.8 MITIGATE Ubuntu Linux 6.8 contains AppArmor SAUCE patches which fail to acquire a lock when modifying a linked list
- CVE-2026-47333 HIGH 7.8 MITIGATE Ubuntu Linux 6.8, 6.17 and 7.0 contain AppArmor SAUCE patches which can potentially incorrectly compute the si
- CVE-2026-47328 MEDIUM 6.1 MITIGATE Ubuntu Linux 6.8, 6.17 and 7.0 contain AppArmor SAUCE patches which incorrectly attempt to free a pointer whic
- CVE-2026-47332 MEDIUM 5.5 MITIGATE Ubuntu Linux 6.8, 6.17 and 7.0 contain AppArmor SAUCE patches which incorrectly validate the size of an intern
- CVE-2026-47326 MEDIUM 5.5 MITIGATE Ubuntu Linux 6.8, 6.17 and 7.0 contain SAUCE patches with a memory leak in the handling of big responses to Ap