Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: Drivers: hv: vmbus: 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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected d765edbb301c0e196015a59b17420558088ea33f before a1656234a4a2dc6e975546867887c5f63e4a90f0; affected d765edbb301c0e196015a59b17420558088ea33f before d1cb12ae81d2f7a58b0b1cfb51862afca98e6058; affected d765edbb301c0e196015a59b17420558088ea33f before 0e2f0833556c8c5269deb457b89d538644a3b747; affected d765edbb301c0e196015a59b17420558088ea33f before 2fb010ea7ca98cd09a6d365260b769f627e73a76; affected d765edbb301c0e196015a59b17420558088ea33f before 331d8900121a1d74ecd45cd2db742ddcb5a0a565 |
| Linux / Linux | affected 4.20; unaffected 0 before 4.20; unaffected 6.6.160 through 6.6.*; unaffected 6.12.97 through 6.12.*; unaffected 6.18.40 through 6.18.*; unaffected 7.1.5 through 7.1.*; unaffected 7.2 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/a1656234a4a2dc6e975546867887c5f63e4a90f0
- https://git.kernel.org/stable/c/d1cb12ae81d2f7a58b0b1cfb51862afca98e6058
- https://git.kernel.org/stable/c/0e2f0833556c8c5269deb457b89d538644a3b747
- https://git.kernel.org/stable/c/2fb010ea7ca98cd09a6d365260b769f627e73a76
- https://git.kernel.org/stable/c/331d8900121a1d74ecd45cd2db742ddcb5a0a565