CVE-2016-5195: Vulnerability in Linux kernel
Actively exploited. 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."
Exploited in the wild, CWE-362
- Exploitation
- Confirmed 3 Mar 2022
- Severity
- 7 of 10
- Attack likelihood
- 83.5 % in 30 days
- Fix
- Fixed version known
- Patch deadline
- Agencies by 24 Mar 2022
Details
- Vector
- CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- Weakness
- CWE-362
- Published
- 10 Nov 2016
- Last change
- 17 Jun 2026
- Likelihood rank
- Higher than 100 % of all rated vulnerabilities
- Analysis status
- Analyzed
- Required action
- Apply updates per vendor instructions.
Affected products
Affected versions and the first fixed release
- Linux kernel From 2.6.22 before 3.2.83; From 3.3 before 3.4.113; From 3.5 before 3.10.104; From 3.11 before 3.12.66; From 3.13 before 3.16.38; From 3.17 before 3.18.44. Fixed in 3.2.83, 3.4.113, 3.10.104, 3.12.66, 3.16.38, 3.18.44
- Canonical Ubuntu Linux Versions 12.04, 14.04, 16.04, 16.10. No fixed version recorded
- Red Hat Enterprise Linux Versions 5, 6.0, 7.0. No fixed version recorded
- Red Hat Enterprise Linux Aus Versions 6.2, 6.4, 6.5. No fixed version recorded
- Red Hat Enterprise Linux Eus Versions 6.6, 6.7, 7.1. No fixed version recorded
- Red Hat Enterprise Linux Long Life Versions 5.6, 5.9. No fixed version recorded
- Red Hat Enterprise Linux Tus Version 6.5. No fixed version recorded
- Debian Linux Versions 7.0, 8.0. No fixed version recorded
Advisories
Vendor and security advisories
- fortiguard.com/advisory/FG-IR-16-063
- kb.juniper.net/InfoCenter/index
- kb.juniper.net/InfoCenter/index
- kb.juniper.net/InfoCenter/index
- lists.opensuse.org/opensuse-security-announce/2016-10/msg00034.html
- lists.opensuse.org/opensuse-security-announce/2016-10/msg00035.html
- lists.opensuse.org/opensuse-security-announce/2016-10/msg00036.html
- lists.opensuse.org/opensuse-security-announce/2016-10/msg00038.html
- lists.opensuse.org/opensuse-security-announce/2016-10/msg00039.html
- lists.opensuse.org/opensuse-security-announce/2016-10/msg00040.html
- lists.opensuse.org/opensuse-security-announce/2016-10/msg00045.html
- lists.opensuse.org/opensuse-security-announce/2016-10/msg00048.html
Patches and fixes
Updates, commits and release notes
- git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/
- kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.8.3
- oracle.com/technetwork/security-advisory/cpujul2018-4258247.html
- github.com/torvalds/linux/commit/19be0eaffa3ac7d8eb6784ad9bdbc7d67ed8e619
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/messag...
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/messag...
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/messag...
Exploit code
Public exploits and proofs of concept, handle with care
- packetstormsecurity.com/files/139277/Kernel-Live-Patch-Security-Notice-LSN-0012-1.html
- packetstormsecurity.com/files/139286/DirtyCow-Linux-Kernel-Race-Condition.html
- packetstormsecurity.com/files/139287/DirtyCow-Local-Root-Proof-Of-Concept.html
- packetstormsecurity.com/files/139922/Linux-Kernel-Dirty-COW-PTRACE_POKEDATA-Privilege-E...
- packetstormsecurity.com/files/139923/Linux-Kernel-Dirty-COW-PTRACE_POKEDATA-Privilege-E...
- bugzilla.redhat.com/show_bug.cgi
- github.com/dirtycow/dirtycow.github.io/wiki/VulnerabilityDetails
- exploit-db.com/exploits/40611/
Related
- Linux kernel vulnerabilities Recent advisories, watch this product
- Exploited vulnerabilities Explorer, exploited only