Skip to contentSkip to conversation

CVE-2026-90007: scsi: pm8001: Use rollback index when freeing MSI-X vectors

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 16

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

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.

The Linux kernel CVE team has assigned CVE-2026-90007 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 4.11 with commit a76037ff3479ad333a2505061915f7a21e7f3fb6 and fixed in 5.10.270 with commit f39e3ca1f688d7c08954a0794e9bf1e279c83b15
	Issue introduced in 4.11 with commit a76037ff3479ad333a2505061915f7a21e7f3fb6 and fixed in 5.15.221 with commit a980dec7c69990e4f119bcf6a2ea093d1c4975e8
	Issue introduced in 4.11 with commit a76037ff3479ad333a2505061915f7a21e7f3fb6 and fixed in 6.1.188 with commit 0205db768570f9a46b20912afa581a0c7a63d8b7
	Issue introduced in 4.11 with commit a76037ff3479ad333a2505061915f7a21e7f3fb6 and fixed in 6.6.157 with commit 2853ce9c88e0e6dd575f95f28b3a8c2b27164115
	Issue introduced in 4.11 with commit a76037ff3479ad333a2505061915f7a21e7f3fb6 and fixed in 6.12.110 with commit fb22a8d2f3ac6665cc8bee197096b6675cac1a9f
	Issue introduced in 4.11 with commit a76037ff3479ad333a2505061915f7a21e7f3fb6 and fixed in 6.18.51 with commit dd817463c9b42a3a9e23d15b86c6c77a6cfb809d
	Issue introduced in 4.11 with commit a76037ff3479ad333a2505061915f7a21e7f3fb6 and fixed in 7.2.5 with commit e20b16aa3b49f9db5510940740255a987e6f2a6f
	Issue introduced in 4.11 with commit a76037ff3479ad333a2505061915f7a21e7f3fb6 and fixed in 7.3-rc2 with commit 3f92a64545165bdbb36dee8fa35626b295463313

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-90007

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:

	drivers/scsi/pm8001/pm8001_init.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/f39e3ca1f688d7c08954a0794e9bf1e279c83b15
	https://git.kernel.org/stable/c/a980dec7c69990e4f119bcf6a2ea093d1c4975e8
	https://git.kernel.org/stable/c/0205db768570f9a46b20912afa581a0c7a63d8b7
	https://git.kernel.org/stable/c/2853ce9c88e0e6dd575f95f28b3a8c2b27164115
	https://git.kernel.org/stable/c/fb22a8d2f3ac6665cc8bee197096b6675cac1a9f
	https://git.kernel.org/stable/c/dd817463c9b42a3a9e23d15b86c6c77a6cfb809d
	https://git.kernel.org/stable/c/e20b16aa3b49f9db5510940740255a987e6f2a6f
	https://git.kernel.org/stable/c/3f92a64545165bdbb36dee8fa35626b295463313