FKIE_CVE-2026-138874
Vulnerability from fkie_nvd - Published: 2026-11-30 14:17 - Updated: 2026-11-30 14:17| Vendor | Product | Version |
|---|
{
"affected": [
{
"affectedData": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"fs/ext4/ext4.h",
"fs/ext4/extents.c",
"fs/ext4/indirect.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "0dab8a16b6ed2223752677708d6baeea28a345f5",
"status": "affected",
"version": "facab4d9711e7aa3532cb82643803e8f1b9518e8",
"versionType": "git"
},
{
"lessThan": "d5a06544c167f0340e27f01726529bcccae5dd13",
"status": "affected",
"version": "facab4d9711e7aa3532cb82643803e8f1b9518e8",
"versionType": "git"
},
{
"lessThan": "393750644067ac2f5c270b6f19211101e8e24401",
"status": "affected",
"version": "facab4d9711e7aa3532cb82643803e8f1b9518e8",
"versionType": "git"
},
{
"lessThan": "90e1d218d7d659d20d362811212213e78ffaef36",
"status": "affected",
"version": "facab4d9711e7aa3532cb82643803e8f1b9518e8",
"versionType": "git"
},
{
"lessThan": "6b0df768ac5e3442b6f019bc239ddfac8e98f70a",
"status": "affected",
"version": "facab4d9711e7aa3532cb82643803e8f1b9518e8",
"versionType": "git"
},
{
"lessThan": "16c511466a87d53efab5fe100aa645e8633c7eda",
"status": "affected",
"version": "facab4d9711e7aa3532cb82643803e8f1b9518e8",
"versionType": "git"
},
{
"lessThan": "aca0862b91dd5a8a25518b6f56b7547651307d50",
"status": "affected",
"version": "facab4d9711e7aa3532cb82643803e8f1b9518e8",
"versionType": "git"
},
{
"lessThan": "aed43f47e1edeee1454eea86006a8c09480e5ed3",
"status": "affected",
"version": "facab4d9711e7aa3532cb82643803e8f1b9518e8",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"fs/ext4/ext4.h",
"fs/ext4/extents.c",
"fs/ext4/indirect.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "4.6"
},
{
"lessThan": "4.6",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.10.*",
"status": "unaffected",
"version": "5.10.275",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"version": "5.15.226",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"version": "6.1.193",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.6.*",
"status": "unaffected",
"version": "6.6.163",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.12.*",
"status": "unaffected",
"version": "6.12.117",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"version": "6.18.63",
"versionType": "semver"
},
{
"lessThanOrEqual": "7.3.*",
"status": "unaffected",
"version": "7.3.4",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "7.4-rc1",
"versionType": "original_commit_for_fix"
}
]
}
],
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}
],
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\next4: don\u0027t report delalloc data as a hole on indirect-mapped inodes\n\nWhen a plain lookup finds no block, ext4_ind_map_blocks() sizes the hole\nit reports by counting the empty subtrees under \u0027partial\u0027 in the on-disk\nindirect tree. That count knows nothing about delayed allocation, so a\nrange holding delalloc data that has not been written back yet is\nreported as a plain hole. The extent-mapped path does not have this\nproblem: it trims the hole it found at the first delayed extent before\nreturning it.\n\next4_map_blocks() consults the extent status tree before it calls into\nthe mapping layer, so a query that starts exactly on the delayed block\nstill finds it. A query that starts earlier does not, because the hole\nreported for the earlier block already spans the delayed one. On a\n4k-block filesystem, lseek(SEEK_DATA) from offset 0 on a file whose only\ndata block is at logical block N and is still dirty returns:\n\n N = 0..11 direct blocks N \u003c\u003c 12\n N = 12 first single-indirect block N \u003c\u003c 12\n N = 13..1035 inside that indirect block -1 ENXIO\n N = 1036 first double-indirect block N \u003c\u003c 12\n\nBlocks 12 and 1036 survive because the query lands on the delayed block\nitself. Blocks 13..1035 are swallowed by the 1024-block hole reported\nfor block 12. fiemap loses the same data for the same reason.\n\nAn ext3 filesystem mounted as ext4 hits this during ordinary use: ext3\ninodes stay indirect mapped, while mount -t ext4 turns on delayed\nallocation even though mounting ext3 with -o delalloc is explicitly\nrejected. install(1) from coreutils uses SEEK_DATA to locate data in\nits source file, so installing a sparse file that has not been written\nback silently produces a destination of the right size holding none of\nthe data:\n\n truncate -s 1G img \u0026\u0026 mkfs.ext3 -F img \u0026\u0026 mount -t ext4 img mnt\n echo | dd of=mnt/src bs=1 count=1 seek=64K\n install mnt/src mnt/dst\n cmp mnt/src mnt/dst # differ: char 65537\n\nReconciling a hole with the extent status tree does not depend on how\nthe hole was found, so instead of open coding it a second time, split\nthe delalloc handling out of ext4_ext_determine_insert_hole() into\next4_determine_insert_hole(), which takes the hole the caller located,\nand call that from ext4_ind_map_blocks() as well. All the special cases\nand the comments explaining them stay in one place.\n\nTwo things change for indirect-mapped inodes. They now cache the holes\nthey report, as the extent-mapped path already does: ext4_punch_hole()\nalready puts EXTENT_STATUS_HOLE on such inodes, ext4_map_blocks() and\next4_da_map_blocks() already handle a cached hole, the latter by\nreplacing it with the delayed extent, and consecutive hole entries\nmerge, so the tree does not grow with the length of a scan. And when a\ndelayed extent covers the queried block itself - a race, since\next4_map_blocks() found nothing in the tree just before - the hole is\nnow reported only up to the end of that extent instead of in full.\n\nThe indirect path passes hole_start == lblk, so the \"delalloc extent in\nfront of the queried range\" case cannot be reached there:\n__es_tree_search() never returns an extent ending before the block it\nwas searched for.\n\nWith this the sweep above returns N \u003c\u003c 12 for every N, while the\nnodelalloc and extent-mapped controls are unchanged. generic/225,\ngeneric/285, generic/448 and generic/490 pass on ext4 made both with and\nwithout the extent feature. generic/286 and generic/436 pass on\nextent-mapped ext4 and are skipped without it, since they need\nfallocate."
}
],
"id": "CVE-2026-138874",
"lastModified": "2026-11-30T14:17:44.300",
"metrics": {},
"published": "2026-11-30T14:17:44.300",
"references": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/0dab8a16b6ed2223752677708d6baeea28a345f5"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/16c511466a87d53efab5fe100aa645e8633c7eda"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/393750644067ac2f5c270b6f19211101e8e24401"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/6b0df768ac5e3442b6f019bc239ddfac8e98f70a"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/90e1d218d7d659d20d362811212213e78ffaef36"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/aca0862b91dd5a8a25518b6f56b7547651307d50"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/aed43f47e1edeee1454eea86006a8c09480e5ed3"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/d5a06544c167f0340e27f01726529bcccae5dd13"
}
],
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"vulnStatus": "Received"
}
Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline
Sightings and recorded dates, grouped by day · UTC
How durations are calculated
Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.
Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.
Loading timeline…
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.