CVE-2024-36952

Source
https://cve.org/CVERecord?id=CVE-2024-36952
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-36952.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-36952
Downstream
Related
Published
2024-05-30T15:35:47.477Z
Modified
2026-03-13T07:55:40.196981Z
Summary
scsi: lpfc: Move NPIV's transport unregistration to after resource clean up
Details

In the Linux kernel, the following vulnerability has been resolved:

scsi: lpfc: Move NPIV's transport unregistration to after resource clean up

There are cases after NPIV deletion where the fabric switch still believes the NPIV is logged into the fabric. This occurs when a vport is unregistered before the Remove All DA_ID CT and LOGO ELS are sent to the fabric.

Currently fcremovehost(), which calls devlosstmo for all DIDs including the fabric DID, removes the last ndlp reference and frees the ndlp rport object. This sometimes causes the race condition where the final DA_ID and LOGO are skipped from being sent to the fabric switch.

Fix by moving the fcremovehost() and scsiremovehost() calls after DA_ID and LOGO are sent.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/36xxx/CVE-2024-36952.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
92d7f7b0cde3ad2260e7462b40867b57efd49851
Fixed
f2c7f029051edc4b394bb48edbe2297575abefe0
Fixed
0936809d968ecf81e0726fbd02ff2a5732d960c3
Fixed
76337eb8daee32bcc67742efab3168ed4ca299d0
Fixed
718602cd15f4c5710850090ea3066a89eeb46278
Fixed
4ddf01f2f1504fa08b766e8cfeec558e9f8eef6c

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-36952.json"