IB/hfi1: Fix alloc failure with larger txqueuelen in Kernel

Kernel Updated 02 Oct 2025

Summary

27/02/2022
N/A
No i
Unrated
Not published

GSD-2022-1000663: IB/hfi1: Fix alloc failure with larger txqueuelen. Affects Kernel versions >= d99dc602e2a55a99940ba9506a7126dfa54d54ea, < 2d0587a70e5356e42c8427eb8e954c129bd97ece. 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 Kernel is a critical component of the Linux operating system that provides core functionality and interfaces with hardware devices. It manages system resources, facilitates communication between software and hardware, and enables the execution of user programs. The IB/hfi1 module is responsible for supporting InfiniBand (IB) and High-Speed Fabric Interconnect (HFI) devices. These technologies are used for high-performance networking and interconnectivity in data centers and HPC (High-Performance Computing) environments. The vulnerability in the IB/hfi1 module can lead to an allocation failure when using larger txqueuelen values.

Vulnerability Detail

The vulnerability in the IB/hfi1 module arises from an allocation failure when larger txqueuelen values are used. This can result in various issues, such as memory corruption, system instability, or denial-of-service conditions. An attacker may be able to exploit this vulnerability to cause a crash or execute arbitrary code with elevated privileges. The vulnerability was introduced in version v5.8 of the Linux Kernel and has been fixed in version v5.16.8.

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 Kernel is not immediately feasible, a possible workaround is to avoid using larger txqueuelen values. This can be achieved by adjusting the configuration settings of the IB/hfi1 module or the associated network interface. Consult the documentation or support resources for the specific hardware and software environment to determine the appropriate configuration changes.

Conclusion

The vulnerability in the IB/hfi1 module of the Linux Kernel can result in allocation failures when using larger txqueuelen values. This can have various adverse effects, including memory corruption, system instability, and potential privilege escalation. It is crucial to update the Kernel to version v5.16.8 or later to mitigate the risk. If immediate updating is not possible, consider implementing the suggested workaround and consult the provided resources for further guidance. For additional support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability can lead to memory corruption, system instability, or denial-of-service conditions. It may also allow an attacker to execute arbitrary code with elevated privileges.

You can use tools like Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Vulert monitors and alerts in real-time for open-source vulnerabilities without requiring access to the code or installation.

Yes, the vulnerability has been fixed in version v5.16.8 of the Linux Kernel. It is recommended to update to this version or a later one to mitigate the risk.

If updating the Kernel is not immediately feasible, you can consider avoiding the use of larger txqueuelen values as a temporary workaround. Consult the documentation or support resources for guidance on making the necessary configuration changes.

You can refer to the vulnerability details in the GSD Database (https://github.com/cloudsecurityalliance/gsd-database/blob/main/2022/1000xxx/GSD-2022-1000663.json) for more technical information and references.

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