Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 782a985d7af26db39e86070d28f987cad21313c0 before fdfa287956d00b936e0ac409b21e4f90501ad109; affected 782a985d7af26db39e86070d28f987cad21313c0 before dfe950d9464cad609f3b118c6203e2708055bc61; affected 782a985d7af26db39e86070d28f987cad21313c0 before 58a42be0d70307d765594fc581f5f5e5ef059712; affected 782a985d7af26db39e86070d28f987cad21313c0 before c5b2c5755495507e14f310c2653c85de0a309b1f; affected 782a985d7af26db39e86070d28f987cad21313c0 before 10a4206a24013be4d558d476010cbf2eb4c9fa64 |
| Linux / Linux | affected 3.16; unaffected 0 before 3.16; unaffected 6.6.160 through 6.6.*; unaffected 6.12.91 through 6.12.*; unaffected 6.18.33 through 6.18.*; unaffected 7.0.10 through 7.0.*; unaffected 7.1 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/fdfa287956d00b936e0ac409b21e4f90501ad109
- https://git.kernel.org/stable/c/dfe950d9464cad609f3b118c6203e2708055bc61
- https://git.kernel.org/stable/c/58a42be0d70307d765594fc581f5f5e5ef059712
- https://git.kernel.org/stable/c/c5b2c5755495507e14f310c2653c85de0a309b1f
- https://git.kernel.org/stable/c/10a4206a24013be4d558d476010cbf2eb4c9fa64