CVE-2024-50183 scsi: lpfc: Ensure DA_ID handling completion before deleting an NPIV instance

Medium 4.7 Published Updated

A race condition in the Linux kernel lpfc driver can cause a kref imbalance and potential denial of service when deleting an NPIV instance.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2024-50183?

CVE-2024-50183 is a medium-severity vulnerability in Linux kernel, published on 8 Nov 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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

scsi: lpfc: Ensure DA_ID handling completion before deleting an NPIV instance

Deleting an NPIV instance requires all fabric ndlps to be released before an NPIV's resources can be torn down. Failure to release fabric ndlps beforehand opens kref imbalance race conditions. Fix by forcing the DA_ID to complete synchronously with usage of wait_queue.

Weakness: CWE-362

Which versions are affected by CVE-2024-50183?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-50183?

Apply the vendor's patch.

Is CVE-2024-50183 being exploited?

There is no known exploitation of CVE-2024-50183 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as AZL-54074, BELL-CVE-2024-50183, DEBIAN-CVE-2024-50183, GHSA-jhcx-6vfx-gpqr, ROOT-OS-DEBIAN-11-CVE-2024-50183, ROOT-OS-UBUNTU-2204-CVE-2024-50183 and 1 more.

Is CVE-2024-50183 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free