cveboard RSS feed

CVE-2025-21915

CVE.org · Published

Historical CVEsJSONAI instructions

Record status
Published
Identifier year (not publication year)
2025
Source publication
Source updated
Imported by cveboard
Source snapshot
cve_2026-10-24_midnight_baseline ·

Plain text

CNA source text (English)

cdx: Fix possible UAF error in driver_override_show()

In the Linux kernel, the following vulnerability has been resolved: cdx: Fix possible UAF error in driver_override_show() Fixed a possible UAF problem in driver_override_show() in drivers/cdx/cdx.c This function driver_override_show() is part of DEVICE_ATTR_RW, which includes both driver_override_show() and driver_override_store(). These functions can be executed concurrently in sysfs. The driver_override_store() function uses driver_set_override() to update the driver_override value, and driver_set_override() internally locks the device (device_lock(dev)). If driver_override_show() reads cdx_dev->driver_override without locking, it could potentially access a freed pointer if driver_override_store() frees the string concurrently. This could lead to printing a kernel address, which is a security risk since DEVICE_ATTR can be read by all users. Additionally, a similar pattern is used in drivers/amba/bus.c, as well as many other bus drivers, where device_lock() is taken in the show function, and it has been working without issues. This potential bug was detected by our experimental static analysis tool, which analyzes locking APIs and paired functions to identify data races and atomicity violations.

Scoped product and version facts

Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.

Exploitation unknown; this catalogue does not assess exploitation.

Linux

Vendor
Linux
Product
Linux
Platforms
Unknown
Default status
unaffected
Linux · Scoped product and version facts
Version (version)Status (status)Version scheme (versionType)Exclusive end (lessThan)Inclusive end (lessThanOrEqual)Status changes (at → status)
2959ab247061e67485d83b6af8feb3761ec08cb9affectedgitd7b339bbc887bcfc1a5b620bfc70c6fbb8f733bfUnavailableNone listed
2959ab247061e67485d83b6af8feb3761ec08cb9affectedgit8473135f89c0949436a22adb05b8cece2fb3da91UnavailableNone listed
2959ab247061e67485d83b6af8feb3761ec08cb9affectedgit0439d541aa8d3444ad41c39e39eb71acb57acde3UnavailableNone listed
2959ab247061e67485d83b6af8feb3761ec08cb9affectedgit91d44c1afc61a2fec37a9c7a3485368309391e0bUnavailableNone listed

Linux

Vendor
Linux
Product
Linux
Platforms
Unknown
Default status
affected
Linux · Scoped product and version facts
Version (version)Status (status)Version scheme (versionType)Exclusive end (lessThan)Inclusive end (lessThanOrEqual)Status changes (at → status)
6.4affectedUnavailableUnavailableUnavailableNone listed
0unaffectedsemver6.4UnavailableNone listed
6.6.83unaffectedsemverUnavailable6.6.*None listed
6.12.19unaffectedsemverUnavailable6.12.*None listed
6.13.7unaffectedsemverUnavailable6.13.*None listed
6.14unaffectedoriginal_commit_for_fixUnavailable*None listed