Advisories · Linux & SSH
CVE-2016-5195
High
CVSS 7.8
Actively exploited
Linux Dirty COW privilege escalation
Disclosed 2016 · Last reviewed 2 Dec 2026
A local user could write to a read-only mapping and become root on unpatched kernels.
What happened
The copy-on-write path raced with a write and let a process change a file it should only have been able to read.
Affected and patched versions
- Affected
- Linux kernels before the October 2016 Dirty COW fix, including long-lived distro kernels that had not yet been patched.
- Patched
- The distro kernel that lists CVE-2016-5195 in its changelog.
How to check your server
Check
uname -r
How to fix and harden
- Run uname -r.
- Install the distribution kernel update that names CVE-2016-5195.
- Reboot into the new kernel.
- A current Ubuntu or Debian kernel from the security repository is far past this bug.
Fix
uname -r
Sources
Version ranges and fixes follow the vendor advisory. When a distribution backports a fix, trust its security tracker over the upstream version number. New advisories: RSS · JSON