Home / Linux / Linux / CVE-2026-138874
CVE-2026-138874: is it exploited, and which versions of Linux are affected and fixed?
CVE-2026-138874 is a vulnerability in Linux. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 18:09 UTC). Affected: Linux from 4.6 until the fixed versions (CVE record by Linux). Fixed in 5.10.275, 5.15.226, 6.1.193, 6.6.163 and 2 more (CVE record by Linux).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:09 UTC, CVE record November 30, 2026, 13:30 UTC and NVD November 30, 2026, 15:09 UTC.
What is CVE-2026-138874?
In the Linux kernel, the following vulnerability has been resolved: ext4: don't report delalloc data as a hole on indirect-mapped inodes When a plain lookup finds no block, ext4_ind_map_blocks() sizes the hole it reports by counting the empty subtrees under 'partial' in the on-disk indirect tree. That count knows nothing about delayed allocation, so a range holding delalloc data that has not been written back yet is reported as a plain hole. The extent-mapped path does not have this problem: it trims the hole it found at the first delayed extent before returning it. ext4_map_blocks() consults the extent status tree before it calls into the mapping layer, so a query that starts exactly on the delayed block still finds it. A query that starts earlier does not, because the hole reported for the earlier block already spans the delayed one. On a 4k-block filesystem, lseek(SEEK_DATA) from offset 0 on a file whose only data block is at logical block N and is still dirty returns: N = 0..11 direct blocks N << 12 N = 12 first single-indirect block N << 12 N = 13..1035 inside that indirect block -1 ENXIO N = 1036 first double-indirect block N << 12 Blocks 12 and 1036 survive because the query lands on the delayed block itself. Blocks 13..1035 are swallowed by the 1024-block hole reported for block 12. fiemap loses the same data for the same reason. An ext3 filesystem mounted as ext4 hits this during ordinary use: ext3 inodes stay indirect mapped, while mount -t ext4 turns on delayed allocation even though mounting ext3 with -o delalloc is explicitly rejected. install(1) from coreutils uses SEEK_DATA to locate data in its source file, so installing a sparse file that has not been written back silently produces a destination of the right size holding none of the data: truncate -s 1G img && mkfs.ext3 -F img && mount -t ext4 img mnt echo | dd of=mnt/src bs=1 count=1 seek=64K install mnt/src mnt/dst cmp mnt/src mnt/dst # differ: char 65537 Reconciling a hole with the extent status tree does not depend on how the hole was found, so instead of open coding it a second time, split the delalloc handling out of ext4_ext_determine_insert_hole() into ext4_determine_insert_hole(), which takes the hole the caller located, and call that from ext4_ind_map_blocks() as well. All the special cases and the comments explaining them stay in one place. Two things change for indirect-mapped inodes. They now cache the holes they report, as the extent-mapped path already does: ext4_punch_hole() already puts EXTENT_STATUS_HOLE on such inodes, ext4_map_blocks() and ext4_da_map_blocks() already handle a cached hole, the latter by replacing it with the delayed extent, and consecutive hole entries merge, so the tree does not grow with the length of a scan. And when a delayed extent covers the queried block itself - a race, since ext4_map_blocks() found nothing in the tree just before - the hole is now reported only up to the end of that extent instead of in full. The indirect path passes hole_start == lblk, so the "delalloc extent in front of the queried range" case cannot be reached there: __es_tree_search() never returns an extent ending before the block it was searched for. With this the sweep above returns N << 12 for every N, while the nodelalloc and extent-mapped controls are unchanged. generic/225, generic/285, generic/448 and generic/490 pass on ext4 made both with and without the extent feature. generic/286 and generic/436 pass on extent-mapped ext4 and are skipped without it, since they need fallocate.
From the CVE record by Linux, last updated November 30, 2026, 13:25 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Linux | Linux | not stated | |
| Linux | Linux | from 4.6 until the fixed versions | 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.63, 7.3.4, 7.4-rc1 |
As the CVE record by Linux states it, last updated November 30, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Is CVE-2026-138874 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 0.22% probability of exploitation activity in the next 30 days, percentile 13.3 (FIRST EPSS, scores of December 3, 2026)
Where are the vendor advisories and references?
- https://git.kernel.org/stable/c/0dab8a16b6ed2223752677708d6baeea28a345f5
- https://git.kernel.org/stable/c/d5a06544c167f0340e27f01726529bcccae5dd13
- https://git.kernel.org/stable/c/393750644067ac2f5c270b6f19211101e8e24401
- https://git.kernel.org/stable/c/90e1d218d7d659d20d362811212213e78ffaef36
- https://git.kernel.org/stable/c/6b0df768ac5e3442b6f019bc239ddfac8e98f70a
- https://git.kernel.org/stable/c/16c511466a87d53efab5fe100aa645e8633c7eda
- https://git.kernel.org/stable/c/aca0862b91dd5a8a25518b6f56b7547651307d50
- https://git.kernel.org/stable/c/aed43f47e1edeee1454eea86006a8c09480e5ed3
When was it published, and where is the official record?
- Reserved
- November 30, 2026
- Published
- November 30, 2026, 13:25 UTC
- CVE record updated
- November 30, 2026, 13:25 UTC by Linux
- NVD
- Received, last modified November 30, 2026, 14:17 UTC
- Last checked
- CVE list November 30, 2026, 13:30 UTC; NVD November 30, 2026, 15:09 UTC; KEV December 3, 2026, 18:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Linux?
- Jul 4, 2026CVE-2026-53362 Linux: heap buffer overflow exploited
- Jun 25, 2026CVE-2026-53266 Linux: out-of-bounds write (memory corruption) exploited
- May 23, 2026CVE-2026-46300 Linux: write-what-where Condition exploited
- Apr 22, 2026CVE-2026-31431 Linux: incorrect resource transfer exploited
- Oct 13, 2025CVE-2025-39964 Linux: race condition exploited
- Sep 5, 2025CVE-2025-39682 Linux: unusual condition not checked exploited
- Jul 22, 2025CVE-2025-38352 Linux: time-of-check time-of-use race condition exploited
- Dec 27, 2024CVE-2024-53197 Linux: out-of-bounds write (memory corruption) exploited
Questions about CVE-2026-138874
Is CVE-2026-138874 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:09 UTC. FIRST's EPSS gives it a 0.22% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Linux are affected by CVE-2026-138874?
Linux from 4.6 until the fixed versions, per the CVE record by Linux. The tables above give every range the sources list.
Which version fixes CVE-2026-138874?
5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117 and 6.18.63, per the CVE record by Linux. Check the vendor's advisory before you rely on it.
Where is the official record of CVE-2026-138874?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.