In the Linux kernel, the following vulnerability has been resolved: f2fs: fix to detect potential corrupted nid in free_nid_list As reported,… (CVE-2025-68315)
A critical vulnerability in the Linux kernel's f2fs filesystem was resolved by adding a sanity check in f2fs_alloc_nid() to detect potential corruption in the free_nid_list. The issue involved on-disk footer.ino and footer.nid being identical and out-of-range, which could lead to corrupted node IDs. This vulnerability has been addressed in the Linux kernel source code.
AI Analysis
Technical Summary
The Linux kernel contained a vulnerability in the f2fs filesystem where the on-disk footer inode number (footer.ino) and node ID (footer.nid) were the same and out-of-range, potentially causing corruption in the free_nid_list. The fix introduces a sanity check in the f2fs_alloc_nid() function to detect such corruption and prevent related issues. This vulnerability is tracked as CVE-2025-68315 and has a CVSS 3.1 base score vector indicating network attack vector, low attack complexity, no privileges required, no user interaction, unchanged scope, and high impact on confidentiality, integrity, and availability.
Potential Impact
If exploited, this vulnerability could allow an attacker to cause significant corruption within the f2fs filesystem, potentially leading to data loss or system compromise due to corrupted node IDs. The CVSS vector indicates a critical impact on confidentiality, integrity, and availability without requiring privileges or user interaction.
Mitigation Recommendations
A fix for this vulnerability has been implemented in the Linux kernel by adding a sanity check in the f2fs_alloc_nid() function. Users and administrators should update to the latest Linux kernel version that includes this fix. Patch status is not explicitly confirmed in the provided data; therefore, verify with the official Linux kernel advisories or repositories for the exact fixed version and apply updates accordingly.
In the Linux kernel, the following vulnerability has been resolved: f2fs: fix to detect potential corrupted nid in free_nid_list As reported,… (CVE-2025-68315)
Description
A critical vulnerability in the Linux kernel's f2fs filesystem was resolved by adding a sanity check in f2fs_alloc_nid() to detect potential corruption in the free_nid_list. The issue involved on-disk footer.ino and footer.nid being identical and out-of-range, which could lead to corrupted node IDs. This vulnerability has been addressed in the Linux kernel source code.
CVSS v3.1
Score 9.8critical
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel contained a vulnerability in the f2fs filesystem where the on-disk footer inode number (footer.ino) and node ID (footer.nid) were the same and out-of-range, potentially causing corruption in the free_nid_list. The fix introduces a sanity check in the f2fs_alloc_nid() function to detect such corruption and prevent related issues. This vulnerability is tracked as CVE-2025-68315 and has a CVSS 3.1 base score vector indicating network attack vector, low attack complexity, no privileges required, no user interaction, unchanged scope, and high impact on confidentiality, integrity, and availability.
Potential Impact
If exploited, this vulnerability could allow an attacker to cause significant corruption within the f2fs filesystem, potentially leading to data loss or system compromise due to corrupted node IDs. The CVSS vector indicates a critical impact on confidentiality, integrity, and availability without requiring privileges or user interaction.
Mitigation Recommendations
A fix for this vulnerability has been implemented in the Linux kernel by adding a sanity check in the f2fs_alloc_nid() function. Users and administrators should update to the latest Linux kernel version that includes this fix. Patch status is not explicitly confirmed in the provided data; therefore, verify with the official Linux kernel advisories or repositories for the exact fixed version and apply updates accordingly.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-9w55-r5pp-5hfx
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2025-68315"]
- Database Specific Severity
- CRITICAL
- Cvss Version
- 3.1
Threat ID: 6a6b72d29c2644c7f8477cbb
Added to database: 07/30/2026, 15:50:42 UTC
Last enriched: 07/30/2026, 18:53:48 UTC
Last updated: 09/10/2026, 19:38:50 UTC
Views: 10
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.