Memory Leak in qib_user_sdma_queue_pkts() in Kernel

Kernel Updated 02 Oct 2025

Summary

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

GSD-2021-1002780: IB/qib: Fix memory leak in qib_user_sdma_queue_pkts(). Affects Kernel versions >= 60833707b968d5ae02a75edb7886dcd4a957cf0d, < d53456492b5d02033c73dfa0f3b94c86337791ba. 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 Kernel is a crucial component of the Linux operating system, responsible for managing system resources and facilitating communication between hardware and software. It provides essential functionalities for various devices and subsystems. The qib_user_sdma_queue_pkts() function is part of the InfiniBand (IB) and Quadrics Interconnect Bus (qib) driver in the Kernel. This function is responsible for queuing packets for the SDMA (System DMA) engine. SDMA is used for high-performance data transfers in InfiniBand networks. However, a memory leak vulnerability has been identified in the qib_user_sdma_queue_pkts() function, which can lead to resource exhaustion and potential system instability.

Vulnerability Detail

The memory leak vulnerability in qib_user_sdma_queue_pkts() arises from a failure to release allocated memory when queuing packets for the SDMA engine. This can result in a gradual depletion of available memory resources, leading to system slowdowns, crashes, or even denial-of-service conditions. An attacker with access to the affected system could potentially exploit this vulnerability to exhaust system resources and disrupt normal operations. The vulnerability was introduced in Kernel version v4.14.255 and has been fixed in version v4.14.260.

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

As a temporary workaround, users can mitigate the impact of this vulnerability by avoiding scenarios that heavily utilize the qib_user_sdma_queue_pkts() function. This may involve limiting the usage of InfiniBand networks or implementing alternative methods for data transfers. However, applying the recommended fix by updating the Kernel is the most effective and comprehensive solution.

Conclusion

The memory leak vulnerability in qib_user_sdma_queue_pkts() can have severe consequences, including system instability and resource exhaustion. It is crucial for users to update their Kernel to version v4.14.260 or later, which includes the necessary fix. By following the provided steps for updating the Kernel, users can ensure the security and stability of their systems. For further support and assistance with vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability can lead to memory exhaustion, system slowdowns, crashes, or denial-of-service conditions. It may allow an attacker to disrupt normal system operations.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your manifest file (e.g., package-lock.json) to the playground, and it will provide real-time alerts for open-source vulnerabilities, including this one.

A temporary workaround is to minimize the usage of the qib_user_sdma_queue_pkts() function or explore alternative methods for data transfers. However, updating the Kernel to the fixed version is the recommended solution.

To update the Kernel, you can obtain the latest version (v4.14.260 or later) from the official Linux Kernel repository (https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/). Follow the provided documentation and guidelines to ensure a successful update.

At the time of this report, no known exploits for this vulnerability have been disclosed. However, it is crucial to promptly apply the recommended fix to mitigate any potential risks.

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