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-1001428: RDMA/cma: Fix rdma_resolve_route() memory leak. Affects Kernel versions < e4e062da082a199357ba4911145f331d40139ad8. 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 hardware abstraction, process management, memory management, and device drivers. RDMA (Remote Direct Memory Access) is a technology that allows direct memory access from the memory of one computer to the memory of another computer without involving the operating system. RDMA/cma (RDMA Connection Manager) is a component of the Linux Kernel that handles RDMA connection management.

RDMA/cma in the Linux Kernel is vulnerable to a memory leak in the rdma_resolve_route() function. This vulnerability can lead to memory exhaustion and potentially impact system stability and performance. An attacker may be able to exploit this vulnerability to cause a denial-of-service condition or other malicious activities.

Vulnerability Detail

The vulnerability in RDMA/cma arises from a memory leak in the rdma_resolve_route() function. When this function is called to resolve the route for an RDMA connection, it fails to release allocated memory in certain error scenarios. As a result, memory resources are not properly freed, leading to a memory leak.

The impact of this vulnerability can be significant, as it can result in memory exhaustion over time. This can degrade system performance and stability, potentially leading to system crashes or other adverse effects. An attacker may be able to exploit this vulnerability to exhaust system memory and disrupt normal system operation.

The vulnerability has been fixed in Linux Kernel version v4.14.240 by commit e4e062da082a199357ba4911145f331d40139ad8.

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 known workaround for this vulnerability. It is recommended to apply the fix by updating the Linux Kernel as mentioned in the 'how_to_fix' section.

Conclusion

The memory leak vulnerability in RDMA/cma in the Linux Kernel can lead to memory exhaustion and potential system instability. It is crucial to update the Linux Kernel to version v4.14.240 or later to mitigate this vulnerability. Failure to address this issue may result in performance degradation, system crashes, or other adverse effects. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

RDMA/cma (RDMA Connection Manager) is a component of the Linux Kernel that handles RDMA connection management. It allows for direct memory access between computers without involving the operating system.

The vulnerability can lead to memory exhaustion, impacting system stability and performance. It can potentially result in system crashes or denial-of-service conditions.

An attacker may be able to exploit this vulnerability to exhaust system memory and disrupt normal system operation. This can be done by repeatedly triggering the vulnerable code path.

Yes, this vulnerability has been fixed in Linux Kernel version v4.14.240 by commit e4e062da082a199357ba4911145f331d40139ad8.

There are no known workarounds for this vulnerability. It is recommended to apply the fix by updating the Linux Kernel.

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