RDMA/rxe: Clear all QP fields if creation failed
Summary
GSD-2021-1000501: RDMA/rxe: Clear all QP fields if creation failed. Affects Kernel versions >= 8700e3e7c4857d28ebaa824509934556da0b3e76, < 03344e843ab6dd3b3f2cadfb65ed910590856c70. 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 RDMA/rxe package is a component of the Linux Kernel that provides support for Remote Direct Memory Access (RDMA) over Ethernet. RDMA allows for high-speed data transfers between remote systems with low latency. The rxe subsystem specifically implements RDMA over Ethernet using the Reliable Datagram Sockets (RDS) protocol. It provides a reliable and efficient transport mechanism for RDMA operations. However, a vulnerability has been discovered in the rxe subsystem that could potentially lead to security issues.
Vulnerability Detail
The vulnerability in the RDMA/rxe package arises from a failure to clear all Queue Pair (QP) fields when the creation of a QP fails. A QP represents a communication channel between two RDMA endpoints. When a QP creation fails, some of its fields may not be properly cleared, potentially leaving sensitive information from previous QP configurations accessible to unauthorized parties. This could lead to information disclosure or other security breaches. The vulnerability was introduced in version v4.8 of the Linux Kernel and has been fixed in version v5.12.7.
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.
Conclusion
The RDMA/rxe package in the Linux Kernel has a vulnerability that could result in information disclosure or other security breaches. It is recommended to update the Linux Kernel to version v5.12.7 or later to fix this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
RDMA (Remote Direct Memory Access) is a technology that allows for high-speed data transfers between remote systems with low latency. It enables direct memory access from one computer to another without involving the operating system or CPU, resulting in faster and more efficient data transfers.
A Queue Pair (QP) is a communication channel between two RDMA endpoints. It defines the attributes and parameters for data transfer between the endpoints, such as the memory regions to be accessed, the type of operations allowed, and the flow control mechanisms.
The rxe subsystem is a component of the Linux Kernel that implements RDMA over Ethernet using the Reliable Datagram Sockets (RDS) protocol. It provides a reliable and efficient transport mechanism for RDMA operations over Ethernet networks.
The failure to clear all QP fields when QP creation fails could lead to information disclosure or other security breaches. Sensitive information from previous QP configurations may be accessible to unauthorized parties, potentially compromising the integrity and confidentiality of data transfers.
You can use the Vulert Playground at Vulert Scanner to check if your system is affected by this vulnerability. Vulert is a tool that monitors and alerts in real-time for open-source vulnerabilities in software, using just a manifest file like package-lock.json. It does not require access to the code or installation.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.