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.
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49730.json"
}