RDMA/hfi1: Prevent use of lock before it is initialized

Kernel Updated 02 Oct 2025

Summary

28/06/2022
N/A
No i
Unrated
Not published

GSD-2022-1003327: RDMA/hfi1: Prevent use of lock before it is initialized. Affects Kernel versions >= 473291b3ea0e1df81f7abf13b8ab4b98a346df5e, < ca55150bff5817af4f857a746ecab9862c23e12a. 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The RDMA/hfi1 package is a component of the Linux Kernel that provides support for the High-Performance InfiniBand (HFI) network adapters. It enables efficient communication between nodes in high-performance computing clusters. The package includes various drivers and modules that facilitate RDMA (Remote Direct Memory Access) operations. RDMA allows direct memory access between remote systems without involving the CPU, resulting in low-latency and high-bandwidth communication.

Vulnerability Detail

The vulnerability identified in RDMA/hfi1 involves the use of a lock before it is properly initialized. This can lead to unexpected behavior and potential security risks. Attackers may be able to exploit this vulnerability to gain unauthorized access, execute arbitrary code, or cause a denial-of-service condition. The vulnerability was introduced in version v4.16 of the Linux Kernel and is fixed in version v5.15.46.

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 workaround, users can apply patches or backports provided by the Linux distribution maintainers. These patches may address the vulnerability by implementing the necessary fixes in the affected code. Alternatively, users can disable the RDMA/hfi1 functionality if it is not essential for their system's operation. However, this may impact the performance and functionality of RDMA operations.

Conclusion

The vulnerability in RDMA/hfi1 that allows the use of a lock before it is initialized can pose significant security risks. It is crucial to update the Linux Kernel to the fixed version or apply the provided patches to mitigate the vulnerability. Disabling the RDMA/hfi1 functionality can also be considered as a temporary workaround, although it may impact RDMA operations. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

RDMA/hfi1 is a component of the Linux Kernel that provides support for High-Performance InfiniBand (HFI) network adapters. It enables efficient communication between nodes in high-performance computing clusters.

The vulnerability in RDMA/hfi1 can potentially allow attackers to gain unauthorized access, execute arbitrary code, or cause a denial-of-service condition.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.15.46 or later. Alternatively, users can apply patches or backports provided by the Linux distribution maintainers.

Yes, disabling the RDMA/hfi1 functionality can mitigate the vulnerability. However, this may impact the performance and functionality of RDMA operations.

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

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