driver core: platform: use generic driver_override infrastructure
Summary
| CVE | CVE-2026-31527 |
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-04-22 14:16:52 UTC |
| Updated | 2026-04-22 14:16:52 UTC |
| Description | 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] |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|
| CNA |
Linux |
Linux |
affected 3d713e0e382e6fcfb4bba1501645b66c129ad60b 9a6086d2a828dd2ff74cf9abcae456670febd71f git |
Not specified |
| CNA |
Linux |
Linux |
affected 3d713e0e382e6fcfb4bba1501645b66c129ad60b 7c02a9bd7d14a89065fcf672b86d8e1d1a41d3b1 git |
Not specified |
| CNA |
Linux |
Linux |
affected 3d713e0e382e6fcfb4bba1501645b66c129ad60b edee7ee5a14c3b33f6d54641f5af5c5e9180992d git |
Not specified |
| CNA |
Linux |
Linux |
affected 3d713e0e382e6fcfb4bba1501645b66c129ad60b 2b38efc05bf7a8568ec74bfffea0f5cfa62bc01d git |
Not specified |
| CNA |
Linux |
Linux |
affected 3.17 |
Not specified |
| CNA |
Linux |
Linux |
unaffected 3.17 semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.12.80 6.12.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.18.21 6.18.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.19.11 6.19.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.0 * original_commit_for_fix |
Not specified |
References
| Reference | Source | Link | Tags |
|---|
| git.kernel.org/stable/c/7c02a9bd7d14a89065fcf672b86d8e1d1a41d3b1 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/9a6086d2a828dd2ff74cf9abcae456670febd71f |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/edee7ee5a14c3b33f6d54641f5af5c5e9180992d |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/2b38efc05bf7a8568ec74bfffea0f5cfa62bc01d |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.