scsi: pm8001: Use rollback index when freeing MSI-X vectors
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ a76037ff3479ad333a2505061915f7a21e7f3fb6 · < dd817463c9b42a3a9e23d15b86c6c77a6cfb809d| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
scsi: pm8001: Use rollback index when freeing MSI-X vectors
pm8001_request_msix() unwinds previously registered handlers with free_irq() when request_irq() fails. The rollback loop uses the failing index i for every iteration instead of the already registered vector index j.
That passes the wrong IRQ/dev_id pair to free_irq() and leaves the earlier handlers installed. Use j for both pci_irq_vector() and the matching irq_vector entry in the rollback loop.
From the CVE record · Linux
The Linux kernel's pm8001 driver uses the wrong vector index when cleaning up after an MSI-X IRQ registration failure, leaving earlier handlers installed. The input does not describe an attacker action or specify whether exploitation requires network access, authentication, or user interaction.
Engineers running Linux kernels with the pm8001 driver should check their kernel versions; affected versions are not specified.