Local privilege escalation via deferred inode use-after-free
Published Aug 22, 2025 · Updated Aug 5, 2026
Use-after-free in Linux kernel F2FS compression in 6.0 through 6.16 allows local users to access kernel memory or crash the system. f2fs_free_dic dereferences dic->inode after asynchronous decompression cleanup allows RCU to free the associated f2fs_inode_info. Reachability requires a compression-enabled F2FS volume, ordinary access to create and delete a file, and delayed post-read work; successful memory corruption grants kernel-level control.
Summary
What happened
Use-after-free in Linux kernel F2FS compression in 6.0 through 6.16 allows local users to access kernel memory or crash the system. f2fs_free_dic dereferences dic->inode after asynchronous decompression cleanup allows RCU to free the associated f2fs_inode_info. Reachability requires a compression-enabled F2FS volume, ordinary access to create and delete a file, and delayed post-read work; successful memory corruption grants kernel-level control.
The record
- CVE
- CVE-2025-38627
- Published
- Aug 22, 2025
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-416, T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Aug 22, 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=6.0
- Affected versionversion=bff139b49d9f70c1ac5384aac94554846aa834de <39868685c2a94a70762bc6d77dc81d781d05bff5
- Affected versionversion=bff139b49d9f70c1ac5384aac94554846aa834de <5d604d40cd3232b09cb339941ef958e49283ed0a
- Affected versionversion=bff139b49d9f70c1ac5384aac94554846aa834de <74cbeeca4f16823ba58c882e1d8b836c0e39c93d
- Affected versionversion=bff139b49d9f70c1ac5384aac94554846aa834de <8fae5b6addd5f6895e03797b56e3c7b9f9cd15c9
- Affected versionversion=bff139b49d9f70c1ac5384aac94554846aa834de <cc81768212cdc509e5a986274db7bc24d18cde19
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.
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