
Cloud Vulnerability DB
A community-led vulnerabilities database
In the Linux kernel, a vulnerability (CVE-2025-38626) was discovered in the f2fs filesystem component when using the 'mode=lfs' mount option. The issue was identified on August 22, 2025, and involves a system panic condition in the filesystem's block allocation mechanism (NVD).
The vulnerability occurs in the f2fsmapblocks() function when operating in lfs mode with the 'mode=lfs' mount option. The issue manifests as a kernel BUG at fs/f2fs/segment.c:2835, triggered during block allocation processes. The root cause is related to the timing of foreground garbage collection (gc) operations, particularly when multiple threads are writing data in parallel using aio/dio/bufio methods. Due to aggressive block allocation in lfs mode using OPU (Opportunistic Power Up), the system can run out of space before triggering necessary garbage collection (NVD).
When exploited, this vulnerability results in a system panic, effectively causing a denial of service condition. The issue particularly affects systems using the F2FS filesystem with specific mount options, potentially disrupting system operations and availability (NVD).
The fix involves modifying the f2fsmapblocks() function to trigger foreground garbage collection prior to block allocation, preventing the out-of-space condition that leads to the system panic (NVD).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."