Linux lpfc Driver Race Leaves NPIV Fibre Channel Sessions Stale
Vulnerability Disclosure · 3 sources · Updated 3mo ago · First seen Aug 8, 2024

CVE-2024-36952 is a moderate-severity flaw in the Linux kernel's lpfc SCSI driver affecting its NPIV virtual-port cleanup path. A race condition can unregister a virtual port and free its remote-port object before the driver sends its final Remove All DA_ID CT and LOGO ELS requests, causing a Fibre Channel fabric switch to retain an incorrect logged-in NPIV session state.
Red Hat rated the issue CVSS v3.1 4.4 and released fixes for supported Red Hat Enterprise Linux 8 and 9 streams; RHEL 6 and 7 are outside support scope. The correction defers fc_remove_host() and scsi_remove_host() until after the DA_ID and LOGO messages are transmitted, addressing an incomplete-cleanup condition consistent with CWE-459.