CVE-2024-36952 Details
Description
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 fc_remove_host(), which calls dev_loss_tmo for all D_IDs including the fabric D_ID, 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 fc_remove_host() and scsi_remove_host() calls after DA_ID and LOGO are sent.
A vulnerability in the Linux kernel's SCSI LPFC driver related to NPIV (N-Port ID Virtualization) has been addressed. The issue arose because, after NPIV deletion, the fabric switch sometimes still believed the NPIV was active. This confusion occurred when a virtual port was unregistered before the necessary cleanup commands were sent to the fabric switch. The problem created a race condition, causing the final cleanup commands to be missed, which could lead to inconsistencies in the fabric switch's state.
The vulnerability has been fixed by changing the order of operations in the NPIV deletion process. The 'fc_remove_host' and 'scsi_remove_host' calls have been moved to after the 'DA_ID' and 'LOGO' commands are sent to the fabric switch.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 3, 2024References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-459 | Incomplete Cleanup | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | < 5.15.159 >= 5.16, < 6.1.91 >= 6.2, < 6.6.31 >= 6.7, < 6.8.10 6.9 rc1 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Oct 1, 2025 | Initial Analysis | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 30, 2024 | New CVE Received | kernel.org |