CVE-2025-38627
Linux Debian vulnerability analysis and mitigation

Overview

CVE-2025-38627 is a vulnerability discovered in the Linux kernel affecting the f2fs (Flash-Friendly File System) compression functionality. The vulnerability was disclosed on August 22, 2025, and involves a Use-After-Free (UAF) issue in the f2fsinodeinfo within f2fsfreedic function (NVD).

Technical details

The vulnerability occurs when the decompressioctx is released asynchronously after I/O completion. If a file is deleted immediately after being read, and the kworker processing postreadwq has not executed due to high workloads, the inode (f2fsinodeinfo) may be evicted and freed before it is used in f2fsfreedic. This creates a race condition leading to a Use-After-Free vulnerability (NVD).

Impact

The vulnerability could potentially lead to memory corruption in the Linux kernel when handling f2fs compressed files. This could result in system instability or potential privilege escalation, though the exact impact depends on the exploitation conditions (NVD).

Mitigation and workarounds

A patch has been developed that stores the compress_algorithm and sbi in dic to avoid the inode UAF issue. This solution replaces a previous fix that was found to potentially cause system hangs (NVD).

Additional resources


SourceThis report was generated using AI

Related Linux Debian vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-61729HIGH7.5
  • DockerDocker
  • golang-1.19
NoYesDec 02, 2025
CVE-2025-64460HIGH7.5
  • Linux DebianLinux Debian
  • python-django
NoYesDec 02, 2025
CVE-2025-65187MEDIUM6.1
  • Linux DebianLinux Debian
  • civicrm
NoNoDec 02, 2025
CVE-2025-65105MEDIUM4.5
  • Linux DebianLinux Debian
  • github.com/apptainer/apptainer
NoYesDec 02, 2025
CVE-2025-13372MEDIUM4.3
  • Linux DebianLinux Debian
  • py3-django
NoYesDec 02, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management