In the Linux kernel, the following vulnerability has been resolved: bus: fsl-mc: 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/8139ce66b52a4a5638bfb445b037c07d4abeb08e
https://git.kernel.org/stable/c/6c8dfb0362732bf1e4829867a2a5239fedc592d0
https://git.kernel.org/stable/c/60bfb563a399c4597dc80588a1109758a8908b97
https://git.kernel.org/stable/c/4911b836f35c034c36f102db4ecbe339b38e7d1d