Linux
driver core: platform: use generic driver_override infrastructure
In the Linux kernel, the following vulnerability has been resolved: driver core: platform: 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 versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 3d713e0e382e6fcfb4bba1501645b66c129ad60b, < 492349e5e4a369a8b62781100a3ade470bf1ce6b
- >= 3d713e0e382e6fcfb4bba1501645b66c129ad60b, < 9a6086d2a828dd2ff74cf9abcae456670febd71f
- >= 3d713e0e382e6fcfb4bba1501645b66c129ad60b, < 7c02a9bd7d14a89065fcf672b86d8e1d1a41d3b1
- >= 3d713e0e382e6fcfb4bba1501645b66c129ad60b, < edee7ee5a14c3b33f6d54641f5af5c5e9180992d
- >= 3d713e0e382e6fcfb4bba1501645b66c129ad60b, < 2b38efc05bf7a8568ec74bfffea0f5cfa62bc01d
Fixed in 492349e5e4a369a8b62781100a3ade470bf1ce6b, 9a6086d2a828dd2ff74cf9abcae456670febd71f, 7c02a9bd7d14a89065fcf672b86d8e1d1a41d3b1, edee7ee5a14c3b33f6d54641f5af5c5e9180992d, 2b38efc05bf7a8568ec74bfffea0f5cfa62bc01d
- 3.17
Fixed in 0, 6.6.142, 6.12.80, 6.18.21, 6.19.11, 7.0
Mitigation
Upgrade Linux to 492349e5e4a369a8b62781100a3ade470bf1ce6b or 9a6086d2a828dd2ff74cf9abcae456670febd71f or 7c02a9bd7d14a89065fcf672b86d8e1d1a41d3b1 or edee7ee5a14c3b33f6d54641f5af5c5e9180992d or 2b38efc05bf7a8568ec74bfffea0f5cfa62bc01d or later.
Upgrade Linux to 0 or 6.6.142 or 6.12.80 or 6.18.21 or 6.19.11 or 7.0 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.