Vulnerability in Kernel Package: scsi: fcoe: Fix Wstringop-overflow warnings in fcoe_wwn_from_mac()
Summary
GSD-2022-1004074: scsi: fcoe: Fix Wstringop-overflow warnings in fcoe_wwn_from_mac(). Affects Kernel versions >= 85b4aa4926a50210b683ac89326e338e7d131211, < 58185fcadb072b398e676a940ba24e512268c058. 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 critical 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 module within the Kernel package handles communication with SCSI devices, including Fibre Channel over Ethernet (FCoE) devices. FCoE allows Fibre Channel traffic to be encapsulated within Ethernet frames, enabling the convergence of storage and networking traffic over a single Ethernet infrastructure. However, a vulnerability has been identified in the fcoe_wwn_from_mac() function within the scsi/fcoe module, which could lead to potential security risks.
Vulnerability Detail
The vulnerability in the fcoe_wwn_from_mac() function arises from a potential Wstringop-overflow issue. This vulnerability allows an attacker to trigger a buffer overflow by providing a specially crafted MAC address, leading to potential memory corruption and possible execution of arbitrary code. The vulnerability was introduced in version v2.6.29 of the Linux Kernel by commit 85b4aa4926a50210b683ac89326e338e7d131211 and affects all subsequent versions until it was fixed in v4.9.318 by commit 58185fcadb072b398e676a940ba24e512268c058. The impact and attack plausibility of this vulnerability have not yet been proven.
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 FCoE functionality or block access to the affected scsi/fcoe module. This can be achieved by modifying the system configuration or using appropriate firewall rules. However, it is important to note that these workarounds may impact the functionality of FCoE devices and should only be considered as a temporary measure until the package is updated.
Conclusion
In conclusion, a vulnerability has been identified in the Kernel package's scsi/fcoe module, specifically in the fcoe_wwn_from_mac() function. This vulnerability could potentially lead to memory corruption and the execution of arbitrary code. It is recommended to update the Linux Kernel package to version v4.9.318 or later to mitigate this vulnerability. Alternatively, users can apply temporary workarounds such as disabling FCoE functionality or blocking access to the affected module. For further support and assistance in vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The Linux Kernel package is a critical component of the Linux operating system, responsible for managing the system's core functionality.
FCoE (Fibre Channel over Ethernet) is a technology that allows Fibre Channel traffic to be encapsulated within Ethernet frames, enabling the convergence of storage and networking traffic over a single Ethernet infrastructure.
The fcoe_wwn_from_mac() function within the scsi/fcoe module is responsible for generating a World Wide Name (WWN) from a given MAC address. This WWN is used for identifying FCoE devices in a Fibre Channel network.
A Wstringop-overflow vulnerability refers to a situation where a buffer overflow can occur due to improper handling of string operations. In this specific case, the fcoe_wwn_from_mac() function is susceptible to a Wstringop-overflow vulnerability, which can be exploited by providing a specially crafted MAC address.
You can use Vulert's 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 in real-time to identify any open-source vulnerabilities, including this specific vulnerability in the Kernel package.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.