ZeroHour

CVE-2016-5195

KEV PoC ×5mass

Dirty COW Race Condition Enables Local Privilege Escalation in the Linux Kernel

CISA: Linux Kernel Race Condition Vulnerability

CVSS 3.1
7.0 high
EPSS
84%p100
Published
()
KEV added
AI analysis

CVE-2016-5195, widely known as 'Dirty COW', is a race condition (CWE-362) in the copy-on-write (COW) memory-handling code in mm/gup.c of the Linux kernel, affecting kernel versions 2.x through 4.x before 4.8.3. A local user with low privileges can trigger the race — including via the PTRACE_POKEDATA path used in public exploits — to write to a read-only memory mapping that should not be writable, corrupting files or overwriting memory. This yields root-level privileges on the host, enabling full system takeover, malware implantation and persistence. Any system running an affected kernel is exposed, spanning Ubuntu, Red Hat Enterprise Linux (including AUS, EUS, Long Life and TUS variants), Debian, Fedora, Palo Alto Networks PAN-OS, and NetApp Cloud Backup and HCI Storage Nodes that ship an affected kernel. Exploitation is confirmed in the wild: the flaw was actively exploited in October 2016, including by the first Android malware found using it to gain root, it was added to CISA's KEV catalog on 2022-03-03 with the required action to apply vendor updates, and EPSS currently assigns an 83.5% probability of exploitation in the next 30 days (100th percentile).

What to do: Upgrade to Linux kernel 4.8.3 or later, or apply the vendor-issued patched/backported kernel updates from Canonical, Red Hat, Debian, Fedora Project, Palo Alto Networks (PAN-OS) and NetApp, per the CISA KEV required action. Prioritize unpatched legacy servers and internet-exposed Linux hosts — especially multi-user systems, SSH-accessible machines and containers where untrusted users can run code — and update Android devices that may have been silently rooted via Dirty COW. Until patching completes, restrict local and SSH access to trusted users, since exploitation requires local low-privileged code execution.

Affected
Linux kernel2.x through 4.x before 4.8.3
Canonical Ubuntu Linuxreleases shipping kernel 2.x through 4.x before 4.8.3 (exact package versions unspecified in source data)
Red Hat Enterprise Linuxreleases shipping kernel 2.x through 4.x before 4.8.3 (exact package versions unspecified in source data)
Red Hat Enterprise Linux AUSreleases shipping kernel 2.x through 4.x before 4.8.3 (exact package versions unspecified in source data)
Red Hat Enterprise Linux EUSreleases shipping kernel 2.x through 4.x before 4.8.3 (exact package versions unspecified in source data)
Red Hat Enterprise Linux Long Lifereleases shipping kernel 2.x through 4.x before 4.8.3 (exact package versions unspecified in source data)
Red Hat Enterprise Linux TUSreleases shipping kernel 2.x through 4.x before 4.8.3 (exact package versions unspecified in source data)
Debian Linuxreleases shipping kernel 2.x through 4.x before 4.8.3 (exact package versions unspecified in source data)
Fedora Project Fedorareleases shipping kernel 2.x through 4.x before 4.8.3 (exact package versions unspecified in source data)
Palo Alto Networks PAN-OS
NetApp Cloud Backup
NetApp HCI Storage Nodes
Estimated exposure
mass≈ hundreds of millions of Linux systems and devices (affected kernels shipped in nearly all mainstream distributions, appliances and Android devices of the… — Affected kernels shipped in essentially every Ubuntu, RHEL, Debian and Fedora server, in PAN-OS appliances and in Android devices during the 2.x–4.x era, making the potentially affected universe hundreds of millions to billions of systems,…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

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."

CISA Known Exploited Vulnerability
Affected
Linux Kernel
Required action
Apply updates per vendor instructions.
Due date
Ransomware use
Unknown
Vendors
canonicallinuxredhatdebianfedoraprojectpaloaltonetworksnetapp
Products
ubuntu linux, linux kernel, enterprise linux, enterprise linux aus, enterprise linux eus, enterprise linux long life, enterprise linux tus, debian linux, fedora, pan-os, cloud backup, hci storage nodes
Weakness
CWE-362
Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

In the news