Dirty COW: copy-on-write race writes to read-only memory
A race in the kernel's copy-on-write page-fault retry lets a local user drop write intent after a COW break, so a concurrently discarded private page is re-followed as the original read-only file page and written through.
- Product
- Linux kernel memory management (mm/gup.c, copy-on-write)
- Vendor
- Linux
- Affected
- 2.6.22 through 4.x before 4.8.3 (introduced 2007)
- Fixed in
- 4.8.3 (backports 4.7.9, 4.4.26)
- Weakness
- CWE-362
- CVSS vector
- CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- Published
- 10 Nov 2016
Classified as
References
Related CVEs
- CVE-2026-46300high 7.82026
Fragnesia: Linux shared-fragment marker loss
Socket-buffer coalescing can transfer page-backed fragment descriptors without their shared marker, causing later ESP processing to decrypt shared data in place.
- CVE-2024-1086high 7.82024
Linux nf_tables double-free via unvalidated verdict (CVE-2024-1086)
A packet-verdict validator checks only the masked action bits, so a DROP verdict carrying a positive error field slips through; the drop path then frees the packet and returns that positive value as an accept, freeing it a second time.
- CVE-2023-3269high 7.82023
StackRot: maple-tree VMA node freed under the read lock
During stack expansion the kernel replaces a node in the RCU-safe VMA tree and frees the old node, while holding only the shared read lock, so a concurrent read-lock-only lookup can dereference the freed node.
- CVE-2022-0847high 7.82022
Dirty Pipe: uninitialized pipe-buffer flag overwrites read-only pages
A newly populated pipe buffer never resets its flags field, so a stale merge flag lets a later write land directly in a read-only file's page cache.