Kernel memory corruption via stale dirty-inode entry
Published Aug 19, 2025 · Updated Aug 5, 2026
Use-after-free in the Linux kernel F2FS inode code from 4.8 allows local users to crash the system through a crafted F2FS image. f2fs_evict_inode leaves an evicted inode on the global DIRTY_META list when FI_DIRTY_INODE is not cleared, so f2fs_sync_inode_meta dereferences the freed inode during checkpointing. An attacker needs local access to a mounted F2FS volume and ordinary file operations; successful triggering can corrupt kernel memory or panic the system.
Summary
What happened
Use-after-free in the Linux kernel F2FS inode code from 4.8 allows local users to crash the system through a crafted F2FS image. f2fs_evict_inode leaves an evicted inode on the global DIRTY_META list when FI_DIRTY_INODE is not cleared, so f2fs_sync_inode_meta dereferences the freed inode during checkpointing. An attacker needs local access to a mounted F2FS volume and ordinary file operations; successful triggering can corrupt kernel memory or panic the system.
The record
- CVE
- CVE-2025-38578
- Published
- Aug 19, 2025
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Aug 19, 2025CVE publishedPublication date reported by the CVE source.
- Aug 5, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0f18b462b2e5aff64b8638e8a47284b907351ef3 <1edf68272b8cba2b2817ef1488ecb9f0f84cb6a0
- Affected versionversion=0f18b462b2e5aff64b8638e8a47284b907351ef3 <37e78cad7e9e025e63bb35bc200f44637b009bb1
- Affected versionversion=0f18b462b2e5aff64b8638e8a47284b907351ef3 <3d37cadaac1a8e108e576297aab9125b24ea2dfe
- Affected versionversion=0f18b462b2e5aff64b8638e8a47284b907351ef3 <4dcd830c420f2190ae32f03626039fde7b57b2ad
- Affected versionversion=0f18b462b2e5aff64b8638e8a47284b907351ef3 <6cac47af39b2b8edbb41d47c3bd9c332f83e9932
- Affected versionversion=0f18b462b2e5aff64b8638e8a47284b907351ef3 <7c30d79930132466f5be7d0b57add14d1a016bda
- Affected versionversion=0f18b462b2e5aff64b8638e8a47284b907351ef3 <917ae5e280bc263f56c83fba0d0f0be2c4828083
- Affected versionversion=0f18b462b2e5aff64b8638e8a47284b907351ef3 <a4b0cc9e0bba7525a29f37714e88df12a47997a2
- Affected versionversion=0f18b462b2e5aff64b8638e8a47284b907351ef3 <dea243f58a8391e76f42ad5eb59ff210519ee772
- Affected versionversion=4.8
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo