Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 539fec78edb4e084e7c532affc56cc42d4ceea4b before 4005cb89139f7c9af85046b241dcf3fa2e1b3559; affected 539fec78edb4e084e7c532affc56cc42d4ceea4b before 4eab1a74a498f0bf19f102f9362e9deef9307aea; affected 539fec78edb4e084e7c532affc56cc42d4ceea4b before 654ef9c33e138ede6734ac286282df9faf83cd11; affected 539fec78edb4e084e7c532affc56cc42d4ceea4b before fb5cb4913ce333cc4647722e8c2b8378e12f2464; affected 539fec78edb4e084e7c532affc56cc42d4ceea4b before 85bb534ff12aab6916058897b39c748940a7a4c6 |
| Linux / Linux | affected 5.17; unaffected 0 before 5.17; unaffected 6.6.160 through 6.6.*; unaffected 6.12.114 through 6.12.*; unaffected 6.18.33 through 6.18.*; unaffected 7.0.10 through 7.0.*; unaffected 7.1 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/4005cb89139f7c9af85046b241dcf3fa2e1b3559
- https://git.kernel.org/stable/c/4eab1a74a498f0bf19f102f9362e9deef9307aea
- https://git.kernel.org/stable/c/654ef9c33e138ede6734ac286282df9faf83cd11
- https://git.kernel.org/stable/c/fb5cb4913ce333cc4647722e8c2b8378e12f2464
- https://git.kernel.org/stable/c/85bb534ff12aab6916058897b39c748940a7a4c6