Memory Leak in rds: __rds_conn_create()
Summary
GSD-2021-1002674: rds: memory leak in __rds_conn_create(). Affects Kernel versions >= a3842219a69d23d3b7cc72274af1beb51434449a, < 166f0adf7e7525c87595ceadb21a91e2a9519a1e. 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 Linux Kernel is a critical component of the Linux operating system that provides core functionality and manages system resources. It is responsible for managing memory, processes, file systems, and device drivers. The rds module in the Linux Kernel is used for Remote Direct Memory Access (RDMA) communication between different nodes in a network. RDMA allows for high-performance data transfer between nodes without involving the CPU, resulting in reduced latency and improved throughput. However, a vulnerability has been discovered in the __rds_conn_create() function of the rds module, leading to a memory leak.
Vulnerability Detail
The vulnerability in the __rds_conn_create() function of the rds module in the Linux Kernel allows for a memory leak. When this function is called, it allocates memory for a new connection but fails to release it properly under certain conditions. As a result, memory resources are not freed, leading to a gradual depletion of available memory. An attacker could potentially exploit this vulnerability to exhaust system memory, causing a denial-of-service condition or other adverse effects. 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
There is no specific workaround mentioned for this vulnerability. The recommended solution is to update the Linux Kernel to the fixed version.
Conclusion
In conclusion, a memory leak vulnerability has been discovered in the __rds_conn_create() function of the rds module in the Linux Kernel. This vulnerability can potentially lead to system memory exhaustion and other adverse effects. It is recommended to update the Linux Kernel to version v5.4.168 or later to fix the vulnerability. Regularly updating the Linux Kernel is important to ensure the latest security patches are applied. For further support on vulnerability remediation, you can contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The rds module in the Linux Kernel is responsible for Remote Direct Memory Access (RDMA) communication between different nodes in a network. It enables high-performance data transfer without involving the CPU, resulting in reduced latency and improved throughput.
A memory leak is a type of software defect where allocated memory is not properly released, leading to a gradual depletion of available memory. This can result in degraded system performance, crashes, or other adverse effects.
The potential impacts of this vulnerability include system memory exhaustion, leading to a denial-of-service condition or other adverse effects. However, the actual impact and attack plausibility have not been proven yet.
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 the software, without requiring access to the code or installation.
For further support on vulnerability remediation, you can contact info@devnack.com. They can provide assistance and guidance in addressing the vulnerability in your system.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.