Vulnerability in Kernel package: scsi: bnx2fc: Make bnx2fc_recv_frame() mp safe
Summary
GSD-2022-1000678: scsi: bnx2fc: Make bnx2fc_recv_frame() mp safe. Affects Kernel versions >= d576a5e80cd07ea7049f8fd7b303c14df7b5d7d2, < 2d24336c7214b281b51860e54783dfc65f1248df. 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 crucial component of the Linux operating system. It provides the core functionality and acts as an interface between the hardware and software layers. The scsi subsystem within the Kernel package handles communication with SCSI devices, including Fibre Channel devices. The bnx2fc module is responsible for managing Broadcom NetXtreme II Fibre Channel Host Bus Adapters (HBAs). This vulnerability specifically affects the bnx2fc_recv_frame() function within the bnx2fc module.
Vulnerability Detail
The bnx2fc_recv_frame() function in the bnx2fc module of the Kernel package is not multi-processor (mp) safe. This means that concurrent execution of this function by multiple processors can lead to race conditions and potential security vulnerabilities. An attacker could potentially exploit these race conditions to gain unauthorized access, execute arbitrary code, or cause a denial-of-service (DoS) condition. The vulnerability was introduced in version v3.16 of the Linux Kernel and has been fixed in version v5.16.8.
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 bnx2fc module by blacklisting it. This can be done by adding the following line to the /etc/modprobe.d/blacklist.conf file:
blacklist bnx2fc
After adding this line, reboot the system to ensure the module is properly disabled. However, it is strongly recommended to apply the official fix by updating the Kernel package to the latest version.
Conclusion
The scsi: bnx2fc: Make bnx2fc_recv_frame() mp safe vulnerability in the Kernel package can lead to race conditions and potential security vulnerabilities. It is recommended to update the Linux Kernel package to version v5.16.8 or later to fix this vulnerability. A temporary workaround is to disable the bnx2fc module by blacklisting it, but the official fix should be applied as soon as possible. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
This vulnerability can potentially be exploited by attackers to gain unauthorized access, execute arbitrary code, or cause a denial-of-service (DoS) condition.
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 the Vulert Playground will analyze it for any open-source vulnerabilities, including this one.
Yes, a patch for this vulnerability is available in version v5.16.8 of the Linux Kernel. It is recommended to update the Kernel package to this version or later.
Yes, a temporary workaround is to disable the bnx2fc module by blacklisting it. However, it is strongly recommended to apply the official fix by updating the Kernel package to the latest version.
At the time of this report, there are no known exploits for this vulnerability. However, it is important to apply the fix as soon as possible to mitigate any potential risks.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.