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.
Overview
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.
- Published
- 4/1/2025
- Last modified
- 7/30/2026
- CVE assigner
- Not available
- NVD analysis
- Not available
Exploitation
No CISA KEV flag in the saved record
An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.
EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare
Affected products
Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.
| Vendor / product | Affected versions | Platform / conditions | Evidence |
|---|---|---|---|
linux kernel linux | ≥ 6.4, < 6.6.83 | Verify advisory | Source |
linux kernel linux | ≥ 6.7, < 6.12.19 | Verify advisory | Source |
linux kernel linux | ≥ 6.13, < 6.13.7 | Verify advisory | Source |
linux kernel linux | 6.14 | Verify advisory The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory. | Source |
Linux Linux | ≥ 2959ab247061e67485d83b6af8feb3761ec08cb9, < d7b339bbc887bcfc1a5b620bfc70c6fbb8f733bf | Verify advisory | Source |
Linux Linux | ≥ 2959ab247061e67485d83b6af8feb3761ec08cb9, < 8473135f89c0949436a22adb05b8cece2fb3da91 | Verify advisory | Source |
Linux Linux | ≥ 2959ab247061e67485d83b6af8feb3761ec08cb9, < 0439d541aa8d3444ad41c39e39eb71acb57acde3 | Verify advisory | Source |
Linux Linux | ≥ 2959ab247061e67485d83b6af8feb3761ec08cb9, < 91d44c1afc61a2fec37a9c7a3485368309391e0b | Verify advisory | Source |
Linux Linux | 6.4 | Verify advisory | Source |
Recommended actions
Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.
Vendor advisory links
Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.
Severity
CVSS describes technical impact. It is separate from exploitation evidence.
Published headline score: 7.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.
Sources & references
Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.