Skip to contentSkip to conversation

CVE-2026-100073: ext4: fix transaction overflow during writeback

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 25

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: fix transaction overflow during writeback

Commit 95ad8ee45cdb ("ext4: correct the reserved credits for extent conversion") was correct to note that we need to reserve enough credits for all extents possibly underlying a large folio. However it was too eager to reduce the number of reserved credits. Extent conversion may not only need to touch several leaf extent blocks, it may also need to split extents - for example a single large unwritten extent may need to be split into many small written ones in case of sparse folio dirtying. This can thus result not only in extent leaf modifications but also in a need to allocate new extent tree nodes. As a result the reserved transaction credits were not sufficient in some corner cases. Use ext4_meta_trans_blocks() for correct upper bound credit estimate.

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

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

	Issue introduced in 6.17 with commit 95ad8ee45cdbc321c135a2db895d48b374ef0f87 and fixed in 7.2.6 with commit a22464c5df5827e884a5a7d3d8fb03870e5bb6c8
	Issue introduced in 6.17 with commit 95ad8ee45cdbc321c135a2db895d48b374ef0f87 and fixed in 7.3-rc1 with commit 46e8e31771f4f1c5e1cdec37a889a6730e42e9f1
	Issue introduced in 6.16.3 with commit 2b6d39229bc783198222cddd31e2fbded93c8db7

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-100073

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/inode.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/a22464c5df5827e884a5a7d3d8fb03870e5bb6c8
	https://git.kernel.org/stable/c/46e8e31771f4f1c5e1cdec37a889a6730e42e9f1