Skip to contentSkip to conversation

CVE-2026-89832: f2fs: fix to clear dirty flag on folio in error path

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 clear dirty flag on folio in error path

If node block is corrupted due to chksum mismatch or inconsistent footer info, it needs to drop clear flag of node folio, in order to persist inconsistent node data to storage.

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

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

	Issue introduced in 5.2 with commit b42b179bda9ff11075a6fc2bac4d9e400513679a and fixed in 6.18.51 with commit ab35ae07f2b5b4e118ea47b88577fc7d0e797b17
	Issue introduced in 5.2 with commit b42b179bda9ff11075a6fc2bac4d9e400513679a and fixed in 7.2.5 with commit 3923ec2b98c96dda4a8bfab81d22553dbf0dd6c2
	Issue introduced in 5.2 with commit b42b179bda9ff11075a6fc2bac4d9e400513679a and fixed in 7.3-rc1 with commit 5b86eab84ac8e9289b5afc52ef88ab18ba5bacab
	Issue introduced in 4.19.51 with commit 8d7ebdd109b4654ec5e0e9c3c6f08b06d6558f10
	Issue introduced in 5.1.10 with commit b039536485970829918aa237a08417bd0ed5437c

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

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/ab35ae07f2b5b4e118ea47b88577fc7d0e797b17
	https://git.kernel.org/stable/c/3923ec2b98c96dda4a8bfab81d22553dbf0dd6c2
	https://git.kernel.org/stable/c/5b86eab84ac8e9289b5afc52ef88ab18ba5bacab