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-1003034: RDMA/hfi1: Prevent use of lock before it is initialized. Affects Kernel versions >= 473291b3ea0e1df81f7abf13b8ab4b98a346df5e, < 30eb275e7ed588270ae159cc590a96658e0cfd8f. 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 Penetration testing for web, API and mobile 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/hfi1 package is a component of the Linux Kernel ecosystem. It provides support for the High Frequency Interface (HFI) in Remote Direct Memory Access (RDMA) technology. RDMA allows for efficient data transfer between remote systems with low latency and high bandwidth. The hfi1 module specifically handles the communication between the host and the HFI hardware. This vulnerability affects versions of the Linux Kernel starting from v4.16.

Vulnerability Detail

The vulnerability in RDMA/hfi1 arises from 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. The vulnerability was fixed in Linux Kernel version v5.17.14 by commit 30eb275e7ed588270ae159cc590a96658e0cfd8f.

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

If updating the Linux Kernel is not immediately feasible, a temporary workaround can be implemented by disabling the RDMA/hfi1 module. This can be achieved by blacklisting the module or removing it from the kernel configuration. However, it is strongly advised to apply the official fix as soon as possible.

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 workaround to mitigate these risks. For further support on 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 the High Frequency Interface (HFI) in Remote Direct Memory Access (RDMA) technology. It enables efficient data transfer between remote systems with low latency and high bandwidth.

The vulnerability in RDMA/hfi1 can potentially allow attackers to gain unauthorized access, execute arbitrary code, or cause a denial of service. It is important to apply the fix to mitigate these risks.

To fix this vulnerability, update the Linux Kernel to version v5.17.14 or later. Download the latest stable version from the official Linux Kernel repository and follow the installation instructions provided.

If updating the Linux Kernel is not immediately feasible, a temporary workaround is to disable the RDMA/hfi1 module by blacklisting it or removing it from the kernel configuration. However, it is recommended to apply the official fix as soon as possible.

For more information about this vulnerability, refer to the provided references link in the vulnerability details section.

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