CVE-2025-38650
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2025-38650 is an improper locking vulnerability in the Linux kernel's HFS+ (hfsplus) filesystem implementation, specifically within the hfsplus_free_extents function. The flaw stems from an overly strict mutex lock verification check introduced by a prior deadlock-prevention patch (commit 31651c607151), which causes spurious WARN_ON conditions when concurrent file operations on different files legitimately contend for the shared extents tree lock. It was published on August 22, 2025, and affects Linux kernel versions from 4.19 through 6.16.0 across multiple stable series. The vulnerability carries a CVSS v3.1 base score of 5.5 (Medium) (Red Hat CVE, Feedly).

Technical details

The root cause is classified as CWE-667 (Improper Locking). A previous fix for a deadlock in hfsplus_free_extents unlocked the extents tree before calling the function and added a WARN_ON check to verify the lock state. However, when operations such as hfsplus_file_release, hfsplus_setattr, hfsplus_unlink, and hfsplus_get_block execute concurrently on different files, multiple threads can legitimately attempt to lock the shared extents tree simultaneously — causing one thread to trigger the WARN_ON when another thread already holds the lock. The attack vector is local (AV:L), requires low privileges (PR:L), and no user interaction, making it triggerable by any local user performing normal file operations on an HFS+ mounted filesystem (Red Hat CVE, Feedly).

Impact

Exploitation of this vulnerability results in a denial of service through kernel warnings that can cause system instability or crashes. The impact is limited to availability (no confidentiality or integrity impact), and is scoped to systems that mount HFS+ filesystems. Triggering operations include file truncation, write operations, attribute changes (ftruncate, setattr), file deletion (unlink), and block allocation, all of which are routine user-level actions (Red Hat CVE, 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.024% (0.000240), indicating a very low probability of exploitation in the near term. Exploitation requires local access and the presence of a mounted HFS+ filesystem, significantly limiting the attack surface (Feedly).

Indicators of compromise

  • Logs: Kernel warning messages in /var/log/kern.log or dmesg output containing WARNING: CPU: ... at fs/hfsplus/extents.c:346 hfsplus_free_extents+0x700/0xad0 with associated call traces involving hfsplus_file_truncate, hfsplus_write_begin, hfsplus_setattr, or hfsplus_unlink.
  • Process: Unusual concurrent file operations (truncation, deletion, attribute changes) on HFS+ mounted volumes by low-privileged users that correlate with kernel warning events.
  • File System: Presence of mounted HFS+ filesystems (/proc/mounts or mount output showing hfsplus type) on systems running vulnerable kernel versions.

Mitigation and workarounds

Update the Linux kernel to a patched version for your respective stable series: 5.4.297+, 5.10.241+, 5.15.190+, 6.1.148+, 6.6.102+, 6.12.42+, 6.15.10+, or 6.16.1+. Patches are available via the upstream kernel stable tree at git.kernel.org across multiple commits. As a workaround, if HFS+ filesystem support is not required, avoid mounting HFS+ volumes or unload the hfsplus kernel module (modprobe -r hfsplus). Monitor system logs for kernel warnings related to hfsplus_free_extents as an indicator of exposure (Red Hat CVE, Ubuntu USN-7909-1).

Community reactions

Red Hat published a CVE advisory tracking this issue, and multiple Linux distributions including Ubuntu (USN-7909-1, USN-7909-3, USN-7910-1, USN-7933-1, USN-7938-1), SUSE, Oracle Linux, and Amazon Linux 2 have issued kernel update advisories addressing this vulnerability. No notable independent researcher commentary or significant social media discussion has been observed beyond standard distribution security update channels (Ubuntu USN-7909-1, Red Hat CVE).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-74583NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-debug
NoYesAug 21, 2026
CVE-2026-74582NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel.src
NoYesAug 21, 2026
CVE-2026-74581NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-modules-internal
NoYesAug 21, 2026
CVE-2026-74580NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-debug
NoYesAug 21, 2026
CVE-2025-30156NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-debug-devel-matched
NoYesAug 21, 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