Skip to contentSkip to conversation

CVE-2026-89829: f2fs: fix to pass folio->index to f2fs_sanity_check_node_footer()

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 16

lore
Share & tools
lore
#0 lore raw

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

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

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

f2fs: fix to pass folio->index to f2fs_sanity_check_node_footer()

Otherwise in f2fs_sanity_check_node_footer(), it will check the same nid incorrectly.

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

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

	Issue introduced in 6.18.13 with commit cd2fec912a0f04390d446ed692f73f2da842855f and fixed in 6.18.51 with commit a984446aa9d5b787afa3023fc7b44017b80fe3bc
	Issue introduced in 7.0 with commit 0a736109c9d29de0c26567e42cb99b27861aa8ba and fixed in 7.2.5 with commit 0b196c07407f48a41cd9741cf53e10cb1e23d2e5
	Issue introduced in 7.0 with commit 0a736109c9d29de0c26567e42cb99b27861aa8ba and fixed in 7.3-rc1 with commit 7e188e9f9437ab47c3237d609f1b26348d6fea1a
	Issue introduced in 6.19.3 with commit 971aa8e2a4043d92bf62061b79f74fd4ac59165a

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

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/f2fs/node.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/a984446aa9d5b787afa3023fc7b44017b80fe3bc
	https://git.kernel.org/stable/c/0b196c07407f48a41cd9741cf53e10cb1e23d2e5
	https://git.kernel.org/stable/c/7e188e9f9437ab47c3237d609f1b26348d6fea1a