Skip to contentSkip to conversation

CVE-2026-45899: ext4: drop extent cache when splitting extent fails

DISCUSSION Greg Kroah-Hartman 1 participant 1 message May 27

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

ext4: drop extent cache when splitting extent fails

When the split extent fails, we might leave some extents still being processed and return an error directly, which will result in stale extent entries remaining in the extent status tree. So drop all of the remaining potentially stale extents if the splitting fails.

The Linux kernel CVE team has assigned CVE-2026-45899 to this issue.

Affected and fixed versions
===========================

	Fixed in 5.10.253 with commit 6e54f8dfee359bbd58086c883ea8cffd5312999d
	Fixed in 5.15.203 with commit 337506dc652383c80839edb8d8dcdd8ff2129b4f
	Fixed in 6.6.130 with commit dc7c9b9d03a59a7fe483574531327e650a4b4adc
	Fixed in 6.12.75 with commit 120c6bd7ca9d3e80a968b758cbb3fbd67570f132
	Fixed in 6.18.14 with commit 808f3191498f300174523c54cab101e18795ae4e
	Fixed in 6.19.4 with commit 31bf37cf53ede8145e2bc62da803d4506da92975
	Fixed in 7.0 with commit 79b592e8f1b435796cbc2722190368e3e8ffd7a1

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-45899

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
fs/ext4/extents.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/6e54f8dfee359bbd58086c883ea8cffd5312999d
	https://git.kernel.org/stable/c/337506dc652383c80839edb8d8dcdd8ff2129b4f
	https://git.kernel.org/stable/c/dc7c9b9d03a59a7fe483574531327e650a4b4adc
	https://git.kernel.org/stable/c/120c6bd7ca9d3e80a968b758cbb3fbd67570f132
	https://git.kernel.org/stable/c/808f3191498f300174523c54cab101e18795ae4e
	https://git.kernel.org/stable/c/31bf37cf53ede8145e2bc62da803d4506da92975
	https://git.kernel.org/stable/c/79b592e8f1b435796cbc2722190368e3e8ffd7a1