VDB

CVE-2026-45912

CVE-2026-45912 PUBLISHED

ext4: don't cache extent during splitting extent

Reported by linux · Published May 27, 2026

In the Linux kernel, the following vulnerability has been resolved: ext4: don't cache extent during splitting extent Caching extents during the splitting process is risky, as it may result in stale extents remaining in the status tree. Moreover, in most cases, the corresponding extent block entries are likely already cached before the split happens, making caching here not particularly useful. Assume we have an unwritten extent, and then DIO writes the first half. [UUUUUUUUUUUUUUUU] on-disk extent U: unwritten extent [UUUUUUUUUUUUUUUU] extent status tree |<- ->| ----> dio write this range First, when ext4_split_extent_at() splits this extent, it truncates the existing extent and then inserts a new one. During this process, this extent status entry may be shrunk, and calls to ext4_find_extent() and ext4_cache_extents() may occur, which could potentially insert the truncated range as a hole into the extent status tree. After the split is completed, this hole is not replaced with the correct status. [UUUUUUU|UUUUUUUU] on-disk extent U: unwritten extent [UUUUUUU|HHHHHHHH] extent status tree H: hole Then, the outer calling functions will not correct this remaining hole extent either. Finally, if we perform a delayed buffer write on this latter part, it will re-insert the delayed extent and cause an error in space accounting. In adition, if the unwritten extent cache is not shrunk during the splitting, ext4_cache_extents() also conflicts with existing extents when caching extents. In the future, we will add checks when caching extents, which will trigger a warning. Therefore, Do not cache extents that are being split.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel-headersAmazon Linux1:6.1.166-197.305.amzn2023
kernelAmazon Linux1:6.1.166-197.305.amzn2023
kernel6.18-modules-extra-commonAmazon Linux1:6.18.15-14.217.amzn2023
bpftoolAmazon Linux1:6.1.166-197.305.amzn2023
LinuxLinux8302b5b4aacdbb378f7b1216bb2ee782b5142415, 692103feca376ae4298c92aa8828015d20f1d87b, 5b1f4290453314e11cd8e15c7baa8a9b76c19b23, 4c2d9dac4d328244f9365b0a1fa27ec802821820, 3.12

Affected products

VendorProductVersions
LinuxLinux107a7bd31ac003e42c0f966aa8e5b26947de6024, 107a7bd31ac003e42c0f966aa8e5b26947de6024, 107a7bd31ac003e42c0f966aa8e5b26947de6024
LinuxLinux3.12, 0, 5.10.252
amazon:2023kernel-headers0
amazon:2023kernel0
amazon:2023kernel6.18-modules-extra-common0
amazon:2023bpftool0
LinuxLinux107a7bd31ac003e42c0f966aa8e5b26947de6024, 107a7bd31ac003e42c0f966aa8e5b26947de6024, 7.0
amazon:2023kernel-libbpf-devel0
amazon:2023kernel6.18-tools-devel0
amazon:2023kernel6.12-modules-extra-common0
amazon:2023bpftool6.180
amazon:2023kernel6.12-devel0
amazon:2023kernel6.18-libbpf-devel0
amazon:2023kernel-libbpf0
amazon:2023kernel6.18-libbpf-static0
amazon:2023kernel6.18-tools0
amazon:2023kernel6.12-libbpf-static0
amazon:2023kernel-tools0
amazon:2023kernel-devel0
amazon:2023kernel-livepatch-6.1.166-197.3050

…and 26 more

Timeline

  • May 27, 2026 CVE Published
  • May 28, 2026 EPSS Score (12 in total, the first dated here)
  • May 29, 2026 Security Advisory (131 in total, the first dated here)
  • Jun 4, 2026 Coalition ESS Score
  • Aug 11, 2026 Distribution Patch (128 in total, the first dated here)
  • Nov 6, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-45912
vulnetix vdb fixes CVE-2026-45912

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-45912/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›