Use-after-free bug in RDMA/hfi1 in Linux Kernel

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1001970: RDMA/hfi1: Fix use-after-free bug for mm struct. Affects Kernel versions >= 3d2a9d642512c21a12d19b9250e7a835dcb41a79, < 5f54364ff6cfcd14cddf5441c4a490bb28dd69f7. 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 Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Linux Kernel is a widely used open-source operating system kernel that serves as the foundation for various Linux distributions. It provides essential functionalities and interfaces for hardware, software, and user applications. RDMA (Remote Direct Memory Access) is a technology that allows direct memory access from the memory of one computer to the memory of another computer without involving the operating system. hfi1 is a specific RDMA driver for Mellanox InfiniBand Host Channel Adapters (HCAs). It enables high-performance communication between nodes in a cluster or data center. However, a use-after-free bug has been discovered in the hfi1 driver, which can lead to potential security vulnerabilities.

Vulnerability Detail

The use-after-free bug in the RDMA/hfi1 driver of the Linux Kernel allows an attacker to exploit a freed memory region, potentially leading to arbitrary code execution or privilege escalation. This vulnerability occurs when a memory region is freed but still accessed by the driver, resulting in undefined behavior. An attacker could craft a malicious input to trigger this bug and gain unauthorized access or control over the affected system. The impact and attack plausibility of this vulnerability have not been proven, but it is crucial to address it to ensure the security and stability of systems running the Linux Kernel with the RDMA/hfi1 driver.

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 →

Conclusion

The use-after-free bug in the RDMA/hfi1 driver of the Linux Kernel poses a potential security risk. It is crucial to update the Linux Kernel to version v5.10.111 or later to address this vulnerability. Regularly updating the kernel is essential to ensure the latest security patches and bug fixes are applied. For further support on vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The impact of this vulnerability could potentially allow an attacker to execute arbitrary code or escalate privileges on a system running the affected Linux Kernel with the RDMA/hfi1 driver.

You can use vulnerability management tools like Vulert to scan your system and check for the presence of this vulnerability. Vulert uses a manifest file like package-lock.json to monitor and alert in real-time for open-source vulnerabilities in software.

As of now, there are no known exploits for this vulnerability. However, it is crucial to apply the recommended fix to mitigate any potential risks.

Yes, this vulnerability can be exploited remotely if the affected system is accessible over a network. It is important to update the Linux Kernel to prevent any potential remote exploitation.

Currently, there is no known workaround for this vulnerability. It is recommended to apply the official fix provided by updating the Linux Kernel to the latest version.

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