Memory Leak in rds: __rds_conn_create()
Summary
GSD-2021-1002702: rds: memory leak in __rds_conn_create(). Affects Kernel versions >= e806df71eed223ab8ca099c61a41f3e9a576733f, < 74dc97dfb276542f12746d706abef63364d816bb. 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 an open-source monolithic Unix-like computer operating system kernel. It provides the essential services for the operating system and allows multiple processes to run concurrently. The rds module in the Linux Kernel is responsible for supporting the Reliable Datagram Sockets (RDS) protocol, which enables reliable, high-performance, and low-latency communication between applications. 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 results in a memory leak. When this function is called, it fails to release allocated memory under certain conditions, causing a gradual accumulation of memory over time. This can lead to resource exhaustion, degraded system performance, and potentially denial-of-service (DoS) conditions. The impact and attack plausibility of this vulnerability have not been proven yet.
How To Fix
No fixed version is published for this vulnerability.
To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.10.88 or later. The fix for this issue was implemented in commit 74dc97dfb276542f12746d706abef63364d816bb. Updating the kernel will ensure that the __rds_conn_create() function properly releases allocated memory and prevents the memory leak from occurring.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
As a workaround, users can avoid the vulnerability by applying the kernel update mentioned above. It is crucial to regularly check for and install security updates to keep the system protected against known vulnerabilities.
Conclusion
In conclusion, the __rds_conn_create() function in the rds module of the Linux Kernel is vulnerable to a memory leak. This vulnerability can lead to resource exhaustion, degraded system performance, and potential denial-of-service conditions. It is recommended to update the kernel to version v5.10.88 or later to fix this issue. Regularly applying security updates and implementing additional security measures can help mitigate the risk. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The vulnerability can lead to a memory leak, which can cause resource exhaustion, degraded system performance, and potentially denial-of-service (DoS) conditions.
You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your package-lock.json file, and Vulert will analyze it for open-source vulnerabilities, including this one.
At the time of this report, there is no known exploit for this vulnerability. However, it is essential to apply the recommended fix to prevent any potential exploitation.
The recommended approach is to update the kernel to the fixed version. However, if updating is not immediately feasible, you can mitigate the risk by implementing other security measures, such as network segmentation, access controls, and monitoring for unusual behavior.
There are no reported incidents related to this vulnerability at the time of this report. However, it is crucial to apply the fix to prevent any potential exploitation.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.
Follow Vulert in Google
Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.