Vulnerability in nvme-rdma Package: Use After Free
Summary
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 ↓
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.
No signup required · Results in about 60 seconds
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 →
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.