In the Linux kernel, the following vulnerability has been resolved: f2fs: fix to do sanity check on node footer for non inode dnode As syzbot… (CVE-2025-40025)
A vulnerability in the Linux kernel's f2fs filesystem driver was resolved that could cause a kernel panic due to improper sanity checks on node footers for non-inode dnodes. The issue arises when a non-inode dnode is misinterpreted as an inode because it shares the same footer identifiers, leading to incorrect block address calculations and a subsequent kernel panic. This flaw was identified and fixed by introducing a new node type and enhanced footer sanity checks to detect such corruption.
AI Analysis
Technical Summary
The Linux kernel f2fs filesystem had a vulnerability where non-inode dnodes could be misparsed as inodes due to identical footer inode and node IDs. This caused incorrect block address calculations in f2fs_truncate_hole(), potentially triggering a kernel panic. The root cause was that the existing sanity checks did not differentiate non-inode dnodes properly, allowing corrupted or malformed nodes to cause system instability. The fix introduced a new node type NODE_TYPE_NON_INODE and updated sanity_check_node_footer() to validate node footers correctly, preventing the misinterpretation and associated panic.
Potential Impact
Exploitation of this vulnerability can lead to a kernel panic, causing denial of service on affected systems running the vulnerable Linux kernel with f2fs filesystem. The impact includes system instability and potential data loss due to unexpected crashes during filesystem operations involving truncation holes. The CVSS vector indicates high confidentiality, integrity, and availability impact, but no known exploits are reported in the wild at this time.
Mitigation Recommendations
A fix for this vulnerability has been implemented in the Linux kernel. Users should update to a kernel version that includes this patch to prevent the issue. Since no specific patch links or vendor advisories are provided, check the official Linux kernel repositories or distributions for the updated kernel version containing this fix. Until patched, avoid operations that may trigger the vulnerability such as truncation hole operations on f2fs filesystems with potentially corrupted nodes.
In the Linux kernel, the following vulnerability has been resolved: f2fs: fix to do sanity check on node footer for non inode dnode As syzbot… (CVE-2025-40025)
Description
A vulnerability in the Linux kernel's f2fs filesystem driver was resolved that could cause a kernel panic due to improper sanity checks on node footers for non-inode dnodes. The issue arises when a non-inode dnode is misinterpreted as an inode because it shares the same footer identifiers, leading to incorrect block address calculations and a subsequent kernel panic. This flaw was identified and fixed by introducing a new node type and enhanced footer sanity checks to detect such corruption.
CVSS v3.1
Score 7.8high
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel f2fs filesystem had a vulnerability where non-inode dnodes could be misparsed as inodes due to identical footer inode and node IDs. This caused incorrect block address calculations in f2fs_truncate_hole(), potentially triggering a kernel panic. The root cause was that the existing sanity checks did not differentiate non-inode dnodes properly, allowing corrupted or malformed nodes to cause system instability. The fix introduced a new node type NODE_TYPE_NON_INODE and updated sanity_check_node_footer() to validate node footers correctly, preventing the misinterpretation and associated panic.
Potential Impact
Exploitation of this vulnerability can lead to a kernel panic, causing denial of service on affected systems running the vulnerable Linux kernel with f2fs filesystem. The impact includes system instability and potential data loss due to unexpected crashes during filesystem operations involving truncation holes. The CVSS vector indicates high confidentiality, integrity, and availability impact, but no known exploits are reported in the wild at this time.
Mitigation Recommendations
A fix for this vulnerability has been implemented in the Linux kernel. Users should update to a kernel version that includes this patch to prevent the issue. Since no specific patch links or vendor advisories are provided, check the official Linux kernel repositories or distributions for the updated kernel version containing this fix. Until patched, avoid operations that may trigger the vulnerability such as truncation hole operations on f2fs filesystems with potentially corrupted nodes.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-j968-frjr-f6j9
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2025-40025"]
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6a6b72d79c2644c7f847b4fe
Added to database: 07/30/2026, 15:50:47 UTC
Last enriched: 07/30/2026, 16:09:56 UTC
Last updated: 09/10/2026, 19:38:46 UTC
Views: 20
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.