Race Condition Vulnerability in IB/rdmavt Package

Kernel Updated 02 Oct 2025

Summary

24/04/2022
N/A
No i
Unrated
Not published

GSD-2022-1001016: IB/rdmavt: add lock to call to rvt_error_qp to prevent a race condition. Affects Kernel versions >= d757c60eca9b22f4d108929a24401e0fdecda0b1, < 57800cc36e55db0547461c49acf5cd84c0f502b0. 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 IB/rdmavt package is a component of the Linux Kernel ecosystem. It provides support for InfiniBand (IB) and RoCE (RDMA over Converged Ethernet) devices. These technologies enable high-speed data transfer and low-latency communication between servers. The package includes various functions and modules that handle the communication protocols and manage the resources of IB and RDMA devices. However, a race condition vulnerability has been identified in the package, which could lead to potential security risks.

Vulnerability Detail

The race condition vulnerability in the IB/rdmavt package arises from a lack of proper locking mechanism in the call to rvt_error_qp function. This can result in a race condition where multiple threads or processes access the same resource simultaneously, leading to unexpected behavior and potential security issues. Attackers may exploit this vulnerability to manipulate the state of the affected system, potentially causing denial of service, privilege escalation, or unauthorized access. The vulnerability was introduced in version v5.1 of the Linux Kernel and has been fixed in version v5.17.3.

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 apply a lock manually in the affected code section to prevent the race condition. Here is an example of how the lock can be added:

// Add lock to prevent race condition
pthread_mutex_t lock;

void rvt_error_qp() {
  pthread_mutex_lock(&lock);
  // Existing code
  pthread_mutex_unlock(&lock);
}

Please note that this workaround is not a permanent solution and should be replaced with the official fix as soon as possible.

Conclusion

The race condition vulnerability in the IB/rdmavt package can pose significant security risks if left unaddressed. It is crucial to update the Linux Kernel to version v5.17.3 or later to mitigate this vulnerability. Users can obtain the updated kernel from the official Linux Kernel repository. Additionally, a temporary workaround involving manual lock implementation can be applied until the official fix is installed. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The IB/rdmavt package is a component of the Linux Kernel that provides support for InfiniBand (IB) and RoCE (RDMA over Converged Ethernet) devices. It enables high-speed data transfer and low-latency communication between servers.

A race condition vulnerability occurs when multiple threads or processes access the same resource simultaneously, leading to unexpected behavior and potential security risks.

The potential risks of this vulnerability include denial of service, privilege escalation, and unauthorized access to the affected system.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.17.3 or later, which includes the necessary fix commit.

Yes, a temporary workaround is to manually add a lock in the affected code section to prevent the race condition. However, this should be replaced with the official fix as soon as possible.

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