CVE-2025-38627
BaseFortify
Publication date: 2025-08-22
Last updated on: 2026-03-25
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | From 5.15.160 (inc) to 5.16 (inc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-416 | The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is a Use-After-Free (UAF) issue in the Linux kernel's f2fs filesystem compression code. Specifically, the f2fs_inode_info structure can be freed asynchronously after I/O completion if a file is deleted immediately after being read. Due to high workloads, the kernel worker thread that processes freeing this structure may not have run yet, causing the inode to be evicted and freed before it is used, leading to a UAF condition. The patch fixes this by storing necessary data in the decompression context to avoid referencing the freed inode.
How can this vulnerability impact me? :
This vulnerability can lead to a Use-After-Free condition in the kernel, which may cause system instability, crashes, or potentially allow an attacker to execute arbitrary code or escalate privileges by exploiting the freed memory. It can affect system reliability and security if an attacker can trigger the condition by deleting files immediately after reading them under high workload conditions.