Memory Leak in RDMA/cma in Linux Kernel

Kernel Updated 02 Oct 2025

Summary

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

UVI-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 the core component of the Linux operating system, responsible for managing system resources and providing essential services to applications. 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 provides APIs for managing RDMA connections.

The vulnerability identified as UVI-2021-1001428 in the RDMA/cma component of the Linux Kernel can lead to a memory leak. A memory leak occurs when a program fails to release memory it no longer needs, resulting in the gradual depletion of available memory resources. This vulnerability can potentially be exploited to exhaust system memory, leading to performance degradation or even system crashes.

Vulnerability Detail

The vulnerability in RDMA/cma, tracked as UVI-2021-1001428, is caused by a memory leak in the rdma_resolve_route() function. This function is responsible for resolving the route for an RDMA connection. However, due to a coding error, memory allocated during the route resolution process is not properly freed, resulting in a memory leak.

An attacker could potentially exploit this vulnerability by repeatedly establishing and tearing down RDMA connections, causing the memory leak to accumulate over time. This could lead to a denial-of-service (DoS) condition by exhausting system memory resources.

The vulnerability has been fixed in the 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.

Conclusion

The memory leak vulnerability in RDMA/cma in the Linux Kernel can lead to a gradual depletion of system memory resources. It is recommended to update the Linux Kernel to version v4.14.240 or later to fix this vulnerability. Users can also utilize the Vulert Playground at https://vulert.com/scanner to check if their system is affected and receive real-time alerts for open-source vulnerabilities. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

This vulnerability can lead to a memory leak in the RDMA/cma component of the Linux Kernel. It can potentially be exploited to exhaust system memory, causing performance degradation or system crashes.

You can use the Vulert Playground at Vulert 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 UVI-2021-1001428, are detected.

At the time of this report, there is no known exploit for this vulnerability. However, it is important to apply the fix to prevent potential exploitation.

Yes, this vulnerability can be remotely exploited by an attacker who can establish and tear down RDMA connections to trigger the memory leak.

The only effective mitigation for this vulnerability is to apply the fix by updating the Linux Kernel to version v4.14.240 or later.

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