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]
https://git.kernel.org/stable/c/dfe950d9464cad609f3b118c6203e2708055bc61
https://git.kernel.org/stable/c/c5b2c5755495507e14f310c2653c85de0a309b1f
https://git.kernel.org/stable/c/58a42be0d70307d765594fc581f5f5e5ef059712
https://git.kernel.org/stable/c/10a4206a24013be4d558d476010cbf2eb4c9fa64