CVE-2026-31527

driver core: platform: use generic driver_override infrastructure

State
Published
Severity
Not scored
Published
Apr 22, 2026
Updated
Jun 1, 2026
Reserved
Mar 9, 2026

Read the record on cve.org

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]

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 3d713e0e382e6fcfb4bba1501645b66c129ad60b to before 492349e5e4a369a8b62781100a3ade470bf1ce6bAffected
  • 3d713e0e382e6fcfb4bba1501645b66c129ad60b to before 9a6086d2a828dd2ff74cf9abcae456670febd71fAffected
  • 3d713e0e382e6fcfb4bba1501645b66c129ad60b to before 7c02a9bd7d14a89065fcf672b86d8e1d1a41d3b1Affected
  • 3d713e0e382e6fcfb4bba1501645b66c129ad60b to before edee7ee5a14c3b33f6d54641f5af5c5e9180992dAffected
  • 3d713e0e382e6fcfb4bba1501645b66c129ad60b to before 2b38efc05bf7a8568ec74bfffea0f5cfa62bc01dAffected
LinuxLinux
  • 3.17Affected
  • before 3.17Not affected
  • 6.6.142 through 6.6.*Not affected
  • 6.12.80 through 6.12.*Not affected
  • 6.18.21 through 6.18.*Not affected
  • 6.19.11 through 6.19.*Not affected
  • 7.0 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.