Vulnerability in Kernel: nvme-rdma

Kernel Updated 02 Oct 2025

Summary

19/10/2021
N/A
No i
Unrated
Not published

GSD-2021-1001663: nvme-rdma: destroy cm id before destroy qp to avoid use after free. Affects Kernel versions < ecf0dc5a904830c926a64feffd8e01141f89822f. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The Kernel is a crucial component of the Linux operating system, responsible for managing system resources and facilitating communication between hardware and software. It provides essential functionalities and services to ensure the proper functioning of the system. The nvme-rdma module is a part of the Kernel that enables Remote Direct Memory Access (RDMA) support for NVMe devices. RDMA allows for high-speed data transfers between remote systems without involving the CPU, resulting in improved performance and reduced latency. However, a vulnerability has been discovered in the nvme-rdma module that could lead to a use-after-free scenario, potentially allowing an attacker to execute arbitrary code or cause a denial-of-service (DoS) condition.

Vulnerability Detail

The vulnerability in the nvme-rdma module arises from a use-after-free issue. Specifically, the cm id (connection manager identifier) is not destroyed before the qp (queue pair) is destroyed. This can result in a situation where the cm id is accessed after it has been freed, leading to undefined behavior and potential security risks. An attacker could potentially exploit this vulnerability to execute malicious code or disrupt the normal operation of the system. The impact and attack feasibility of this vulnerability have not been proven, but it is essential to address it to ensure the security and stability of the system.

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

There is no specific workaround mentioned for this vulnerability. However, it is strongly advised to apply the recommended fix by updating the Linux Kernel to the latest stable version.

Conclusion

The vulnerability in the nvme-rdma module of the Kernel poses a potential security risk due to a use-after-free issue. It is crucial to update the Linux Kernel to the latest stable version to mitigate this vulnerability. Regularly updating the Kernel helps ensure the security and stability of the system. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The Kernel is a critical component of the Linux operating system that manages system resources and facilitates communication between hardware and software.

The nvme-rdma module is a part of the Kernel that enables Remote Direct Memory Access (RDMA) support for NVMe devices, allowing for high-speed data transfers between remote systems.

A use-after-free vulnerability occurs when a program continues to use a memory location after it has been freed, potentially leading to undefined behavior and security risks.

This vulnerability could allow an attacker to execute arbitrary code or cause a denial-of-service (DoS) condition, compromising the security and stability of the system.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.10.70 or later, which includes the necessary fix for the use-after-free issue.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

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