Linux
PCI: use generic driver_override infrastructure
In the Linux kernel, the following vulnerability has been resolved: PCI: use generic driver_override infrastructure When a driver is probed through __driver_attach(), the bus' match() callback is called without the device lock held, thus accessing the driver_override field without a lock, which can cause a UAF. Fix this by using the driver-core driver_override infrastructure taking care of proper locking internally. Note that calling match() from __driver_attach() without the device lock held is intentional. [1]
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 782a985d7af26db39e86070d28f987cad21313c0, < fdfa287956d00b936e0ac409b21e4f90501ad109
- >= 782a985d7af26db39e86070d28f987cad21313c0, < dfe950d9464cad609f3b118c6203e2708055bc61
- >= 782a985d7af26db39e86070d28f987cad21313c0, < 58a42be0d70307d765594fc581f5f5e5ef059712
- >= 782a985d7af26db39e86070d28f987cad21313c0, < c5b2c5755495507e14f310c2653c85de0a309b1f
- >= 782a985d7af26db39e86070d28f987cad21313c0, < 10a4206a24013be4d558d476010cbf2eb4c9fa64
Fixed in fdfa287956d00b936e0ac409b21e4f90501ad109, dfe950d9464cad609f3b118c6203e2708055bc61, 58a42be0d70307d765594fc581f5f5e5ef059712, c5b2c5755495507e14f310c2653c85de0a309b1f, 10a4206a24013be4d558d476010cbf2eb4c9fa64
- 3.16
Fixed in 0, 6.6.160, 6.12.91, 6.18.33, 7.0.10, 7.1
Mitigation
Upgrade Linux to fdfa287956d00b936e0ac409b21e4f90501ad109 or dfe950d9464cad609f3b118c6203e2708055bc61 or 58a42be0d70307d765594fc581f5f5e5ef059712 or c5b2c5755495507e14f310c2653c85de0a309b1f or 10a4206a24013be4d558d476010cbf2eb4c9fa64 or later.
Upgrade Linux to 0 or 6.6.160 or 6.12.91 or 6.18.33 or 7.0.10 or 7.1 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.