CVE-2026-31527

HIGH

driver core: platform: use generic driver_override infrastructure

Title source: cna
STIX 2.1

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

CVSS v3 7.8
EPSS 0.0001
EPSS Percentile 2.4%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-416
Status published
Products (12)
Linux/Linux < 3.17
Linux/Linux 3.17
Linux/Linux 3d713e0e382e6fcfb4bba1501645b66c129ad60b - 2b38efc05bf7a8568ec74bfffea0f5cfa62bc01d
Linux/Linux 3d713e0e382e6fcfb4bba1501645b66c129ad60b - 7c02a9bd7d14a89065fcf672b86d8e1d1a41d3b1
Linux/Linux 3d713e0e382e6fcfb4bba1501645b66c129ad60b - 9a6086d2a828dd2ff74cf9abcae456670febd71f
Linux/Linux 3d713e0e382e6fcfb4bba1501645b66c129ad60b - edee7ee5a14c3b33f6d54641f5af5c5e9180992d
Linux/Linux 6.12.80 - 6.12.*
Linux/Linux 6.18.21 - 6.18.*
Linux/Linux 6.19.11 - 6.19.*
Linux/Linux 7.0
... and 2 more
Published Apr 22, 2026
Tracked Since Apr 22, 2026