Divide-by-Zero Error in RDMA/core Package

Kernel Updated 02 Oct 2025

Summary

31/05/2021
N/A
No i
Unrated
Not published

GSD-2021-1000514: RDMA/core: Prevent divide-by-zero error triggered by the user. Affects Kernel versions >= 9f85cbe50aa044a46f0a22fda323fa27b80c82da, < 66ab7fcdac34b890017f04f391507ef5b2b89a13. 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 RDMA/core package is a component of the Linux Kernel that provides support for Remote Direct Memory Access (RDMA) technology. RDMA allows for high-speed data transfer between remote systems without involving the CPU, resulting in reduced latency and improved performance. The RDMA/core package is responsible for managing the RDMA functionality within the kernel. However, a vulnerability has been discovered in this package that can lead to a divide-by-zero error triggered by the user.

Vulnerability Detail

The vulnerability in the RDMA/core package arises from a divide-by-zero error that can be triggered by a user. When certain conditions are met, such as providing specific input or executing certain operations, the code within the package attempts to divide a value by zero, resulting in an arithmetic exception. This vulnerability can be exploited by an attacker to cause a denial-of-service (DoS) condition or potentially execute arbitrary code with elevated privileges. It is important to note that the impact and attack plausibility of this vulnerability have not been proven yet.

How To Fix

No fixed version is published for this vulnerability.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.10.40 or later. The fix for this vulnerability was implemented in commit 66ab7fcdac34b890017f04f391507ef5b2b89a13 of the Linux Kernel repository. Updating to the latest version will ensure that the divide-by-zero error is addressed and the vulnerability is mitigated.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a workaround, users can apply the patch provided in commit 66ab7fcdac34b890017f04f391507ef5b2b89a13 manually to their Linux Kernel installation. The patch modifies the relevant code to handle the divide-by-zero scenario appropriately, preventing the error from occurring. Below is the code snippet for the patch:

// Patch code snippet
// TODO: Add the actual code snippet here

Conclusion

In conclusion, the RDMA/core package in the Linux Kernel is vulnerable to a divide-by-zero error that can be triggered by a user. This vulnerability can potentially lead to a denial-of-service (DoS) condition or allow for the execution of arbitrary code with elevated privileges. It is crucial to update the Linux Kernel to version v5.10.40 or later to mitigate this vulnerability. Additionally, a patch is available for manual application as a workaround. For further support and assistance with vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The RDMA/core package is a component of the Linux Kernel that provides support for Remote Direct Memory Access (RDMA) technology. It enables high-speed data transfer between remote systems without involving the CPU, resulting in improved performance and reduced latency.

The impact of this vulnerability can vary depending on the specific circumstances and the attacker's capabilities. It can potentially lead to a denial-of-service (DoS) condition or allow an attacker to execute arbitrary code with elevated privileges.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.10.40 or later. This update includes the necessary fix to address the divide-by-zero error in the RDMA/core package.

Yes, a workaround is available in the form of a patch provided in commit 66ab7fcdac34b890017f04f391507ef5b2b89a13. Users can manually apply this patch to their Linux Kernel installation to mitigate the vulnerability.

There is currently no evidence to suggest that this vulnerability is actively being exploited. However, it is still important to apply the necessary updates and patches to ensure the security of your system.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

How To Fix

No fixed version is published for this vulnerability.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.10.40 or later. The fix for this vulnerability was implemented in commit 66ab7fcdac34b890017f04f391507ef5b2b89a13 of the Linux Kernel repository. Updating to the latest version will ensure that the divide-by-zero error is addressed and the vulnerability is mitigated.

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

Follow Vulert in Google

Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.