CVE-2025-38372
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2025-38372 is a denial-of-service vulnerability in the Linux kernel's RDMA/mlx5 subsystem caused by unsafe xarray access in implicit On-Demand Paging (ODP) handling. The flaw was disclosed on July 25, 2025, and affects Linux kernel versions 6.12.13 through 6.12.37 (exclusive), 6.13.2 through 6.15.6 (exclusive), and 6.16 release candidates rc1 through rc4. It carries a CVSS v3.1 base score of 5.5 (Medium) (Red Hat Advisory, Red Hat Bugzilla).

Technical details

The root cause is improper locking (CWE-667: Improper Locking) in the mlx5_ib kernel module's implicit ODP page fault handler. Specifically, __xa_store() and __xa_erase() were called without holding the required xarray lock, resulting in unsafe RCU (Read-Copy-Update) dereference as flagged by lockdep. The vulnerable code path is triggered via the pagefault_mr function within the mlx5_ib_eqe_pf_action workqueue handler, which processes page fault events for RDMA memory regions. The fix replaces the unlocked __xa_store()/__xa_erase() calls with their locking counterparts xa_store() and xa_erase() (Red Hat Bugzilla, Kernel Patches).

Impact

Successful exploitation by a local, low-privileged attacker could cause system instability or a denial-of-service condition on systems equipped with Mellanox/NVIDIA mlx5 RDMA network interfaces. The vulnerability has high availability impact with no confidentiality or integrity impact, meaning an attacker cannot use it to access or modify data, but can disrupt system operations or render the system unresponsive. The scope is limited to the affected host and does not provide a path for lateral movement or privilege escalation on its own (Red Hat Advisory, Red Hat Bugzilla).

Indicators of compromise

  • Logs: Kernel log entries containing WARNING: suspicious RCU usage or suspicious rcu_dereference_protected() usage originating from xarray.h or the mlx5_ib module.
  • Logs: Stack traces in kernel logs referencing pagefault_mr, mlx5_ib_eqe_pf_action, __xa_store, or xas_create within the mlx5_ib workqueue context.
  • Process: Unusual stalls or hangs in kworker threads associated with the mlx5_ib_page_fault workqueue.
  • System: Unexpected system instability, kernel panics, or unresponsiveness on hosts with Mellanox/NVIDIA mlx5 RDMA adapters running affected kernel versions (Red Hat Bugzilla).

Mitigation and workarounds

Update the Linux kernel to a patched version: 6.12.37 or later for the 6.12 stable series, or 6.15.6 or later for the 6.15 series. Ubuntu has released security notices USN-7833-1 through USN-7833-4 addressing this vulnerability. Red Hat has tracked the issue via Bugzilla (Bug 2383437) and patches are available from the Linux kernel stable repositories. As a temporary measure where patching is not immediately possible, restricting local user access on systems with mlx5 RDMA hardware reduces exposure. Monitor kernel logs for RCU/xarray-related warnings as an indicator of potential triggering (Red Hat Bugzilla, Kernel Patches, Ubuntu USN-7833-1).

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-64181HIGH7.8
  • Linux Kernel logoLinux Kernel
  • linux-azure-4.15
NoYesJul 19, 2026
CVE-2026-64186NONEN/A
  • Linux Kernel logoLinux Kernel
  • libperf
NoYesJul 19, 2026
CVE-2026-64183NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-aws-6.14
NoYesJul 19, 2026
CVE-2026-64182NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-oracle-6.17
NoYesJul 19, 2026
CVE-2026-64180NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-5.4
NoYesJul 19, 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