
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-38652 is a vulnerability discovered in the Linux kernel's F2FS (Flash-Friendly File System) implementation, disclosed on August 22, 2025. The vulnerability relates to an out-of-boundary access issue in the devs.path component when handling device paths that equal MAX_PATH_LEN (NVD).
The vulnerability occurs when a device path length equals MAX_PATH_LEN, causing sbi->devs.path[] to potentially lack a null terminator due to the path array being fully filled. This can lead to fields located after path[] being incorrectly interpreted as part of the device path, resulting in parsing errors. The issue affects the struct f2fs_dev_info structure's path handling (NVD).
The vulnerability could lead to incorrect device path parsing in the F2FS filesystem, potentially causing system instability or failures when mounting F2FS filesystems with specifically crafted path lengths. This affects various Linux distributions including Debian's bullseye, bookworm, and trixie releases (Debian Tracker).
The issue has been fixed in Linux kernel version 6.16.3-1 and later releases. The fix involves adding one byte space for sbi->devs.path[] to properly store the null character of the device path string. Users are advised to upgrade to the fixed versions available in their respective distributions (Debian Tracker).
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."