KernelScan.io

HIGH

f2fs NodeFolio Corruption

CVE-2026-89832

CVSS 7.8 / 10.0 NVD

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

KernelScan AI6.1MEDIUM

01

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.

02

Engine v0.6.0

Risk summary

A crafted or corrupted f2fs filesystem image can cause the kernel to persist inconsistent node data to storage because the error path fails to clear the dirty flag on the folio. This permanently corrupts the filesystem and can lead to kernel panics or data exposure when the corrupted data is later read. Any local user with access to files on an affected f2fs filesystem can trigger the vulnerable code path.

Affectedfs/f2fs/node.c (f2fs filesystem)

Vulnerability analysis

When f2fs detects a corrupted node block during checksum verification, the error path fails to prevent the corrupted data from being written back to storage, which can permanently damage the filesystem. The fix ensures that corrupted node data is discarded rather than persisted when an error is detected. This vulnerability is reachable by mounting a crafted f2fs filesystem image, which requires root privileges, or by any local user performing file operations on an already-mounted f2fs filesystem that contains corrupted node blocks.

03

BranchIntroducedFixed inPatch commit
4.194.19.514.2021b7f66716b4
5.15.1.105.234732e3a8713
6.12—6.12.1123923ec2b98c9
6.18—6.18.515b86eab84ac8
6.6—6.6.160ab35ae07f2b5
7.2—7.2.5—
mainline—7.3—
cip/6.12—6.12.112-cip3334732e3a8713

04

State of the newest release of each Civil Infrastructure Platform SLTS tree, from CIP's own fix records.

CIP treeState
cip/6.12Fixed in 6.12.112-cip33
cip/4.19Affected — no CIP fix yet (latest 4.19.325-cip136)
cip/4.19-rtAffected — no CIP fix yet (latest 4.19.325-cip136-rt50)