Description
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]
Affected products
- Linux / Linux1f86a00c1159fd77e66b1bd6ff1a183f4d46f34d – 4911b836f35c034c36f102db4ecbe339b38e7d1d
- Linux / Linux1f86a00c1159fd77e66b1bd6ff1a183f4d46f34d – 8139ce66b52a4a5638bfb445b037c07d4abeb08e
- Linux / Linux1f86a00c1159fd77e66b1bd6ff1a183f4d46f34d – 60bfb563a399c4597dc80588a1109758a8908b97
- Linux / Linux1f86a00c1159fd77e66b1bd6ff1a183f4d46f34d – 6c8dfb0362732bf1e4829867a2a5239fedc592d0
- Linux / Linux5.10 – 5.10
- Linux / Linux0 – 5.10
- Linux / Linux6.12.91 – 6.12.*
- Linux / Linux6.18.33 – 6.18.*
- Linux / Linux7.0.10 – 7.0.*
- Linux / Linux7.1 – *
References
- MISChttps://git.kernel.org/stable/c/4911b836f35c034c36f102db4ecbe339b38e7d1d
- MISChttps://git.kernel.org/stable/c/8139ce66b52a4a5638bfb445b037c07d4abeb08e
- MISChttps://git.kernel.org/stable/c/60bfb563a399c4597dc80588a1109758a8908b97
- MISChttps://git.kernel.org/stable/c/6c8dfb0362732bf1e4829867a2a5239fedc592d0