IB/hfi1: Restore allocated resources on failed copyout

Kernel Updated 02 Oct 2025

Summary

07/03/2023
N/A
No i
Unrated
Not published

GSD-2023-1002370: IB/hfi1: Restore allocated resources on failed copyout. Affects Kernel versions >= f404ca4c7ea8e650ba09ba87c71c7a89c865d5be, < 9bae58d58b6bb73b572356b31a62d2afc7378d12. 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 IB/hfi1 package is a component of the Linux Kernel, which is responsible for managing InfiniBand and High-Speed Networking. It provides the necessary drivers and protocols for efficient communication between nodes in a cluster. The vulnerability in question relates to the improper restoration of allocated resources during a failed copyout operation.

Vulnerability Detail

The vulnerability arises from a failure to properly restore allocated resources in the IB/hfi1 package when a copyout operation fails. This can lead to resource leaks and potential memory corruption. An attacker may be able to exploit this vulnerability to execute arbitrary code or cause a denial of service. The vulnerability was introduced in version v4.15 of the Linux Kernel and has been fixed in version v5.15.94.

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

There is no specific workaround provided for this vulnerability. The recommended course of action is to apply the fix by updating the Linux Kernel to the latest version.

Conclusion

The IB/hfi1 package in the Linux Kernel is vulnerable to a flaw that can result in resource leaks and potential memory corruption. It is crucial to update the Linux Kernel to version v5.15.94 or later to mitigate the risk of exploitation. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability can potentially allow an attacker to execute arbitrary code or cause a denial of service by exploiting the improper restoration of allocated resources.

You can use the Vulert Playground at Vulert Scanner to check if your system is affected by this vulnerability. Simply upload your package-lock.json file and the playground will provide real-time alerts for any open-source vulnerabilities, including this one.

At the time of this report, there is no known exploit for this vulnerability. However, it is important to apply the fix as soon as possible to mitigate the risk.

This vulnerability requires local access to the affected system in order to exploit it. Remote exploitation is not possible.

If updating the Linux Kernel is not immediately feasible, it is recommended to implement other security measures such as network segmentation, access controls, and monitoring to reduce the risk of exploitation.

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