CVE-2024-36952: Incomplete NPIV cleanup in the Linux kernel lpfc driver
- Vendor
- Linux
CVE-2024-36952 is an incomplete-cleanup vulnerability in the Linux kernel SCSI lpfc driver's NPIV virtual-port deletion path. Premature transport unregistration invokes fc_remove_host(), which calls dev_loss_tmo for all D_IDs, including the fabric D_ID, and can release the final ndlp reference and free the ndlp rport object. A race can consequently prevent the final Remove All DA_ID CT and LOGO ELS requests from being sent, leaving the Fibre Channel fabric switch incorrectly treating the deleted virtual port as still logged in.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Deleting an NPIV virtual port can leave stale login state on the Fibre Channel fabric switch because the required deregistration and logout requests are skipped. This prevents complete cleanup of the deleted port's fabric state. Specific downstream service-disruption behavior is not established.
Mitigation
If you can’t patch tonight, do this now.
Where an immediate kernel update is not possible, restrict administrative access capable of creating or deleting NPIV virtual ports and avoid unnecessary NPIV vport deletion on affected lpfc-connected systems. Monitor Fibre Channel fabric state for stale NPIV logins and perform approved operational cleanup if they occur. Disabling or not using NPIV on affected adapters removes the relevant vulnerable operation.
Remediation
Patch, then assume compromise.
Update to a supported kernel containing the fix. Fixed upstream releases include 5.15.159, 6.1.91, 6.6.31, 6.8.10, and 6.9; the Linux kernel CVE team recommends the latest stable release rather than cherry-picking the individual fix. The patch moves fc_remove_host() and scsi_remove_host() after resource cleanup and transmission of the DA_ID and LOGO requests. For distribution kernels, install the applicable vendor update; Red Hat requires a reboot for its updated kernel to take effect.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2024-36952 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2024-36952 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2024-36952?
- As of Oct 16, 2026, Mallory has found no public exploit for CVE-2024-36952.
- Is there a patch for CVE-2024-36952?
- Update to a supported kernel containing the fix. Fixed upstream releases include 5.15.159, 6.1.91, 6.6.31, 6.8.10, and 6.9; the Linux kernel CVE team recommends the latest stable release rather than cherry-picking the individual fix.
- What products are affected by CVE-2024-36952?
- Linux Kernel.
- How severe is CVE-2024-36952?
- CVE-2024-36952 has a CVSS v3.1 score of 4.7 (Medium) and an EPSS score of 0.29% (14th percentile) as of Oct 16, 2026.
Recent activity
11 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.