scsi: lpfc: Ensure DA_ID handling completion before deleting an NPIV instance
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel’s lpfc driver has a race when an NPIV instance is deleted before fabric ndlps are released. This can cause a reference-count imbalance. The input does not describe an attacker path, authentication requirements, or user interaction.
Engineers running Linux kernels that use the lpfc driver and NPIV instances should check their deployments; affected versions are not specified.