In the Linux kernel, the following vulnerability has been resolved:
scsi: lpfc: Resolve NULL ptr dereference after an ELS LOGO is aborted
A use-after-free crash can occur after an ELS LOGO is aborted.
Specifically, a nodelist structure is freed and then ndlp->vport->cfglogverbose is dereferenced in lpfcnlpget() when the discovery state machine is mistakenly called a second time with NLPEVTDEVICE_RM argument.
Rework lpfccmplels_logo() to prevent the duplicate calls to release a nodelist structure.