Vulnerability in Kernel package: scsi: bnx2fc

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1000256: scsi: bnx2fc: Flush destroy_work queue before calling bnx2fc_interface_put(). Affects Kernel versions >= 0cbf32e1681d870632a1772601cbaadd996dc978, < b11e34f7bab21df36f02a5e54fb69e858c09a65d. 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 package is a fundamental component of the Linux operating system, responsible for managing the system's core functionality. It provides an interface between the hardware and software layers, allowing applications to communicate with the underlying hardware. The scsi: bnx2fc module within the Kernel package is specifically designed for Fibre Channel over Ethernet (FCoE) protocol support. It enables the use of Fibre Channel storage devices over Ethernet networks. However, a vulnerability has been discovered in this module that could potentially be exploited by attackers.

Vulnerability Detail

The vulnerability in the scsi: bnx2fc module arises from a failure to flush the destroy_work queue before calling bnx2fc_interface_put(). This flaw can be leveraged by an attacker to execute arbitrary code or trigger a denial-of-service (DoS) condition. By exploiting this vulnerability, an attacker may gain unauthorized access to sensitive information, modify data, or disrupt the normal operation of the system. The vulnerability was introduced in version v3.2 of the Linux Kernel and has been fixed in version v5.15.19.

How To Fix

No fixed version is published for this vulnerability.

To fix this vulnerability, it is recommended to update the Linux Kernel package to version v5.15.19 or later. This can be done by downloading the latest version from the official Linux Kernel repository (https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/) and following the installation instructions provided. It is crucial to ensure that the new version is properly installed and all necessary dependencies are met.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

If updating the Linux Kernel package is not immediately feasible, a temporary workaround can be implemented. This involves manually flushing the destroy_work queue before calling bnx2fc_interface_put(). Here is an example of how this can be done in code:

// Flush destroy_work queue
flush_workqueue(&destroy_work);

// Call bnx2fc_interface_put()
bnx2fc_interface_put();

Conclusion

In conclusion, the scsi: bnx2fc module in the Kernel package is vulnerable to a flaw that can be exploited by attackers to execute arbitrary code or cause a denial-of-service condition. It is crucial to update the Linux Kernel package to version v5.15.19 or later to mitigate this vulnerability. If immediate updating is not possible, a temporary workaround can be implemented by manually flushing the destroy_work queue before calling bnx2fc_interface_put(). For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability can potentially allow attackers to execute arbitrary code or cause a denial-of-service (DoS) condition. This could lead to unauthorized access, data manipulation, or disruption of system operations.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your package-lock.json file, and Vulert will analyze it for any open-source vulnerabilities, including this one.

Yes, a fix for this vulnerability is available in version v5.15.19 of the Linux Kernel package. It is recommended to update to this version or a later one to mitigate the risk.

Yes, a temporary workaround involves manually flushing the destroy_work queue before calling bnx2fc_interface_put(). Please refer to the 'workaround' section for code examples and instructions.

You can find more information about this vulnerability in the official Linux Kernel repository (https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/) and the vulnerability database maintained by the Cloud Security Alliance (https://github.com/cloudsecurityalliance/gsd-database).

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

How To Fix

No fixed version is published for this vulnerability.

To fix this vulnerability, it is recommended to update the Linux Kernel package to version v5.15.19 or later. This can be done by downloading the latest version from the official Linux Kernel repository (https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/) and following the installation instructions provided. It is crucial to ensure that the new version is properly installed and all necessary dependencies are met.

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.