
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2022-49535 affects the Linux kernel's SCSI lpfc driver, specifically related to a null pointer dereference vulnerability. The issue occurs when lpfc_issue_els_flogi() fails and returns non-zero status, causing premature release of the nodelist structure if there is a prior registration or dev-loss-evt work pending (Kernel Git).
The vulnerability manifests when the node reference count is decremented to trigger the release of the nodelist structure after a failed FLOGI operation. If dev-loss-evt work is pending, the node may be released prematurely, leading to a use-after-free null pointer dereference when dev-loss-evt completes. Similarly, when processing non-zero ELS PLOGI completion status in lpfc_cmpl_els_plogi(), if dev-loss-evt work is pending, the node may be released prematurely causing a use-after-free condition in lpfc_dev_loss_tmo_handler() (Kernel Git).
The vulnerability can lead to a null pointer dereference and potential system crash, affecting the stability and reliability of systems using the lpfc driver for SCSI operations (Kernel Git).
The vulnerability requires specific timing conditions involving FLOGI and PLOGI operations in the lpfc driver, making it primarily a reliability issue rather than a security exploit (Kernel Git).
The fix involves adding a test for pending dev-loss before decrementing the node reference count for FLOGI, PLOGI, PRLI, and ADISC handling. This ensures that node references are properly retained while registered with a transport or when dev-loss-evt work is pending (Kernel Git).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."