CVE-2026-31527
Received Received - Intake

Use-After-Free in Linux Kernel Driver Core platform Component

Vulnerability report for CVE-2026-31527, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-04-22

Last updated on: 2026-06-01

Assigner: kernel.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]

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-04-22
Last Modified
2026-06-01
Generated
2026-07-06
AI Q&A
2026-04-22
EPSS Evaluated
2026-07-05
NVD
EUVD

Affected Vendors & Products

Showing 7 associated CPEs
Vendor Product Version / Range
linux linux_kernel 7.0
linux linux_kernel 7.0
linux linux_kernel 7.0
linux linux_kernel 7.0
linux linux_kernel From 6.13 (inc) to 6.18.21 (exc)
linux linux_kernel From 6.19 (inc) to 6.19.11 (exc)
linux linux_kernel From 3.17 (inc) to 6.12.80 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-416 The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability exists in the Linux kernel's driver core platform. When a driver is attached using the __driver_attach() function, the bus' match() callback is called without holding the device lock. This causes the driver_override field to be accessed without proper locking, which can lead to a Use-After-Free (UAF) condition.

The issue is fixed by using the driver-core driver_override infrastructure, which manages locking internally to prevent this unsafe access.

Impact Analysis

A Use-After-Free (UAF) vulnerability can lead to undefined behavior including system crashes, data corruption, or potentially allow an attacker to execute arbitrary code with kernel privileges. This can compromise the stability and security of the affected system.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-31527. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart