Memory Leak in RDMA/cma in Linux Kernel

Kernel Updated 02 Oct 2025

Summary

03/08/2021
N/A
No i
Unrated
Not published

GSD-2021-1001393: RDMA/cma: Fix rdma_resolve_route() memory leak. Affects Kernel versions < 4893c938f2a140a74be91779e45e4a7fa111198f. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The Linux Kernel is a widely used open-source operating system kernel that serves as the foundation for various Linux distributions. It provides essential functionality for managing system resources, including memory, processes, and device drivers. RDMA (Remote Direct Memory Access) is a technology that allows for high-speed data transfer between remote systems without involving the CPU. RDMA/cma (RDMA Connection Manager) is a component of the Linux Kernel that handles connection management for RDMA devices. It provides functions for resolving routes and establishing connections between RDMA devices. However, a memory leak vulnerability has been identified in the rdma_resolve_route() function of RDMA/cma.

Vulnerability Detail

The rdma_resolve_route() function in RDMA/cma in the Linux Kernel suffers from a memory leak vulnerability. When this function is called to resolve the route for an RDMA connection, it may allocate memory but fail to deallocate it properly in certain error scenarios. This can result in a continuous accumulation of memory over time, leading to resource exhaustion and potential denial-of-service (DoS) conditions. An attacker could potentially exploit this vulnerability by repeatedly triggering the error condition, causing the system to run out of memory and become unresponsive.

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

The memory leak vulnerability in RDMA/cma in the Linux Kernel can lead to resource exhaustion and potential denial-of-service (DoS) conditions. It is crucial for users to update their Linux Kernel to version v4.19.198 or later to fix this vulnerability. Regularly applying security patches and updates is essential to maintain the security and stability of the system. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The memory leak vulnerability in RDMA/cma can lead to resource exhaustion and potential denial-of-service (DoS) conditions. An attacker could exploit this vulnerability to cause the system to run out of memory and become unresponsive.

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 to the playground, and it will analyze the dependencies and alert you if any vulnerabilities, including this one, are found.

At the time of this report, there is no known public exploit for this vulnerability. However, it is always recommended to apply security patches and updates to mitigate the risk of potential exploits.

The vulnerability is present in versions of the Linux Kernel prior to v4.19.198. Therefore, systems running older versions may be affected. It is crucial to update to the fixed version to eliminate the vulnerability.

For more details about this vulnerability, you can refer to the source information provided by the Cloud Security Alliance's GSD database: https://github.com/cloudsecurityalliance/gsd-database/blob/main/2021/1001xxx/GSD-2021-1001393.json

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