Refcounting Leak in RDMA/siw Package
Summary
GSD-2022-1000668: RDMA/siw: Fix refcounting leak in siw_create_qp(). Affects Kernel versions >= 514aee660df493cd673154a6ba6bab745ec47b8c, < fa3b844a50845c817660146c27c0fc29b08d3116. 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/siw package is a component of the Linux Kernel that provides support for the RDMA (Remote Direct Memory Access) protocol. RDMA allows for high-speed, low-latency communication between remote systems by enabling direct memory access without involving the CPU. The siw module within the RDMA package is responsible for implementing the Softiwarp protocol, which allows RDMA over TCP/IP. This vulnerability affects the siw_create_qp() function within the siw module.
Vulnerability Detail
The siw_create_qp() function in the RDMA/siw package suffers from a refcounting leak vulnerability. This vulnerability was introduced in version v5.15 of the Linux Kernel and was fixed in version v5.16.8. The vulnerability occurs when creating a Queue Pair (QP) object, which is a fundamental component of RDMA communication. The function fails to properly release resources in certain error scenarios, leading to a refcounting leak. An attacker could potentially exploit this vulnerability to exhaust system resources, resulting in a denial-of-service (DoS) condition.
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
In conclusion, the RDMA/siw package in the Linux Kernel was found to have a refcounting leak vulnerability in the siw_create_qp() function. This vulnerability has been fixed in version v5.16.8 of the Linux Kernel. Users are advised to update their kernel to the latest version to mitigate the risk of resource exhaustion and potential denial-of-service (DoS) attacks. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The RDMA/siw package is a component of the Linux Kernel that provides support for the RDMA (Remote Direct Memory Access) protocol. It enables high-speed, low-latency communication between remote systems by allowing direct memory access without involving the CPU.
siw_create_qp() is a function within the RDMA/siw package that is responsible for creating a Queue Pair (QP) object. QPs are essential for RDMA communication and facilitate the exchange of data between remote systems.
A refcounting leak occurs when a program fails to properly release resources after incrementing their reference count. This can lead to resource exhaustion and potential denial-of-service (DoS) conditions.
The vulnerability in siw_create_qp() can be exploited by an attacker to exhaust system resources, potentially leading to a denial-of-service (DoS) condition. However, the actual impact and attack plausibility have not been proven.
You can use Vulert's playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Vulert uses a manifest file like package-lock.json to monitor and alert in real-time for open-source vulnerabilities in software.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.