Use-after-free bug in RDMA/hfi1 for mm struct

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1001675: RDMA/hfi1: Fix use-after-free bug for mm struct. Affects Kernel versions >= 3d2a9d642512c21a12d19b9250e7a835dcb41a79, < 9ca11bd8222a612de0d2f54d050bfcf61ae2883f. 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 Remote Direct Memory Access (RDMA) over the HFI1 InfiniBand driver. RDMA allows for high-speed data transfers between remote systems without involving the CPU. The mm struct is a data structure in the Linux Kernel that represents a memory mapping. It keeps track of memory regions and their associated permissions. The vulnerability in RDMA/hfi1 allows for a use-after-free bug in the mm struct, which can lead to memory corruption and potentially be exploited by an attacker.

Vulnerability Detail

The use-after-free bug in RDMA/hfi1 occurs when a reference to the mm struct is used after it has been freed. This can happen if the mm struct is freed while there are still references to it. An attacker could potentially exploit this vulnerability to gain unauthorized access to sensitive information or execute arbitrary code. The impact and attack plausibility of this vulnerability have not been proven yet. The vulnerability was introduced in Linux Kernel version v5.10 by commit 3d2a9d642512c21a12d19b9250e7a835dcb41a79 and has been fixed in version v5.15.34 by commit 9ca11bd8222a612de0d2f54d050bfcf61ae2883f.

How To Fix

No fixed version is published for this vulnerability.

To fix the use-after-free bug in RDMA/hfi1, it is recommended to update the Linux Kernel to version v5.15.34 or later. This can be done by pulling the latest changes from the official Linux Kernel repository: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/

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 RDMA/hfi1 for the mm struct can lead to memory corruption and potential exploitation by an attacker. It is recommended to update the Linux Kernel to version v5.15.34 or later to fix this 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 Remote Direct Memory Access (RDMA) over the HFI1 InfiniBand driver. It enables high-speed data transfers between remote systems without involving the CPU.

A use-after-free bug occurs when a program or system continues to use a memory reference after it has been freed. This can lead to memory corruption and potentially be exploited by an attacker.

The mm struct is a data structure in the Linux Kernel that represents a memory mapping. It keeps track of memory regions and their associated permissions.

If an attacker can trigger the use-after-free bug in RDMA/hfi1, they may be able to gain unauthorized access to sensitive information or execute arbitrary code.

No, the impact and attack plausibility of this vulnerability have not been proven yet.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

How To Fix

No fixed version is published for this vulnerability.

To fix the use-after-free bug in RDMA/hfi1, it is recommended to update the Linux Kernel to version v5.15.34 or later. This can be done by pulling the latest changes from the official Linux Kernel repository: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/

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

Follow Vulert in Google

Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.