CVE-2026-143019: dm snapshot: fix discard writing into the next COW chunk
dm snapshot: fix discard writing into the next COW chunk
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.10.276 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.15.227 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.120 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.66 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.7 - Compensating control
In dm snapshot discard handling, require discards to start on a chunk boundary in io_overlaps_chunk(), and complete a discard that is not a full chunk with bio_endio() instead of passing it to the COW device.
Event History
Frequently Asked Questions
What conditions are required to trigger the corruption?
The affected path requires a discard operation against a device-mapper snapshot that maps to a copy-on-write (COW) exception. A discard that begins within, rather than at the boundary of, a COW chunk can shift the zeroing range into the following chunk.
Are partial discards also unsafe?
Yes. A discard that does not cover an entire chunk can be forwarded to a COW chunk that still backs a live exception; the exception remains mapped after the discard, and later reads can return undefined data rather than the snapshot data.
What data may be affected after exploitation?
The beginning of the intended COW chunk may retain old data, while the end of the discard can overwrite data in the next COW chunk belonging to a different exception. Subsequent reads through a still-live exception may expose whatever data the discard left in that chunk.