Linux Kernel F2FS Filesystem Race Condition Vulnerability in Remount Operation

Vulnerability

A race condition vulnerability has been identified in the Linux kernel's F2FS (Flash-Friendly File System) implementation. This issue arises during the remount operation of a read-write filesystem, where the default mount options are reset and then updated based on parsed options. The vulnerability can be exploited by manipulating the timing of the remount and file allocation operations, leading to a general protection fault. The vulnerability affects the Linux kernel's stable releases.

Impact

Exploitation of this vulnerability causes a general protection fault, likely due to accessing a null pointer, which can lead to a crash or undefined behavior in the kernel.

Reproduction

The vulnerability can be reproduced by performing a file allocation operation (using the fallocate system call) while simultaneously remounting the filesystem. This can be done by clearing the 'READ_EXTENT_CACHE' option during the remount process, creating a window where the file allocation operation can access a null pointer, causing a general protection fault.

Remediation

Users can upgrade to the latest version of the Linux kernel where this vulnerability has been addressed. Instructions for downloading the patched version are available on the Linux kernel official website.

Added: Sep 18, 2025, 4:33 PM
Updated: Sep 18, 2025, 4:33 PM

Vulnerability Rating

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

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