Linux Kernel SCSI lpfc Driver Null Pointer Dereference Vulnerability Leading to Use-After-Free

Vulnerability

A vulnerability in the Linux kernel's SCSI lpfc driver can cause a null pointer dereference, resulting in a use-after-free error. This issue arises when the function lpfc_issue_els_flogi() fails and returns a non-zero status. The nodereference count is then decremented, prematurely releasing the nodelist structure. If there is pending work from a prior registration or a dev-loss-evt event, the released node is referenced again, causing the null pointer dereference. A similar issue occurs when processing non-zero ELS PLOGI completion statuses, where the node may be released too early, leading to the same use-after-free dereference when the dev-loss-evt work is completed.

Impact

Exploitation of this vulnerability causes a null pointer dereference, leading to a use-after-free condition. This can potentially be exploited to execute arbitrary code or cause a denial-of-service condition by crashing the system.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
5.3
remediation
0.0
relevance
0.0
threat
3.2
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.