Memory Leak in rds: __rds_conn_create()

Kernel Updated 02 Oct 2025

Summary

27/12/2021
N/A
No i
Unrated
Not published

GSD-2021-1002674: rds: memory leak in __rds_conn_create(). Affects Kernel versions >= a3842219a69d23d3b7cc72274af1beb51434449a, < 166f0adf7e7525c87595ceadb21a91e2a9519a1e. No fix is published. How to fix ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

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 →

Share this vulnerability

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.

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback