Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 0994375e9614f78657031e04e30019b9cdb62795 before d867db0a2602919510f346bc555f7b3093f6b6cc; affected 0994375e9614f78657031e04e30019b9cdb62795 before 2cbcb0819c6367e1d5b0792a960594cc19576e23; affected 0994375e9614f78657031e04e30019b9cdb62795 before c36816feff47f676dcc51919777d483f4146c1ee; affected 0994375e9614f78657031e04e30019b9cdb62795 before 42a5661ff7e4c7d3c5025d0f8e5079fb5479ea49; affected 0994375e9614f78657031e04e30019b9cdb62795 before 3ffc4c9690c33ee28cdb3d0182b12f9c623e3acc |
| Linux / Linux | affected 2.6.30; unaffected 0 before 2.6.30; unaffected 6.6.160 through 6.6.*; unaffected 6.12.114 through 6.12.*; unaffected 6.18.57 through 6.18.*; unaffected 7.2.6 through 7.2.*; unaffected 7.3 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/d867db0a2602919510f346bc555f7b3093f6b6cc
- https://git.kernel.org/stable/c/2cbcb0819c6367e1d5b0792a960594cc19576e23
- https://git.kernel.org/stable/c/c36816feff47f676dcc51919777d483f4146c1ee
- https://git.kernel.org/stable/c/42a5661ff7e4c7d3c5025d0f8e5079fb5479ea49
- https://git.kernel.org/stable/c/3ffc4c9690c33ee28cdb3d0182b12f9c623e3acc