Linux Kernel F2FS Filesystem Truncation Error Vulnerability

Vulnerability

A vulnerability in the Linux kernel's F2FS (Flash-Friendly File System) implementation has been addressed. The issue arose in the truncation process of inline data, where an error path failed to properly manage the page cache. This oversight led to a kernel bug, as the eviction process detected an inconsistency in the inode's page data, indicating that not all cached pages had been cleared before the inode was destroyed. The vulnerability was reported by syzbot, a tool that identifies bugs in the Linux kernel.

Impact

The vulnerability could lead to a kernel panic, as the eviction process encounters a bug due to untruncated cached pages, causing the inode management to fail.

Reproduction

The vulnerability can be reproduced by mounting a loop device with an F2FS filesystem that has corrupted inline inodes. This can be done by creating a filesystem image that simulates the conditions reported by syzbot, including invalid CRC values and SSA boundary errors. Once this image is created, it can be mounted as an F2FS filesystem, triggering the truncation error during the eviction process of the inode.

Remediation

Users can apply the latest patches available in the Linux kernel stable tree to address this vulnerability.

Added: Nov 12, 2025, 11:54 AM
Updated: Nov 12, 2025, 5:29 PM

Vulnerability Rating

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