In the Linux kernel, the following vulnerability has been resolved: platform/wmi: 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/8a700b1fc94df4d847a04f14ebc7f8532592b367
https://git.kernel.org/stable/c/4dc755d86deed88789540d960e421124bad4c568
https://git.kernel.org/stable/c/2c5507010fc3b8e2bd596c63c88f6ad39a69b1c4
https://git.kernel.org/stable/c/13d201bd840d2e2a645ef899f81342cd27ced346