Description
In the Linux kernel, the following vulnerability has been resolved: vdpa: 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 / Linux539fec78edb4e084e7c532affc56cc42d4ceea4b – 654ef9c33e138ede6734ac286282df9faf83cd11
- Linux / Linux539fec78edb4e084e7c532affc56cc42d4ceea4b – fb5cb4913ce333cc4647722e8c2b8378e12f2464
- Linux / Linux539fec78edb4e084e7c532affc56cc42d4ceea4b – 85bb534ff12aab6916058897b39c748940a7a4c6
- Linux / Linux5.17 – 5.17
- Linux / Linux0 – 5.17
- Linux / Linux6.18.33 – 6.18.*
- Linux / Linux7.0.10 – 7.0.*
- Linux / Linux7.1 – *