Description
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]
Affected products
- Linux / Linux12046f8c77e0ed6d41beabde0edbb729499c970b – 13d201bd840d2e2a645ef899f81342cd27ced346
- Linux / Linux12046f8c77e0ed6d41beabde0edbb729499c970b – 2c5507010fc3b8e2bd596c63c88f6ad39a69b1c4
- Linux / Linux12046f8c77e0ed6d41beabde0edbb729499c970b – 4dc755d86deed88789540d960e421124bad4c568
- Linux / Linux12046f8c77e0ed6d41beabde0edbb729499c970b – 8a700b1fc94df4d847a04f14ebc7f8532592b367
- Linux / Linux6.11 – 6.11
- Linux / Linux0 – 6.11
- 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/13d201bd840d2e2a645ef899f81342cd27ced346
- MISChttps://git.kernel.org/stable/c/2c5507010fc3b8e2bd596c63c88f6ad39a69b1c4
- MISChttps://git.kernel.org/stable/c/4dc755d86deed88789540d960e421124bad4c568
- MISChttps://git.kernel.org/stable/c/8a700b1fc94df4d847a04f14ebc7f8532592b367