PT-2025-34389 · F2Fs+5 · F2Fs+5
Published
2025-01-01
·
Updated
2026-05-07
·
CVE-2025-38627
CVSS v3.1
7.8
High
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions:
Linux kernel (affected versions not specified)
Description:
The Linux kernel contains a use-after-free (UAF) vulnerability within the f2fs file system compression functionality, specifically in the
f2fs free dic function. The issue occurs when the decompress io ctx is released asynchronously after I/O completion. If a file is deleted immediately after being read, and the kworker processing the post-read work queue hasn't executed, the inode (f2fs inode info) can be freed before it's used in f2fs free dic. This can lead to a UAF condition where memory is accessed after being freed. The patch resolves this by storing the compress algorithm and sbi in the dic to prevent the inode UAF.Recommendations:
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
Use After Free
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Astra Linux
Debian
Linuxmint
Linux Kernel
Ubuntu
F2Fs