Critical Vulnerability in Linux Kernel: RDMA/hns Invalid Pointer Access

linux Updated 02 Oct 2025

Summary

21/01/2025
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2024-57935: In the Linux kernel, the following vulnerability has been resolved: RDMA/hns: Fix accessing invalid dip_ctx during destroying QP If it fails to modify QP to RTR, dip_ctx will not be attached. Affects linux versions < 6.12.9-1. Fixed in 6.12.9-1. 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 Penetration testing for web, API and mobile 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 component of many operating systems, responsible for managing hardware resources and providing essential services to software applications. It is known for its stability, performance, and security features. However, like any complex software, it is susceptible to vulnerabilities that can compromise system integrity. This specific vulnerability affects the RDMA/hns subsystem, which is responsible for remote direct memory access, allowing efficient data transfer between computers.

Vulnerability Detail

In the Linux kernel, a vulnerability has been identified in the RDMA/hns subsystem where an invalid dip_ctx pointer may be accessed during the destruction of a Queue Pair (QP). If the modification of the QP to the Ready-to-Receive (RTR) state fails, the dip_ctx will not be attached, leading to potential access of an invalid pointer. This can result in undefined behavior, including system crashes or data corruption, posing a significant risk to system stability and security.

How To Fix

Minimum fixed version

6.12.9-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

Currently, there are no specific workarounds mentioned for this vulnerability. It is advisable to apply the patch as soon as it is available to mitigate any risks.

Conclusion

The RDMA/hns vulnerability in the Linux kernel poses a significant risk due to the potential for accessing invalid pointers, which can lead to system instability. It is crucial for users to update their systems to the patched version to mitigate these risks and ensure the security of their environments.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

The vulnerability involves accessing an invalid dip_ctx pointer during the destruction of a Queue Pair in the RDMA/hns subsystem of the Linux kernel.

The consequences may include system crashes, data corruption, or other undefined behaviors that could compromise system stability.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.

Yes, the vulnerability has been patched in version 6.12.9-1 of the Linux package for both Debian 13 and Debian 14.

You should update your Linux package to the patched version using the command: sudo apt-get update && sudo apt-get install linux=6.12.9-1.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

6.12.9-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. 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