CVE-2025-38024
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2025-38024 is a vulnerability in the Linux kernel related to a slab-use-after-free issue in the RDMA/rxe subsystem, specifically in the rxequeuecleanup function. The vulnerability was published on June 18, 2025, and affects the Linux kernel's Remote Direct Memory Access (RDMA) softRoCE implementation (NVD).

Technical details

The vulnerability occurs in the rxecreatecq function when rxecqfrominit fails. The issue arises because some memory resources are prematurely freed in the rxecqfrominit function before rxecleanup is called to handle the allocated resources. This leads to a use-after-free condition in the rxequeuecleanup function. The vulnerability manifests in the drivers/infiniband/sw/rxe/rxequeue.c file at line 195 (NVD).

Impact

A successful exploitation of this vulnerability could lead to system instability or potential privilege escalation due to the use-after-free condition in kernel memory management. The issue affects the kernel's RDMA subsystem, which is critical for high-performance networking applications (NVD).

Mitigation and workarounds

The solution involves modifying the cleanup process to ensure that rxe_cleanup handles all resource deallocation properly, preventing the premature freeing of memory resources. The fix has been implemented in the Linux kernel (NVD).

Additional resources


SourceThis report was generated using AI

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