{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-36952","id":"CVE-2024-36952","title":"scsi: lpfc: Move NPIV's transport unregistration to after resource clean up","description":"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(), whic","descriptionLong":"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.","published":"2024-05-30T15:35:47.477Z","updated":"2026-10-28T02:31:07.455622095Z","reserved":"2024-05-30T15:25:07.080Z","status":"Analyzed","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"92d7f7b0cde3ad2260e7462b40867b57efd49851","lessThan":"f2c7f029051edc4b394bb48edbe2297575abefe0","status":"affected","versionType":"git"},{"version":"92d7f7b0cde3ad2260e7462b40867b57efd49851","lessThan":"0936809d968ecf81e0726fbd02ff2a5732d960c3","status":"affected","versionType":"git"},{"version":"92d7f7b0cde3ad2260e7462b40867b57efd49851","lessThan":"76337eb8daee32bcc67742efab3168ed4ca299d0","status":"affected","versionType":"git"},{"version":"92d7f7b0cde3ad2260e7462b40867b57efd49851","lessThan":"718602cd15f4c5710850090ea3066a89eeb46278","status":"affected","versionType":"git"},{"version":"92d7f7b0cde3ad2260e7462b40867b57efd49851","lessThan":"4ddf01f2f1504fa08b766e8cfeec558e9f8eef6c","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.23","status":"affected"},{"version":"0","lessThan":"2.6.23","status":"unaffected","versionType":"semver"},{"version":"5.15.159","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.91","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.31","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.8.10","lessThanOrEqual":"6.8.*","status":"unaffected","versionType":"semver"},{"version":"6.9","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-459"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/f2c7f029051edc4b394bb48edbe2297575abefe0","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/0936809d968ecf81e0726fbd02ff2a5732d960c3","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/76337eb8daee32bcc67742efab3168ed4ca299d0","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/718602cd15f4c5710850090ea3066a89eeb46278","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/4ddf01f2f1504fa08b766e8cfeec558e9f8eef6c","tags":["x_transferred","Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/36xxx/CVE-2024-36952.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-36952","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00222,"epssPercentile":0.12904,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-36952","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-36952","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-36952","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-36952","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}