CVE-2024-36952: scsi: lpfc: Move NPIV's transport unregistration to after resource clean up

Published May 30, 2024
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

scsi: lpfc: Move NPIV's transport unregistration to after resource clean up

There are cases after NPIV deletion where the fabric switch still believes the NPIV is logged into the fabric. This occurs when a vport is unregistered before the Remove All DAID CT and LOGO ELS are sent to the fabric.

Currently fcremovehost(), which calls devlosstmo for all DIDs including the fabric DID, removes the last ndlp reference and frees the ndlp rport object. This sometimes causes the race condition where the final DAID and LOGO are skipped from being sent to the fabric switch.

Fix by moving the fcremovehost() and scsiremovehost() calls after DAID and LOGO are sent.

Other sources

In the Linux kernel, the following vulnerability has been resolved:

scsi: lpfc: Move NPIV's transport unregistration to after resource clean up

The Linux kernel CVE team has assigned CVE-2024-36952 to this issue.

Upstream advisory: https://lore.kernel.org/linux-cve-announce/2024053040-CVE-2024-36952-f8f8@gregkh/T

Red Hat

Affected Software

11 affected componentsFixes available
debian/linux<=5.10.223-1, <=5.10.234-1
6.1.129-16.1.135-16.12.25-16.12.27-1
redhat/kernel<5.15.159
5.15.159
redhat/kernel<6.1.91
6.1.91
redhat/kernel<6.6.31
6.6.31
redhat/kernel<6.8.10
6.8.10
redhat/kernel<6.9
6.9
Linux Linux kernel<5.15.159
Linux Linux kernel>=5.16<6.1.91
Linux Linux kernel>=6.2<6.6.31
Linux Linux kernel>=6.7<6.8.10
Linux Linux kernel=6.9-rc1

Event History

May 30, 2024
CVE Published
via MITRE·03:35 PM
Data Sourced
via MITRE·03:35 PM
Description
Data Sourced
via NVD·04:15 PM
Description
Data Sourced
via NVD·04:15 PM
RemedySeverityWeaknessAffected Software
Jun 3, 2024
Data Sourced
via Red Hat·02:02 PM
DescriptionSeverityAffected Software
Aug 8, 2024
Data Sourced
via Launchpad·11:27 PM
Description
Apr 27, 2025
Data Sourced
via Ubuntu·12:27 AM
RemedyDescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-36952?

CVE-2024-36952 has a medium severity rating due to its potential impact on SCSI operations.

2

How do I fix CVE-2024-36952?

To mitigate CVE-2024-36952, update the Linux kernel to the recommended versions, such as 5.15.159 or 6.1.91, from Red Hat.

3

What versions of Linux are affected by CVE-2024-36952?

CVE-2024-36952 affects multiple Linux kernel versions, including 5.15.x, 6.1.x, and recent versions up to 6.9.

4

What are the potential risks of CVE-2024-36952?

The primary risk associated with CVE-2024-36952 involves improper resource clean-up after NPIV deletion, which can lead to authentication issues.

5

Is CVE-2024-36952 related to SCSI operations?

Yes, CVE-2024-36952 specifically pertains to the handling of NPIV (N_Port ID Virtualization) in the Linux SCSI subsystem.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203