{"id":"CVE-2024-36952","published":"2024-05-30T15:35:47Z","modified":"2026-05-11T20:17:40Z","title":"scsi: lpfc: Move NPIV's transport unregistration to after resource clean up","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: lpfc: Move NPIV's transport unregistration to after resource clean up\n\nThere are cases after NPIV deletion where the fabric switch still believes\nthe NPIV is logged into the fabric.  This occurs when a vport is\nunregistered before the Remove All DA_ID CT and LOGO ELS are sent to the\nfabric.\n\nCurrently fc_remove_host(), which calls dev_loss_tmo for all D_IDs including\nthe fabric D_ID, removes the last ndlp reference and frees the ndlp rport\nobject.  This sometimes causes the race condition where the final DA_ID and\nLOGO are skipped from being sent to the fabric switch.\n\nFix by moving the fc_remove_host() and scsi_remove_host() calls after DA_ID\nand LOGO are sent.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00222,"percentile":0.13015,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/f2c7f029051edc4b394bb48edbe2297575abefe0","tags":[]},{"url":"https://git.kernel.org/stable/c/0936809d968ecf81e0726fbd02ff2a5732d960c3","tags":[]},{"url":"https://git.kernel.org/stable/c/76337eb8daee32bcc67742efab3168ed4ca299d0","tags":[]},{"url":"https://git.kernel.org/stable/c/718602cd15f4c5710850090ea3066a89eeb46278","tags":[]},{"url":"https://git.kernel.org/stable/c/4ddf01f2f1504fa08b766e8cfeec558e9f8eef6c","tags":[]}],"priority":{"score":2.6,"factors":[{"name":"EPSS percentile","points":2.6}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 92d7f7b0cde3ad2260e7462b40867b57efd49851, < f2c7f029051edc4b394bb48edbe2297575abefe0",">= 92d7f7b0cde3ad2260e7462b40867b57efd49851, < 0936809d968ecf81e0726fbd02ff2a5732d960c3",">= 92d7f7b0cde3ad2260e7462b40867b57efd49851, < 76337eb8daee32bcc67742efab3168ed4ca299d0",">= 92d7f7b0cde3ad2260e7462b40867b57efd49851, < 718602cd15f4c5710850090ea3066a89eeb46278",">= 92d7f7b0cde3ad2260e7462b40867b57efd49851, < 4ddf01f2f1504fa08b766e8cfeec558e9f8eef6c"]},{"vendor":"Linux","product":"Linux","versions":["2.6.23"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-06-03T19:01:27.425378Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-36302","exploited":false,"provenance":"source"}}