PCI: Fix UAF when probe runs concurrent to dyn ID removal
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 0994375e9614f78657031e04e30019b9cdb62795 · < 3ffc4c9690c33ee28cdb3d0182b12f9c623e3acc| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel has a use-after-free vulnerability in PCI device matching when a probe runs concurrently with dynamic ID removal. The provided description does not specify whether exploitation requires network or local access, authentication, or user interaction.
Engineers running Linux kernels with PCI dynamic IDs should check their deployments; affected versions are not specified.