Linux Kernel F2FS File System Use-After-Free Vulnerability in IPU Bio Caching

Vulnerability

A use-after-free vulnerability has been identified in the F2FS (Flash-Friendly File System) component of the Linux kernel. This issue arises when the F2FS write-back process mishandles cached I/O bio (block I/O) data, particularly after an error condition is set. The vulnerability allows for the potential execution of arbitrary code or causing a system crash by freeing memory that is still in use, leading to undefined behavior.

Impact

Exploitation of this vulnerability can lead to a use-after-free condition, where the system mistakenly accesses freed memory, potentially allowing for arbitrary code execution or causing a system crash.

Reproduction

The vulnerability can be reproduced by running the F2FS file system with a workload that triggers the caching of IPU (Inode Processing Unit) bio data. After an error is introduced in the file system's control process, the vulnerability manifests when the system attempts to flush the cached bio data without properly checking its validity, leading to the use-after-free condition.

Remediation

Users can upgrade to the latest version of the Linux kernel where this vulnerability has been patched. The specific commit addressing this issue is available in the Linux kernel stable tree.

Added: Oct 4, 2025, 7:05 PM
Updated: Oct 4, 2025, 7:05 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
4.3
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.