CVE-2024-36952

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

MEDIUM
4.7
CVSS Score
Published: May 30, 2024 at 03:35 PM UTC
Updated: June 17, 2026 at 07:37 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM4.7
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

Description

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 DA_ID CT and LOGO ELS are sent to the fabric. Currently fc_remove_host(), which calls dev_loss_tmo for all D_IDs including the fabric D_ID, removes the last ndlp reference and frees the ndlp rport object. This sometimes causes the race condition where the final DA_ID and LOGO are skipped from being sent to the fabric switch. Fix by moving the fc_remove_host() and scsi_remove_host() calls after DA_ID and LOGO are sent.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 5.15.1592.6.23 ≤ v < 5.15.1592.6.23 ≤ v < 6.1.912.6.23 ≤ v < 6.6.312.6.23 ≤ v < 6.8.102.6.23 ≤ v < 6.95.16 ≤ v < 6.1.916.2 ≤ v < 6.6.316.7 ≤ v < 6.8.102.6.236.9 rc192d7f7b0cde3ad2260e7462b40867b57efd49851
Vendor states this is fixed in 0936809d968ecf81e0726fbd02ff2a5732d960c3 (fixed)
Vendor states this is fixed in 4ddf01f2f1504fa08b766e8cfeec558e9f8eef6c (fixed)
Vendor states this is fixed in 718602cd15f4c5710850090ea3066a89eeb46278 (fixed)
Vendor states this is fixed in 76337eb8daee32bcc67742efab3168ed4ca299d0 (fixed)
Vendor states this is fixed in f2c7f029051edc4b394bb48edbe2297575abefe0 (fixed)
Vendor states this is fixed in 2.6.23 (unaffected)
Vendor states this is fixed in 5.15.159 (unaffected)
Vendor states this is fixed in 6.1.91 (unaffected)
Vendor states this is fixed in 6.6.31 (unaffected)
Vendor states this is fixed in 6.8.10 (unaffected)
Vendor states this is fixed in 6.9 (unaffected)

References (5)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0936809d968ecf81e0726fbd02ff2a5732d960c3
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/4ddf01f2f1504fa08b766e8cfeec558e9f8eef6c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/718602cd15f4c5710850090ea3066a89eeb46278
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/76337eb8daee32bcc67742efab3168ed4ca299d0
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f2c7f029051edc4b394bb48edbe2297575abefe0

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
HIGH
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-459

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card