CVE-2026-31527 Details
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]
A use-after-free vulnerability has been addressed in the Linux kernel's driver core, specifically within the platform bus. The issue arose because the bus's match() callback was invoked without holding the device lock, allowing unsynchronized access to the driver_override field. This lack of proper locking could lead to a use-after-free condition. The vulnerability has been mitigated by utilizing the driver-core driver_override infrastructure, which manages locking appropriately. The flaw was reported by Gui-Dong Han and is linked to Bugzilla issue #220789.
Users can update to the latest version of the Linux kernel where this vulnerability has been fixed. Instructions for downloading the patched version are available on the official Linux kernel website.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/2b38efc05bf7a8568ec74bfffea0f5cfa62bc01d | kernel.org | Patch |
| https://git.kernel.org/stable/c/492349e5e4a369a8b62781100a3ade470bf1ce6b | kernel.org | |
| https://git.kernel.org/stable/c/7c02a9bd7d14a89065fcf672b86d8e1d1a41d3b1 | kernel.org | Patch |
| https://git.kernel.org/stable/c/9a6086d2a828dd2ff74cf9abcae456670febd71f | kernel.org | Patch |
| https://git.kernel.org/stable/c/edee7ee5a14c3b33f6d54641f5af5c5e9180992d | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-416 | Use After Free | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 3.17, < 6.12.80 >= 6.13, < 6.18.21 >= 6.19, < 6.19.11 7.0 rc1 7.0 rc2 7.0 rc3 7.0 rc4 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 1, 2026 | CVE Modified | kernel.org |
| Apr 28, 2026 | Initial Analysis | [email protected] |
| Apr 22, 2026 | New CVE Received | kernel.org |