Vulnerability in Kernel package: scsi: bnx2fc
Summary
GSD-2022-1000155: scsi: bnx2fc: Flush destroy_work queue before calling bnx2fc_interface_put(). Affects Kernel versions >= 0cbf32e1681d870632a1772601cbaadd996dc978, < bf2bd892a0cb14dd2d21f2c658f4b747813be311. No fix is published. How to fix ↓
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.
No signup required · Results in about 60 seconds
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 interact with the underlying hardware resources. The scsi: bnx2fc module within the Kernel package is specifically designed for Fibre Channel over Ethernet (FCoE) support. It enables communication between the host and Fibre Channel storage devices. However, a vulnerability has been discovered in the scsi: bnx2fc module, which could potentially lead to security issues.
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 exploited by an attacker to manipulate the destroy_work queue, potentially resulting in a use-after-free condition or other memory-related issues. The impact and attack plausibility of this vulnerability have not been proven yet. It is important to note that this vulnerability has been fixed in Linux Kernel version v5.4.176 by commit bf2bd892a0cb14dd2d21f2c658f4b747813be311. However, it was introduced in version v3.2 by commit 0cbf32e1681d870632a1772601cbaadd996dc978.
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
As a temporary workaround, users can disable the scsi: bnx2fc module if it is not essential for their system's functionality. This can be achieved by blacklisting the module or preventing its loading during system startup. However, it is important to consider the impact of this workaround on the system's overall functionality and compatibility with other components.
Conclusion
In conclusion, the scsi: bnx2fc module in the Kernel package has a vulnerability that can be exploited to manipulate the destroy_work queue, potentially leading to memory-related issues. It is crucial to update the Kernel package to version v5.4.176 or later to mitigate this vulnerability. Alternatively, users can temporarily disable the module if it is not essential for their system's functionality. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The scsi: bnx2fc module is a component of the Kernel package that provides support for Fibre Channel over Ethernet (FCoE). It enables communication between the host and Fibre Channel storage devices.
A use-after-free vulnerability occurs when a program continues to use a memory region after it has been freed. This can lead to memory corruption and potentially allow an attacker to execute arbitrary code or cause a system crash.
You can check the version of the Kernel package by running the command 'uname -r' in a terminal. This will display the current Kernel version.
There is no evidence to suggest that this vulnerability is actively being exploited in the wild. However, it is always recommended to apply security updates promptly to mitigate potential risks.
You can find more information about the fix and the vulnerability in the Linux Kernel source code repository. The fix was implemented in commit bf2bd892a0cb14dd2d21f2c658f4b747813be311. The vulnerability was introduced in commit 0cbf32e1681d870632a1772601cbaadd996dc978.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.