CVE-2025-38627
CBL Mariner vulnerability analysis and mitigation

Overview

CVE-2025-38627 is a Use-After-Free (UAF) vulnerability in the Linux kernel's F2FS (Flash-Friendly File System) compression handling subsystem, specifically in the f2fs_free_dic function. The flaw affects Linux kernel versions from 6.0 up to (but not including) 6.16.1. It was published on August 22, 2025, with patches added to the stable kernel tree on November 26, 2025. The vulnerability carries a CVSS v3.1 base score of 7.8 (High) (Feedly).

Technical details

The root cause is a race condition (CWE-416: Use After Free) in the F2FS compression I/O path. When a compressed file is read and then immediately deleted, the decompress_io_ctx is queued for asynchronous release via post_read_wq. Under high workload conditions, the inode (f2fs_inode_info) can be evicted and freed by RCU (via f2fs_free_inodekmem_cache_free) before the deferred work item (f2fs_late_free_dicf2fs_free_dicf2fs_release_decomp_mem) executes, resulting in a UAF access on the already-freed inode. The three-thread race involves: Thread A queuing the free_dic work, Thread B triggering inode eviction via do_unlink/iput, and Thread C (RCU batch) freeing the inode memory before the kworker processes the queued work (Feedly, Kernel Patch).

Impact

Successful exploitation of this vulnerability by a local attacker with low privileges could result in kernel memory corruption, system crashes (denial of service), or potentially arbitrary code execution in kernel context. The CVSS assessment reflects high confidentiality, integrity, and availability impact. Because the vulnerability operates at the kernel level, exploitation could lead to full system compromise, privilege escalation, or persistent access (Feedly).

Exploitability

There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation at this time. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. The EPSS score is approximately 0.018%, indicating a very low probability of exploitation in the near term. Exploitation requires local access with low privileges and the ability to trigger a specific race condition involving F2FS compressed file reads and deletions under high system load (Feedly).

Mitigation and workarounds

The primary remediation is to update to Linux kernel version 6.16.1 or later, which includes the fix. Patches are available in the stable kernel tree at git.kernel.org. Ubuntu has issued multiple security notices addressing this CVE (USN-8095-1 through USN-8095-5, USN-8100-1, USN-8125-1, USN-8165-1), and Debian has addressed it in linux 6.12.85-1 (DSA-6238-1). As a temporary workaround, disabling F2FS compression on affected systems can eliminate the attack surface if compression is not operationally required (Ubuntu Advisory, Debian Tracker, Feedly).

Community reactions

The vulnerability has received standard coverage from Linux distribution security teams, with Ubuntu issuing at least five update notices and Debian releasing a security update. Tenable/Nessus and Qualys have both added detection plugins for this CVE. No notable independent researcher commentary or significant social media discussion has been identified beyond routine distribution advisories (Ubuntu Advisory, Debian Tracker).

Additional resources


SourceThis report was generated using AI

Related CBL Mariner vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-68454HIGH8.8
  • Linux Kernel logoLinux Kernel
  • kernel-core
NoYesAug 13, 2026
CVE-2026-73500HIGH8.7
  • etcd logoetcd
  • cloud-provider-aws
NoYesAug 12, 2026
CVE-2026-72817MEDIUM6.9
  • CBL Mariner logoCBL Mariner
  • golang-github-go-chi-chi
NoYesAug 14, 2026
CVE-2026-72816MEDIUM6.9
  • CBL Mariner logoCBL Mariner
  • golang-github-go-chi-chi
NoYesAug 14, 2026
CVE-2026-68450LOW1.9
  • Linux Kernel logoLinux Kernel
  • kernel-abi-stablelists
NoYesAug 12, 2026

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