f2fs: fix to tag gcing flag on page during block migration
Description
Missing gcing flag on f2fs pages during block migration can cause data corruption after sudden power-off recovery.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Missing gcing flag on f2fs pages during block migration can cause data corruption after sudden power-off recovery.
Vulnerability
In the Linux kernel's f2fs filesystem, during block migration, the gcing flag was not set on migrated pages. This flag is required to guarantee that migrated data is persisted during checkpoint. Without it, out-of-order persistence between data and node can lead to data corruption after a sudden power-off recovery (SPOR). The issue affects Linux kernel versions prior to the fix commit 7ea0f29d9fd8. A similar issue was previously fixed for file defragmentation in commit 2d1fe8a86bf5.
Exploitation
An attacker with the ability to trigger block migration operations on an f2fs filesystem can exploit this vulnerability. No special privileges beyond normal user access are required to perform the migration. The exploitation sequence involves performing block migration and then causing a sudden power-off. The missing gcing flag results in data and node updates being persisted out of order, leading to corruption upon recovery.
Impact
Successful exploitation leads to data integrity compromise, specifically data corruption after the system recovers from an unexpected power loss. The corruption affects the files stored on the f2fs filesystem. There is no privilege escalation; the impact is limited to integrity and availability of data.
Mitigation
The vulnerability is fixed in the Linux kernel via commit 7ea0f29d9fd8. Users should update to a kernel version that includes this fix. If an immediate update is not possible, avoid performing block migration operations on f2fs filesystems to reduce the risk. No workaround other than patching is available in the provided reference [1].
AI Insight generated on May 25, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
7- osv-coords4 versionspkg:deb/ubuntu/linux-aws@6.5.0-1021.21?arch=source&distro=manticpkg:deb/ubuntu/linux-laptop@6.5.0-1017.20?arch=source&distro=manticpkg:deb/ubuntu/linux-oem-6.5pkg:deb/ubuntu/linux-oracle@6.5.0-1024.24?arch=source&distro=mantic
< 6.5.0-1021.21+ 3 more
- (no CPE)range: < 6.5.0-1021.21
- (no CPE)range: < 6.5.0-1017.20
- (no CPE)range: < 6.5.0-1022.23
- (no CPE)range: < 6.5.0-1024.24
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
5- git.kernel.org/stable/c/417b8a91f4e8831cadaf85c3f15c6991c1f54ddemitre
- git.kernel.org/stable/c/4961acdd65c956e97c1a000c82d91a8c1cdbe44bmitre
- git.kernel.org/stable/c/7c972c89457511007dfc933814c06786905e515cmitre
- git.kernel.org/stable/c/7ea0f29d9fd84905051be020c0df7d557e286136mitre
- git.kernel.org/stable/c/b8094c0f1aae329b1c60a275a780d6c2c9ff7aa3mitre
News mentions
0No linked articles in our index yet.