{"id":"CVE-2024-36952","aliases":["CVE-2024-36952"],"related":[],"kind":"vulnerability","state":"published","title":"scsi: lpfc: Move NPIV's transport unregistration to after resource clean up","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se resolvió la siguiente vulnerabilidad: scsi: lpfc: Mover la anulación del registro de transporte de NPIV a después de la limpieza de recursos. Hay casos después de la eliminación de NPIV en los que el conmutador de tejido todavía cree que el NPIV está registrado en el tejido. Esto ocurre cuando se cancela el registro de un vport antes de que Remove All DA_ID CT y LOGO ELS se envíen a la estructura. Actualmente, fc_remove_host(), que llama a dev_loss_tmo para todos los D_ID, incluido el D_ID de tejido, elimina la última referencia de ndlp y libera el objeto de informe de ndlp. Esto a veces provoca la condición de ejecución en la que el DA_ID y el LOGO finales no se envían al conmutador de estructura. Para solucionarlo, mueva las llamadas fc_remove_host() y scsi_remove_host() después de enviar DA_ID y LOGO.","source":"nvd"}],"published":"2024-05-30T15:35:47.477Z","modified":"2026-06-17T07:37:26.290Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","score":4.7,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","score":4.7,"rating":"MEDIUM"}],"cwes":["CWE-459"],"affected":[{"ranges":[{"type":"git","introduced":"92d7f7b0cde3ad2260e7462b40867b57efd49851","fixed":"f2c7f029051edc4b394bb48edbe2297575abefe0","status":"affected"},{"type":"git","introduced":"92d7f7b0cde3ad2260e7462b40867b57efd49851","fixed":"0936809d968ecf81e0726fbd02ff2a5732d960c3","status":"affected"},{"type":"git","introduced":"92d7f7b0cde3ad2260e7462b40867b57efd49851","fixed":"76337eb8daee32bcc67742efab3168ed4ca299d0","status":"affected"},{"type":"git","introduced":"92d7f7b0cde3ad2260e7462b40867b57efd49851","fixed":"718602cd15f4c5710850090ea3066a89eeb46278","status":"affected"},{"type":"git","introduced":"92d7f7b0cde3ad2260e7462b40867b57efd49851","fixed":"4ddf01f2f1504fa08b766e8cfeec558e9f8eef6c","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.23","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.23","status":"unaffected"},{"type":"semver","introduced":"5.15.159","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.91","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.31","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.8.10","lastAffected":"6.8.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.9","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"5.15.159"},{"status":"affected","introduced":"5.16","fixed":"6.1.91"},{"status":"affected","introduced":"6.2","fixed":"6.6.31"},{"status":"affected","introduced":"6.7","fixed":"6.8.10"},{"status":"affected","version":"6.9"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/f2c7f029051edc4b394bb48edbe2297575abefe0","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0936809d968ecf81e0726fbd02ff2a5732d960c3","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/76337eb8daee32bcc67742efab3168ed4ca299d0","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/718602cd15f4c5710850090ea3066a89eeb46278","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4ddf01f2f1504fa08b766e8cfeec558e9f8eef6c","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-06-03T19:01:27.425Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-36952","url":"https://www.cve.org/CVERecord?id=CVE-2024-36952","licence":"CVE Terms of Use","modified":"2026-05-11T20:17:40.250Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-36952","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-36952","licence":"Public domain","modified":"2026-06-17T07:37:26.290Z"}],"updatedAt":"2026-11-25T22:58:41.299Z","epss":{"score":0.00222,"percentile":0.13609,"date":"2026-12-01T12:00:22.000Z"}}