Description
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 products
- Linux / Linux6.18.33 – 6.18.*
- Linux / Linux782a985d7af26db39e86070d28f987cad21313c0 – dfe950d9464cad609f3b118c6203e2708055bc61
- Linux / Linux782a985d7af26db39e86070d28f987cad21313c0 – 58a42be0d70307d765594fc581f5f5e5ef059712
- Linux / Linux782a985d7af26db39e86070d28f987cad21313c0 – c5b2c5755495507e14f310c2653c85de0a309b1f
- Linux / Linux782a985d7af26db39e86070d28f987cad21313c0 – 10a4206a24013be4d558d476010cbf2eb4c9fa64
- Linux / Linux3.16 – 3.16
- Linux / Linux0 – 3.16
- Linux / Linux6.12.91 – 6.12.*
- Linux / Linux7.0.10 – 7.0.*
- Linux / Linux7.1 – *
References
- MISChttps://git.kernel.org/stable/c/dfe950d9464cad609f3b118c6203e2708055bc61
- MISChttps://git.kernel.org/stable/c/58a42be0d70307d765594fc581f5f5e5ef059712
- MISChttps://git.kernel.org/stable/c/c5b2c5755495507e14f310c2653c85de0a309b1f
- MISChttps://git.kernel.org/stable/c/10a4206a24013be4d558d476010cbf2eb4c9fa64