Vulnerability in Kernel: scsi: lpfc: Fix null pointer dereference after failing to issue FLOGI and PLOGI
Summary
GSD-2022-1002838: scsi: lpfc: Fix null pointer dereference after failing to issue FLOGI and PLOGI. Affects Kernel versions < 10663ebec0ad5c78493a0dd34c9ee4d73d7ca0df. 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 is a critical component of the Linux operating system that provides core functionality and interfaces with hardware devices. It manages system resources, facilitates communication between software and hardware, and ensures the stability and security of the system. The lpfc driver is responsible for handling SCSI (Small Computer System Interface) devices, enabling communication between the operating system and storage devices. However, a vulnerability has been discovered in the lpfc driver that could lead to a null pointer dereference after failing to issue FLOGI (Fabric Login) and PLOGI (Port Login) commands.
Vulnerability Detail
The vulnerability in the lpfc driver occurs when it fails to issue FLOGI and PLOGI commands properly. This can result in a null pointer dereference, leading to a system crash or potential privilege escalation. An attacker could potentially exploit this vulnerability to execute arbitrary code or cause a denial-of-service condition. The vulnerability has been assigned the ID GSD-2022-1002838 and has been fixed in Linux Kernel version v5.18.3 by commit 10663ebec0ad5c78493a0dd34c9ee4d73d7ca0df.
How To Fix
No fixed version is published for this vulnerability.
To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.18.3 or later. This can be done by obtaining the updated Kernel source code from the official Linux Kernel repository (https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/) and compiling it for the target system. Alternatively, users can wait for their Linux distribution to provide an updated Kernel package that includes the fix.
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 mentioned for this vulnerability. However, users can mitigate the risk by ensuring they have proper security measures in place, such as restricting access to vulnerable systems, implementing network segmentation, and monitoring for any suspicious activity.
Conclusion
The vulnerability in the lpfc driver of the Kernel can result in a null pointer dereference, potentially leading to system crashes, privilege escalation, or arbitrary code execution. It is crucial to update the Linux Kernel to version v5.18.3 or later to mitigate the risk. Users can also use the Vulert Playground to check if their system is affected by this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The vulnerability can lead to a null pointer dereference, potentially resulting in a system crash or privilege escalation. It could also be exploited by attackers to execute arbitrary code or cause a denial-of-service condition.
You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your manifest file (e.g., package-lock.json) and Vulert will analyze it for any open-source vulnerabilities, including this one.
Yes, the vulnerability has been fixed in Linux Kernel version v5.18.3 by commit 10663ebec0ad5c78493a0dd34c9ee4d73d7ca0df. It is recommended to update to this version or later to mitigate the risk.
At the time of this report, there are no known public exploits for this vulnerability. However, it is important to apply the fix as soon as possible to prevent any potential exploitation.
You can find more information about this vulnerability in the GSD database entry: https://github.com/cloudsecurityalliance/gsd-database/blob/main/2022/1002xxx/GSD-2022-1002838.json
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.
Follow Vulert in Google
Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.