SecurityContext

CVE-2016-5195: Linux Kernel - Privilege Escalation

  • Cve: CVE-2016-5195
  • Name: Linux Kernel - Privilege Escalation
  • 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."
  • Impact: Local attackers can escalate privileges by exploiting the race condition to write to read-only memory.
  • Remediation: Update to Linux kernel 4.8.3 or later.
  • Vulnerability type: race_condition
  • Vulnerability impact: privilege_escalation
  • Requirement type: logged_in
  • Requirements: Attacker needs local user privileges
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7
  • Cvss vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.83524
  • Epss percentile: 0.99691
  • Assignee: [email protected]
  • Published at: 2016-11-10T21:59:00Z
  • Age in days: 3666
  • Modified at: 2026-06-17T00:48:56Z
  • Patch available: yes
  • Public exploits total: 100
  • Public exploits capped: yes
  • References total: 54
  • Products total: 18
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2016-5195
  • Nvd status: analyzed
  • Checked, none or zero: nuclei templates, rejected by nvd

Cwe

IdName
CWE-362Concurrent Execution using Shared Resource with Improper Synchronization

Known exploited entries

ListAdded dateDue dateRansomware use
cisa2022-03-032022-03-24no
vulncheck2016-10-18—no

Hackerone

  • Reports: 5
  • Rank: 2637

Public exploits

Same in every row:

  • Source: nvd
  • Added date: 2016-11-10
Url
http://packetstormsecurity.com/files/139277/Kernel-Live-Patch-Security-Notice-LSN-0012-1.html
http://packetstormsecurity.com/files/139286/DirtyCow-Linux-Kernel-Race-Condition.html
http://packetstormsecurity.com/files/139287/DirtyCow-Local-Root-Proof-Of-Concept.html
http://packetstormsecurity.com/files/139922/Linux-Kernel-Dirty-COW-PTRACE_POKEDATA-Privilege-Escalation.html
http://packetstormsecurity.com/files/139923/Linux-Kernel-Dirty-COW-PTRACE_POKEDATA-Privilege-Escalation.html

References

Same in every row:

  • Source: nvd
UrlTags
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=19be0eaffa3ac7d8eb6784ad9bdbc7d67ed8e619Issue Tracking, Patch, Vendor Advisory
https://github.com/torvalds/linux/commit/19be0eaffa3ac7d8eb6784ad9bdbc7d67ed8e619Issue Tracking, Patch
http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.htmlPatch, Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=1384344Exploit, Issue Tracking
http://packetstormsecurity.com/files/139277/Kernel-Live-Patch-Security-Notice-LSN-0012-1.htmlExploit, Third Party Advisory, VDB Entry
http://packetstormsecurity.com/files/139286/DirtyCow-Linux-Kernel-Race-Condition.htmlExploit, Third Party Advisory, VDB Entry
http://packetstormsecurity.com/files/139287/DirtyCow-Local-Root-Proof-Of-Concept.htmlExploit, Third Party Advisory, VDB Entry
http://packetstormsecurity.com/files/139922/Linux-Kernel-Dirty-COW-PTRACE_POKEDATA-Privilege-Escalation.htmlExploit, Third Party Advisory, VDB Entry
http://packetstormsecurity.com/files/139923/Linux-Kernel-Dirty-COW-PTRACE_POKEDATA-Privilege-Escalation.htmlExploit, Third Party Advisory, VDB Entry
https://github.com/dirtycow/dirtycow.github.io/wiki/VulnerabilityDetailsExploit, Third Party Advisory

Products

Same in every row:

  • Platform bound: no
  • Sources: nvd
ProductAffectedUrl
linux:linux_kernel>= 4.8, < 4.8.3; >= 4.5, < 4.7.9; >= 4.2, < 4.4.26; >= 3.19, < 4.1.35; >= 3.17, < 3.18.44; >= 3.13, < 3.16.38; >= 3.11, < 3.12.66; >= 3.5, < 3.10.104; >= 3.3, < 3.4.113; >= 2.6.22, < 3.2.83/v1/products/linux/linux_kernel
debian:debian_linux= 8.0, = 7.0/v1/products/debian/debian_linux
fedoraproject:fedora= 25, = 24, = 23/v1/products/fedoraproject/fedora
canonical:ubuntu_linux= 16.10, = 16.04, = 14.04, = 12.04/v1/products/canonical/ubuntu_linux
redhat:enterprise_linux= 7.0, = 6.0, = 5/v1/products/redhat/enterprise_linux
redhat:enterprise_linux_eus= 7.1, = 6.7, = 6.6/v1/products/redhat/enterprise_linux_eus
netapp:cloud_backupall versions/v1/products/netapp/cloud_backup
paloaltonetworks:pan-os>= 7.1.0, < 7.1.8; >= 5.1, < 7.0.14/v1/products/paloaltonetworks/pan-os
netapp:solidfireall versions/v1/products/netapp/solidfire
netapp:ontap_select_deploy_administration_utilityall versions/v1/products/netapp/ontap_select_deploy_administration_utility

Projects

RepositoryLink kindsIndexedUrl
torvalds/linuxcommityes/v1/repositories/torvalds/linux

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Known exploited: yes
  • Known exploited since: 2022-03-03
  • Known exploited by: cisa, vulncheck
  • Vulncheck known exploited since: 2016-10-18
  • Exploitation seen: yes
  • Public exploit: yes
  • Public exploit count: 100
  • Public exploit first date: 2016-11-10
  • Authentication required: yes
  • Hackerone reports: 5
  • Exposed hosts: 21109361
  • Checked, none or zero: initial access, remote
  • Not known: nuclei template, initial access since