CVE-2024-36952: scsi: lpfc: Move NPIV's transport unregistration to after resource clean up
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 DAID 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 DAID and LOGO are skipped from being sent to the fabric switch.
Fix by moving the fcremovehost() and scsiremovehost() calls after DAID and LOGO are sent.
Other sources
In the Linux kernel, the following vulnerability has been resolved:
scsi: lpfc: Move NPIV's transport unregistration to after resource clean up
The Linux kernel CVE team has assigned CVE-2024-36952 to this issue.
Upstream advisory: https://lore.kernel.org/linux-cve-announce/2024053040-CVE-2024-36952-f8f8@gregkh/T
— Red Hat
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2024-36952?
CVE-2024-36952 has a medium severity rating due to its potential impact on SCSI operations.
How do I fix CVE-2024-36952?
To mitigate CVE-2024-36952, update the Linux kernel to the recommended versions, such as 5.15.159 or 6.1.91, from Red Hat.
What versions of Linux are affected by CVE-2024-36952?
CVE-2024-36952 affects multiple Linux kernel versions, including 5.15.x, 6.1.x, and recent versions up to 6.9.
What are the potential risks of CVE-2024-36952?
The primary risk associated with CVE-2024-36952 involves improper resource clean-up after NPIV deletion, which can lead to authentication issues.
Is CVE-2024-36952 related to SCSI operations?
Yes, CVE-2024-36952 specifically pertains to the handling of NPIV (N_Port ID Virtualization) in the Linux SCSI subsystem.