Null Pointer Dereference in lpfc_prep_els_iocb() in Kernel
Summary
GSD-2021-1000276: scsi: lpfc: Fix null pointer dereference in lpfc_prep_els_iocb(). Affects Kernel versions >= 4430f7fd09ecb037570119e0aacbf0c17b8f98b2, < 9bdcfbed2a9fe24d2c7eaa1bad7c705e18de8cc7. 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 fundamental component of the Linux operating system, responsible for managing system resources and facilitating communication between hardware and software. It provides essential functionalities such as process management, memory management, and device drivers. The lpfc driver in the Kernel is used for managing SCSI devices. It allows the system to communicate with storage devices connected via the SCSI protocol. However, a vulnerability has been identified in the lpfc_prep_els_iocb() function, which can lead to a null pointer dereference.
Vulnerability Detail
The null pointer dereference vulnerability in lpfc_prep_els_iocb() occurs when a null pointer is accessed, leading to a system crash or potential privilege escalation. An attacker could exploit this vulnerability by sending specially crafted input to trigger the null pointer dereference. The impact of this vulnerability could range from denial of service to potential execution of arbitrary code with elevated privileges. The vulnerability was introduced in Kernel version v5.11 and has been fixed in version v5.12.4.
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 workaround, users can avoid the vulnerability by not using the lpfc driver or disabling the affected functionality. However, this may result in the loss of SCSI device communication and should only be considered as a temporary measure until the Kernel is updated.
Conclusion
The null pointer dereference vulnerability in lpfc_prep_els_iocb() can have severe consequences, including system crashes and potential privilege escalation. It is crucial to update the Kernel to version v5.12.4 or later to mitigate this vulnerability. For further support and assistance in vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The Kernel is a crucial component of the Linux operating system that manages system resources and facilitates communication between hardware and software.
The lpfc driver is a component of the Kernel that enables communication with SCSI devices connected to the system.
A null pointer dereference occurs when a program attempts to access memory using a null pointer, leading to a crash or potential security vulnerability.
Privilege escalation refers to the act of gaining elevated privileges on a system, allowing an attacker to perform actions beyond their originally assigned permissions.
To update the Kernel, you can obtain the updated source code from the official Git repository and compile it according to the provided instructions.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.