Linux Kernel RDMA/rxe Vulnerability: Slab Use-After-Free Issue

linux Updated 02 Oct 2025

Summary

15/01/2025
N/A
No i
Unrated
Not published

CVE-2024-57795: In the Linux kernel, the following vulnerability has been resolved: RDMA/rxe: Remove the direct link to net_device The similar patch in siw is in the link: https://git.kernel.org/rdma/rdma/c/16b87037b48889 This problem a... Affects linux versions 5.10.103-1 – 6.9.9-1. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Linux kernel is the core of many operating systems, providing essential services for hardware and software interaction. It supports a wide range of functionalities, including networking, file systems, and device management. The RDMA (Remote Direct Memory Access) subsystem allows for high-throughput, low-latency networking, which is crucial for performance-sensitive applications. However, a vulnerability has been identified in the RDMA/rxe implementation, which can lead to serious security issues if not addressed.

Vulnerability Detail

The vulnerability, identified as CVE-2024-57795, arises from a slab-use-after-free condition in the RDMA/rxe component of the Linux kernel. This issue occurs when a network device is freed while still being referenced by an ongoing operation, leading to potential memory corruption and unauthorized access to sensitive data. The vulnerability was triggered by the ib_cache_event_task, which attempted to access a freed net device, resulting in a crash and possible exploitation by an attacker.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, users can disable the RDMA/rxe functionality if it is not essential for their operations. This can be done by removing or blacklisting the rxe module from the kernel. To blacklist the module, add 'blacklist rxe' to the '/etc/modprobe.d/blacklist.conf' file and then run 'sudo update-initramfs -u'.

Conclusion

CVE-2024-57795 is a critical vulnerability in the Linux kernel's RDMA/rxe implementation that can lead to severe security risks. Users are advised to update their systems promptly to mitigate these risks and ensure the integrity of their systems.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2024-57795 is a vulnerability in the Linux kernel's RDMA/rxe component that can lead to a slab-use-after-free condition, potentially allowing attackers to exploit memory corruption.

You can use Vulert to monitor and alert for open-source vulnerabilities in your software. By uploading your manifest file, such as package-lock.json, you can check for vulnerabilities without needing to install any software.

The risks include potential memory corruption, system crashes, and unauthorized access to sensitive data, which can lead to further exploitation by attackers.

Yes, a patch is available. Users should update their Linux kernel to the latest version that includes the fix for CVE-2024-57795.

If immediate updates are not possible, consider disabling the RDMA/rxe functionality as a temporary workaround to mitigate the risk.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback