Linux Kernel F2FS Filesystem IS_CHECKPOINTED Flag Inconsistency Vulnerability

Vulnerability

A vulnerability has been identified in the Linux kernel's F2FS (Flash-Friendly File System) implementation. This issue arises from a concurrency problem between atomic write commits and checkpoint operations, leading to an inconsistency in the IS_CHECKPOINTED flag. During specific test scenarios, an -EINVAL error was returned while recovering inode pages, indicating that the checkpointing process had not been properly synchronized with ongoing write operations. As a result, the F2FS filesystem could fail to correctly manage data consistency during file synchronization processes, particularly under atomic write conditions.

Impact

The vulnerability can cause data consistency issues within the F2FS filesystem, particularly during atomic write operations, leading to potential data corruption or loss.

Reproduction

The vulnerability can be reproduced by performing atomic write operations on F2FS while simultaneously initiating checkpoint writes. This can be done by using the F2FS 'commit' IO control operation, which triggers atomic writes, and then manually starting a write checkpoint operation before the atomic write has been fully synchronized. This sequence creates a race condition that exposes the flag inconsistency issue.

Remediation

Users can apply the latest patches available in the Linux kernel stable tree to address this vulnerability. Instructions for downloading the patched version can be found in the Linux kernel Git repository.

Added: Mar 18, 2026, 7:43 PM
Updated: Mar 18, 2026, 7:43 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
3.9
remediation
7.7
relevance
4.1
threat
4.8
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.