CVE-2016-5195Linux Kernel Race Condition Vulnerability
CVSS score
7.0
High
CVSS 3.1 from NVD
Exploit probability (EPSS)
83.5%
83.5% chance of exploitation in the next 30 days, higher than 99.7% of all CVEs.
CISA KEV
Actively exploited
Added to KEV on 3 Mar 2022.
US federal deadline to fix: 24 Mar 2022.
Official 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."
Source: NVD · CNA: chrome-cve-admin@google.com
How to fix it, step by step
Treat it as urgent
Attackers are already exploiting this flaw: CISA added it to its Known Exploited Vulnerabilities list on 3 Mar 2022.
US federal agencies must fix it by 24 Mar 2022. It's a sensible deadline for everyone else too.
CISA's full instruction
Apply updates per vendor instructions.
Check whether you're affected
Find every system running Canonical Ubuntu Linux, Linux Kernel, Red Hat Enterprise Linux Aus, Red Hat Enterprise Linux Eus, Red Hat Enterprise Linux Long Life and compare its version with the affected versions.
Update to a fixed version
- Update Linux Kernel to 3.2.83, 3.4.113, 3.10.104, 3.12.66 or later, on the branch you run.
- Update Pan-os to 7.0.14, 7.1.8 or later, on the branch you run.
If you can't update right away
Apply the workaround or mitigation in the vendor's advisory until you can update:
Check for signs of compromise
Updating closes the flaw but doesn't remove an attacker who got in earlier. Review affected systems for unknown accounts, unusual logins and configuration changes, and use any indicators of compromise the vendor or CISA publish.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Local
- Attack complexity
- High
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected products
| Affected products | Versions |
|---|---|
| Canonical Ubuntu Linux | 12.04 · 14.04 · 16.04 · 16.10 |
| Linux Linux Kernel | ≥ 2.6.22, < 3.2.83 · ≥ 3.3, < 3.4.113 · ≥ 3.5, < 3.10.104 · ≥ 3.11, < 3.12.66 · ≥ 3.13, < 3.16.38 · ≥ 3.17, < 3.18.44 |
| Red Hat Enterprise Linux | 5 · 6.0 · 7.0 |
| Red Hat Enterprise Linux Aus | 6.2 · 6.4 · 6.5 |
| Red Hat Enterprise Linux Eus | 6.6 · 6.7 · 7.1 |
| Red Hat Enterprise Linux Long Life | 5.6 · 5.9 |
| Red Hat Enterprise Linux Tus | 6.5 |
| Debian Debian Linux | 7.0 · 8.0 |
| fedoraproject Fedora | 23 · 24 · 25 |
| Palo Alto Networks Pan-os | ≥ 5.1, < 7.0.14 · ≥ 7.1.0, < 7.1.8 |
| netapp Cloud Backup | Not specified |
| netapp Hci Storage Nodes | Not specified |
| netapp Oncommand Balance | Not specified |
| netapp Oncommand Performance Manager | Not specified |
| netapp Oncommand Unified Manager For Clustered Data Ontap | Not specified |
| netapp Ontap Select Deploy Administration Utility | Not specified |
| netapp Snapprotect | Not specified |
| netapp Solidfire | Not specified |
Weakness
- CWE-362 race condition
Timeline
- Published:
- Added to CISA KEV:
- Last modified:
Frequently asked questions
Is CVE-2016-5195 being exploited?
Yes. CISA added CVE-2016-5195 to its Known Exploited Vulnerabilities catalog on 3 Mar 2022, which means there is evidence of exploitation in the wild. Its EPSS score estimates a 83.5% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2016-5195?
CVE-2016-5195 has a CVSS 3.1 base score of 7.0 (high).
Which versions are affected?
Canonical Ubuntu Linux (12.04; 14.04; 16.04; 16.10), Linux Linux Kernel (≥ 2.6.22, < 3.2.83; ≥ 3.3, < 3.4.113; ≥ 3.5, < 3.10.104; ≥ 3.11, < 3.12.66; ≥ 3.13, < 3.16.38; ≥ 3.17, < 3.18.44), Red Hat Enterprise Linux (5; 6.0; 7.0), Red Hat Enterprise Linux Aus (6.2; 6.4; 6.5), Red Hat Enterprise Linux Eus (6.6; 6.7; 7.1), Red Hat Enterprise Linux Long Life (5.6; 5.9)
Is there a patch for CVE-2016-5195?
The official record links to vendor advisories or patches; see “What to do” above.
References
- git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=19be0eaffa3ac7d8eb6784ad9bdbc7d67ed8e619(Issue Tracking, Patch, Vendor Advisory)
- www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html(Patch, Third Party Advisory)
- github.com/torvalds/linux/commit/19be0eaffa3ac7d8eb6784ad9bdbc7d67ed8e619(Issue Tracking, Patch)
- packetstormsecurity.com/files/139277/Kernel-Live-Patch-Security-Notice-LSN-0012-1.html(Exploit, Third Party Advisory, VDB Entry)
- packetstormsecurity.com/files/139286/DirtyCow-Linux-Kernel-Race-Condition.html(Exploit, Third Party Advisory, VDB Entry)
- packetstormsecurity.com/files/139287/DirtyCow-Local-Root-Proof-Of-Concept.html(Exploit, Third Party Advisory, VDB Entry)
- packetstormsecurity.com/files/139922/Linux-Kernel-Dirty-COW-PTRACE_POKEDATA-Privilege-Escalation.html(Exploit, Third Party Advisory, VDB Entry)
- packetstormsecurity.com/files/139923/Linux-Kernel-Dirty-COW-PTRACE_POKEDATA-Privilege-Escalation.html(Exploit, Third Party Advisory, VDB Entry)
- bugzilla.redhat.com/show_bug.cgi?id=1384344(Exploit, Issue Tracking)
- github.com/dirtycow/dirtycow.github.io/wiki/VulnerabilityDetails(Exploit, Third Party Advisory)
- www.exploit-db.com/exploits/40611/(Exploit, Third Party Advisory, VDB Entry)
- www.exploit-db.com/exploits/40616/(Exploit, Third Party Advisory, VDB Entry)
- www.exploit-db.com/exploits/40839/(Exploit, Third Party Advisory, VDB Entry)
- fortiguard.com/advisory/FG-IR-16-063(Third Party Advisory)
- kb.juniper.net/InfoCenter/index?page=content&id=JSA10770(Third Party Advisory)
- kb.juniper.net/InfoCenter/index?page=content&id=JSA10774(Third Party Advisory)
- kb.juniper.net/InfoCenter/index?page=content&id=JSA10807(Third Party Advisory)
- lists.opensuse.org/opensuse-security-announce/2016-10/msg00034.html(Mailing List)
- lists.opensuse.org/opensuse-security-announce/2016-10/msg00035.html(Mailing List)
- lists.opensuse.org/opensuse-security-announce/2016-10/msg00036.html(Mailing List)
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.