
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-68315 is a vulnerability in the Linux kernel's f2fs (Flash-Friendly File System) component involving insufficient validation of node IDs (nids) in the free_nid_list. Specifically, on-disk footer.ino and footer.nid values can be identical and out-of-range, allowing potentially corrupted nids to pass undetected through f2fs_alloc_nid(). The vulnerability was published on December 16, 2025, and affects Linux kernel versions from the initial commit up to the patched releases 6.12.58, 6.17.8, and 6.18 (Red Hat Advisory, Red Hat Bugzilla). Feedly estimates the severity as Medium, with an EPSS score of 0.017% (Feedly).
The root cause is insufficient input validation (CWE-20) in the f2fs file system's node ID allocation path. When the kernel mounts a crafted or corrupted f2fs volume, the f2fs_alloc_nid() function fails to detect cases where footer.ino and footer.nid are identical and fall outside the valid range, allowing corrupted nids from free_nid_list to be used. The fix adds a sanity check in f2fs_alloc_nid() to reject such out-of-range or inconsistent nid values before they propagate further into the file system (Red Hat Bugzilla, ENISA EUVD). Exploitation would require the ability to mount or interact with a specially crafted f2fs filesystem image.
Successful exploitation could lead to file system corruption or unexpected kernel behavior when processing a malformed f2fs volume. The primary risks are data corruption, system instability, or potential unauthorized access to file system structures through the corrupted nid path. The impact is generally limited to systems that mount untrusted or attacker-controlled f2fs filesystem images (Red Hat Advisory, Feedly).
There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation as of the time of publication (Feedly). The EPSS score is 0.017%, reflecting a very low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. No threat actor attribution has been reported.
Update to a patched Linux kernel version: 6.12.58, 6.17.8, or 6.18, which include the fix adding a sanity check in f2fs_alloc_nid() (ENISA EUVD, Red Hat Bugzilla). As a workaround, avoid mounting untrusted or externally sourced f2fs filesystem images on unpatched systems. Regularly validate file system integrity using available f2fs tools (e.g., fsck.f2fs) on systems where f2fs volumes are in use.
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."