RDMA/hfi1: Prevent panic when SDMA is disabled

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1003750: RDMA/hfi1: Prevent panic when SDMA is disabled. Affects Kernel versions < e60ad83f645ee6fadd5a8057ba267aeec54f08fe. 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 that provides support for InfiniBand and RoCE (RDMA over Converged Ethernet) networking. It enables high-speed, low-latency communication between servers and storage systems. The hfi1 driver is responsible for managing the Mellanox InfiniBand Host Channel Adapter (HCA) hardware. SDMA (Synchronous Direct Memory Access) is a feature of the hfi1 driver that allows for efficient data transfers between the host and the HCA. However, when SDMA is disabled, a vulnerability exists that can lead to a system panic.

Vulnerability Detail

The vulnerability in the RDMA/hfi1 package occurs when SDMA is disabled. In this scenario, certain operations within the driver can trigger a panic, resulting in a system crash. An attacker could potentially exploit this vulnerability to cause a denial-of-service (DoS) condition. The vulnerability has been addressed in Linux Kernel version v5.4.198 by commit e60ad83f645ee6fadd5a8057ba267aeec54f08fe.

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 enable SDMA in the hfi1 driver to avoid triggering the vulnerability. This can be done by modifying the driver configuration or kernel parameters to enable SDMA support. However, it is strongly recommended to apply the official fix by updating the Linux Kernel to the patched version.

Conclusion

The vulnerability in the RDMA/hfi1 package that causes a panic when SDMA is disabled has been addressed in Linux Kernel version v5.4.198. Users are advised to update their kernel to this version or apply the specific commit to mitigate the vulnerability. 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 InfiniBand and RoCE networking. It enables high-speed, low-latency communication between servers and storage systems.

SDMA (Synchronous Direct Memory Access) is a feature of the hfi1 driver that allows for efficient data transfers between the host and the Mellanox InfiniBand Host Channel Adapter (HCA) hardware.

The vulnerability can lead to a system panic and subsequent crash when SDMA is disabled. This can result in a denial-of-service (DoS) condition.

To fix this vulnerability, update the Linux Kernel to version v5.4.198 or later. Alternatively, apply the specific commit (e60ad83f645ee6fadd5a8057ba267aeec54f08fe) to the existing kernel source code and rebuild the kernel.

Yes, a workaround is to enable SDMA in the hfi1 driver by modifying the driver configuration or kernel parameters. However, it is recommended to apply the official fix by updating the Linux Kernel.

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