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.
Why it matters
Impact assessment
CVE-2024-36952 affects Linux hosts using the Emulex/Broadcom lpfc Fibre Channel driver with NPIV virtual ports. Successful triggering leaves stale NPIV login state on the Fibre Channel fabric after virtual-port deletion, potentially disrupting subsequent virtual-port lifecycle operations and Fibre Channel connectivity.
- Severity: Moderate; Red Hat CVSS v3.1 4.4 (
AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H). NVD score: 4.7. - Impact: Availability only. Red Hat reports no confidentiality or integrity impact, but rates availability impact High.
- Exposure scope: Limited to systems with
lpfcand NPIV configured; this is not a general Linux-kernel exposure. - Prerequisites: Local access with high privileges is required. No user interaction is required.
- Affected populations: Enterprises operating Fibre Channel SANs, particularly virtualization or partitioning deployments that create and delete NPIV virtual ports.
- Exploitation: The supplied references do not report exploitation in the wild.
- Support status: RHEL 6 and RHEL 7 are outside Red Hat support scope and should be treated as exposed if they use the affected configuration.
Supporting details
- A stale fabric session can cause the Fibre Channel switch to believe a deleted NPIV virtual port remains logged in.
- The resulting condition can interfere with SAN operational workflows and require manual fabric/session remediation in affected environments.


