Skip to contentSkip to conversation

CVE-2026-90421: PCI: Fix UAF when probe runs concurrent to dyn ID removal

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 17

lore
Share & tools
lore
#0 lore raw

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

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

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

PCI: Fix UAF when probe runs concurrent to dyn ID removal

Dynamic IDs are only guaranteed to be valid when dynids.lock is held, as remove_id_store() can free the node. Thus, make a copy in pci_match_device(). Also, clarify that the id parameter is only valid during probe.

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

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

	Issue introduced in 2.6.30 with commit 0994375e9614f78657031e04e30019b9cdb62795 and fixed in 7.2.6 with commit 42a5661ff7e4c7d3c5025d0f8e5079fb5479ea49
	Issue introduced in 2.6.30 with commit 0994375e9614f78657031e04e30019b9cdb62795 and fixed in 7.3-rc1 with commit 3ffc4c9690c33ee28cdb3d0182b12f9c623e3acc

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-90421

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/pci/pci-driver.c
include/linux/pci.h

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/42a5661ff7e4c7d3c5025d0f8e5079fb5479ea49
	https://git.kernel.org/stable/c/3ffc4c9690c33ee28cdb3d0182b12f9c623e3acc