Vulnerability in nvme-rdma Package: Use After Free

Kernel Updated 02 Oct 2025

Summary

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

GSD-2021-1001745: nvme-rdma: destroy cm id before destroy qp to avoid use after free. Affects Kernel versions < d268a182c56e8361e19fb781137411643312b994. 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 nvme-rdma package is a component of the Linux Kernel ecosystem. It provides support for NVMe over RDMA (Remote Direct Memory Access) protocol, allowing for efficient data transfer between NVMe storage devices and remote systems. This package enables high-performance storage access over RDMA networks, improving latency and throughput. However, a vulnerability has been discovered in the package that could lead to a use-after-free issue.

Vulnerability Detail

The vulnerability in the nvme-rdma package arises from a failure to destroy the connection manager (cm) ID before destroying the queue pair (qp). This can result in a use-after-free scenario, where a reference to the cm ID is accessed after it has been freed. An attacker could potentially exploit this vulnerability to execute arbitrary code or cause a denial-of-service condition. The impact and attack plausibility of this vulnerability have not been proven yet.

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

No specific workaround has been provided for this vulnerability.

Conclusion

The nvme-rdma package in the Linux Kernel is vulnerable to a use-after-free issue. It is recommended to update the Linux Kernel to version v5.14.9 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The nvme-rdma package is a component of the Linux Kernel ecosystem that enables NVMe storage access over RDMA networks.

A use-after-free vulnerability occurs when a program continues to use a memory reference after it has been freed, leading to potential security issues.

The impact of this vulnerability could include arbitrary code execution or denial-of-service conditions.

Yes, the vulnerability has been fixed in the Linux Kernel version v5.14.9.

You can find more information about this vulnerability in the GSD-2021-1001745.json file available at https://github.com/cloudsecurityalliance/gsd-database.

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