CVE-2025-21915
kernel: cdx: Fix possible UAF error in driver_override_show()
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · April 1, 2025
Updated · October 20, 2026
Description
A flaw was found in the Linux kernel CDX bus driver. driver_override_show() reads driver_override without the device lock that driver_override_store() holds, so a concurrent store can free the string while it is being read. A local user who can write that sysfs file can cause a use-after-free.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 7CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE-416 · Use After Free