Linux kernel dm snapshot discard corrupts the next COW chunk
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- —
- Confidentiality · integrity · availability
- —
- Fix status
- Partial Red Hat: 7 without a fix
No CVSS vector from any source. Fix status from CNA and Red Hat.
Summary
In the Linux kernel's device-mapper snapshot target, a discard that does not start on a chunk boundary zeroes the wrong range, so the head of the target chunk keeps old data and the tail lands in the next COW chunk, which holds a different exception. A discard that is not a full chunk is also passed to the COW device, so a later read can return what the discard left instead of the snapshot's data. CISA has not added it to KEV, and Red Hat rates it Moderate.
Written with Claude Haiku 5.5 from the sources below · 2026-12-03
Description from the CNA
In the Linux kernel, the following vulnerability has been resolved: dm snapshot: fix discard writing into the next COW chunk zero_exception() zeroes one chunk of the COW device and takes the start sector from bio->bi_iter.bi_sector. remap_exception() has already set that to the COW chunk start plus the offset inside the chunk. That offset is needed for reads and writes, but for a discard it is wrong: the zeroing window is shifted, so the head of the target chunk keeps its old data and the tail lands in the next COW chunk, which holds a different exception. io_overlaps_chunk() should have caught this, but it only compares the length. "maps to entire chunks" in snapshot.rst also means the discard has to start on a chunk boundary. A discard that is not a full chunk has a second problem: after remap_exception() it is sent to the COW device, where it hits a chunk that still backs a live exception. After a discard the contents are undefined, but the exception stays in the table and keeps pointing at that chunk, so a later read returns whatever the discard left instead of the snapshot's data. Reproducer: truncate -s 4M o.img c.img o=$(losetup -f --show o.img) c=$(losetup -f --show c.img) dmsetup create snap --table \ "0 8192 snapshot $o $c P 512 1 discard_zeroes_cow" # write two chunks, this creates two exceptions head -c 256K /dev/zero | tr '\000' '\252' > pat dd if=pat of=/dev/mapper/snap bs=256K seek=1 count=1 conv=notrunc dd if=pat of=/dev/mapper/snap bs=256K seek=2 count=1 conv=notrunc # shift the snapshot by 8 sectors, so a discard that is aligned on # top is unaligned inside the snapshot dmsetup create top --table "0 8184 linear /dev/mapper/snap 8" blkdiscard -o 262144 -l 262144 /dev/mapper/top sync echo 3 > /proc/sys/vm/drop_caches # chunk 1 dd if=/dev/mapper/snap bs=512 skip=512 count=8 | od -An -tx1 -N1 # chunk 2 dd if=/dev/mapper/snap bs=512 skip=1024 count=8 | od -An -tx1 -N1 Before: aa 00 <- chunk 2 was zeroed although it was not discarded After: aa aa <- nothing written, a discard is only a hint Fix it by requiring the discard to start on a chunk boundary in io_overlaps_chunk(), and by finishing a discard that is not a full chunk with bio_endio() instead of passing it down to the COW device.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
Install a Linux kernel from the fixed releases 5.10.276, 5.15.227, 6.12.120, 6.18.66, 7.3.7 or 7.4-rc3. Red Hat lists no fix yet for Red Hat Enterprise Linux 6 through 10 and Red Hat OpenShift Container Platform 4 and 5, and has no fix planned for RHEL 6.
Written with Claude Haiku 5.5 from the sources below · 2026-12-03
- Fix · CNA Linux (Linux) Fixed in 5.10.276, 5.15.227, 6.12.120, 6.18.66, 7.3.7, 7.4-rc3
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 10 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 7 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 8 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 9 | Affected | No fix yet: Fix deferred |
| Red Hat OpenShift Container Platform 4 | Affected | No fix yet: Fix deferred |
| Red Hat OpenShift Container Platform 5 | Affected | No fix yet: Fix deferred |
Timeline
- 2026-12-03 Threatist record created from CVE-2026-143019
- 2026-12-03 Alias added: GHSA-rrf4-c877-vg97
- 2026-12-03 Affected versions changed · Red Hat
- 2026-12-03 CVSS score added · Red Hat
References
Other 6
- https://git.kernel.org/stable/c/1fa8f3def9b79052ed510aa85eefbdb2d7b0ead1
- https://git.kernel.org/stable/c/6a227764d4e9ffdbe9ab4e59e9b24e21fa0e91bd
- https://git.kernel.org/stable/c/4a02cc97d87a3c2eb7c37ac6ea7e8ef8e8fc0344
- https://git.kernel.org/stable/c/19ff998f1d27e1417b286ae0ec88fc19842d4f2f
- https://git.kernel.org/stable/c/0c661d80fdbeea980d3e03b528ecb51e38f0d85e
- https://git.kernel.org/stable/c/73174b4bb6fcd0e6cf973c9402a0fae2e567ad9f
More Linux vulnerabilities
- TI-2025-26358 Zero-length TLS records mishandled on rx_list in Linux kernel KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 Out-of-bounds write in Linux kernel ebtables SNAT ARP rewrite KEVCVSS 3.1HIGH 8.8
- TI-2021-02452 Overlayfs flaw in Linux kernel lets attackers gain elevated privileges KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 Missing address checks in Linux kernel get_user and put_user on ARM KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Heap overflow in Linux kernel lets local users escalate privileges KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 Wrong integer type in Linux kernel perf_swevent_init KEVCVSS 3.1HIGH 8.4
Sources
- CVE-2026-143019 · CVE Program
- CVE-2026-143019 · NVD
- FIRST EPSS
- GHSA-rrf4-c877-vg97 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-143019 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences