# CVE-2016-5195 (Dirty COW)

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

- Page: https://www.vulneraibility.com/cve/CVE-2016-5195
- CVSS: 7.0
- Known exploited: yes, in CISA KEV since 2022-03-03; CISA due date 2022-03-24
- EPSS: 83.52% (percentile 99.7)
- Public exploit code: 5 on Exploit-DB · 66 GitHub proofs of concept (first 2016-10-19)
- CISA SSVC: exploitation active, automatable no, technical impact total (assessed 2025-01-29)
- Weakness: CWE-362
- Published: 2016-11-10

## Affected

- canonical:ubuntu_linux
- linux:linux_kernel
- redhat:enterprise_linux
- redhat:enterprise_linux_aus
- redhat:enterprise_linux_eus
- redhat:enterprise_linux_long_life
- redhat:enterprise_linux_tus
- debian:debian_linux
- fedoraproject:fedora
- paloaltonetworks:pan-os
- netapp:cloud_backup
- netapp:hci_storage_nodes
- netapp:oncommand_balance
- netapp:oncommand_performance_manager
- netapp:oncommand_unified_manager_for_clustered_data_ontap
- netapp:ontap_select_deploy_administration_utility
- netapp:snapprotect
- netapp:solidfire

## References

- [advisory] http://rhn.redhat.com/errata/RHSA-2016-2107.html
- [exploit] https://www.exploit-db.com/exploits/40616/
- [advisory] https://access.redhat.com/errata/RHSA-2017:0372
- [other] https://bto.bluecoat.com/security-advisory/sa134
- [other] https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05352241
- [other] http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html
- [exploit] https://www.exploit-db.com/exploits/40839/
- [other] https://dirtycow.ninja
- [exploit] https://www.exploit-db.com/exploits/40847/
- [advisory] http://rhn.redhat.com/errata/RHSA-2016-2118.html
- [advisory] http://rhn.redhat.com/errata/RHSA-2016-2128.html
- [other] https://source.android.com/security/bulletin/2016-12-01.html
- [advisory] http://rhn.redhat.com/errata/RHSA-2016-2120.html
- [other] http://www.openwall.com/lists/oss-security/2016/10/26/7
- [advisory] http://rhn.redhat.com/errata/RHSA-2016-2133.html
- [advisory] http://rhn.redhat.com/errata/RHSA-2016-2098.html
- [other] https://h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbgn03761en_us
- [advisory] https://www.kb.cert.org/vuls/id/243144
- [other] https://bugzilla.suse.com/show_bug.cgi?id=1004418
- [other] http://www.securitytracker.com/id/1037078
- [other] https://people.canonical.com/~ubuntu-security/cve/2016/CVE-2016-5195.html
- [other] https://h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbgn03722en_us
- [other] https://security.netapp.com/advisory/ntap-20161025-0001/
- [other] http://www.securityfocus.com/bid/93793
- [advisory] http://rhn.redhat.com/errata/RHSA-2016-2127.html
- [other] https://security-tracker.debian.org/tracker/CVE-2016-5195
- [other] https://github.com/dirtycow/dirtycow.github.io/wiki/PoCs
- [other] https://h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbgn03742en_us
- [other] https://github.com/torvalds/linux/commit/19be0eaffa3ac7d8eb6784ad9bdbc7d67ed8e619
- [other] https://help.ecostruxureit.com/display/public/UADCO8x/StruxureWare+Data+Center+Operation+Software+Vulnerability+Fixes
- [other] https://github.com/dirtycow/dirtycow.github.io/wiki/VulnerabilityDetails
- [other] https://bugzilla.redhat.com/show_bug.cgi?id=1384344
- [other] https://access.redhat.com/security/vulnerabilities/2706661
- [advisory] http://rhn.redhat.com/errata/RHSA-2016-2106.html
- [other] http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=19be0eaffa3ac7d8eb6784ad9bdbc7d67ed8e619
- [exploit] https://www.exploit-db.com/exploits/40611/
- [other] https://access.redhat.com/security/cve/cve-2016-5195
- [other] https://source.android.com/security/bulletin/2016-11-01.html
- [other] https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05347541
- [advisory] http://rhn.redhat.com/errata/RHSA-2016-2124.html
- [other] http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.8.3
- [advisory] http://rhn.redhat.com/errata/RHSA-2016-2105.html
- [advisory] http://rhn.redhat.com/errata/RHSA-2016-2126.html
- [advisory] http://rhn.redhat.com/errata/RHSA-2016-2132.html
- [advisory] http://rhn.redhat.com/errata/RHSA-2016-2110.html
- [other] https://h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbgn03707en_us
- [other] https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05341463
- [other] https://kc.mcafee.com/corporate/index?page=content&id=SB10176
- [advisory] http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00055.html
- [advisory] http://lists.opensuse.org/opensuse-security-announce/2016-10/msg00067.html

---
Summary, impact and action are written by the vulneraibility.com AI analysis pipeline from the CVE record, NVD, CISA and FIRST data; verify against the references.
