Vulnerability in Kernel package: scsi: lpfc: Address NULL pointer dereference after starget_to_rport()
Summary
GSD-2022-1002577: scsi: lpfc: Address NULL pointer dereference after starget_to_rport(). Affects Kernel versions >= bb21fc9911eea92afd476f7e64b327716e042a25, < 68fcff1127e4995ddbd4b6861892a25c23db3f70. 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. It provides the core functionality and interfaces for various hardware devices, including storage controllers. The scsi: lpfc module within the Kernel package is responsible for handling SCSI (Small Computer System Interface) commands for Fibre Channel storage devices. This vulnerability specifically affects the scsi: lpfc module and involves a NULL pointer dereference after the starget_to_rport() function.
Vulnerability Detail
The vulnerability arises due to a NULL pointer dereference in the scsi: lpfc module after the execution of the starget_to_rport() function. This can lead to a system crash or potential privilege escalation if exploited by an attacker. The vulnerability was introduced in version v5.18 of the Linux Kernel and has been fixed in version v5.18.4. The impact and attack plausibility of this vulnerability have not been proven yet.
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
No workaround has been mentioned for this vulnerability.
Conclusion
In conclusion, the scsi: lpfc module in the Kernel package is vulnerable to a NULL pointer dereference after the starget_to_rport() function. It is recommended to update the Linux Kernel to version v5.18.4 or later to mitigate this vulnerability. For further support on vulnerability remediation, you can contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The scsi: lpfc module is a component of the Linux Kernel package that handles SCSI commands for Fibre Channel storage devices.
A NULL pointer dereference occurs when a program attempts to access or manipulate data using a pointer that points to a NULL (empty) memory address. This can lead to crashes or security vulnerabilities.
The impact of this vulnerability can range from a system crash to potential privilege escalation if exploited by an attacker.
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 provide real-time alerts for open-source vulnerabilities.
For more information about this vulnerability, you can refer to the source link provided in the database_specific section of the vulnerability details.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.