Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2025-21915

published high CVSS 3.1 · 7.0

cdx: Fix possible UAF error in driver_override_show()

Published
01 Apr 2025, 15:40:52 UTC
Updated
05 Aug 2026, 11:55:19 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux2959ab247061e67485d83b6af8feb3761ec08cb9 to < d7b339bbc887bcfc1a5b620bfc70c6fbb8f733bf · 2959ab247061e67485d83b6af8feb3761ec08cb9 to < 8473135f89c0949436a22adb05b8cece2fb3da91 · 2959ab247061e67485d83b6af8feb3761ec08cb9 to < 0439d541aa8d3444ad41c39e39eb71acb57acde3 · 2959ab247061e67485d83b6af8feb3761ec08cb9 to < 91d44c1afc61a2fec37a9c7a3485368309391e0b · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.4 (affected) · 0 to < 6.4 (unaffected · semver) · 6.6.83 through 6.6.* (unaffected · semver) · 6.12.19 through 6.12.* (unaffected · semver) · 6.13.7 through 6.13.* (unaffected · semver) · 6.14 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Oracle Linux 10 kernel-uekaarch64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uekaarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uekx86_64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uekx86_64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Oracle Linux 10 kernel-uek-coreaarch64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-coreaarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-corex86_64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-corex86_64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-debugaarch64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-debugaarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-debugx86_64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-debugx86_64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-debug-coreaarch64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-debug-coreaarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-debug-corex86_64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-debug-corex86_64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-debug-develaarch64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-debug-develaarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-debug-develx86_64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-debug-develx86_64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-debug-modulesaarch64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-debug-modulesaarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-debug-modulesx86_64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-debug-modulesx86_64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-debug-modules-coreaarch64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-debug-modules-coreaarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-debug-modules-corex86_64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-debug-modules-corex86_64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-debug-modules-deprecatedaarch64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-debug-modules-deprecatedaarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-debug-modules-deprecatedx86_64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-debug-modules-deprecatedx86_64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-debug-modules-desktopaarch64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-debug-modules-desktopaarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-debug-modules-desktopx86_64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-debug-modules-desktopx86_64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-debug-modules-extraaarch64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-debug-modules-extraaarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-debug-modules-extrax86_64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-debug-modules-extrax86_64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-debug-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-debug-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-debug-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-debug-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-debug-modules-usbaarch64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-debug-modules-usbaarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-debug-modules-usbx86_64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-debug-modules-usbx86_64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-debug-modules-wirelessaarch64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-debug-modules-wirelessaarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-debug-modules-wirelessx86_64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-debug-modules-wirelessx86_64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-develaarch64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-develaarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-develx86_64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-develx86_64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-docx86_64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-docx86_64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-modulesaarch64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-modulesaarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-modulesx86_64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-modulesx86_64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-modules-coreaarch64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-modules-coreaarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-modules-corex86_64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-modules-corex86_64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-modules-deprecatedaarch64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-modules-deprecatedaarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-modules-deprecatedx86_64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-modules-deprecatedx86_64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-modules-desktopaarch64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-modules-desktopaarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-modules-desktopx86_64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-modules-desktopx86_64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-modules-extraaarch64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-modules-extraaarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-modules-extrax86_64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-modules-extrax86_64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-modules-usbaarch64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-modules-usbaarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-modules-usbx86_64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-modules-usbx86_64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-modules-wirelessaarch64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-modules-wirelessaarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-modules-wirelessx86_64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-modules-wirelessx86_64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-toolsaarch64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-toolsaarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek-toolsx86_64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek-toolsx86_64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek64kaarch64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek64kaarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek64k-coreaarch64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek64k-coreaarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530
Oracle Linux 10 kernel-uek64k-develaarch64 Advisory build 0:6.12.0-101.33.4.3.el10uek ELSA-2025-20480
Oracle Linux 10 kernel-uek64k-develaarch64 Advisory build 0:6.12.0-102.36.5.2.el10uek ELSA-2025-20530

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

33

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.0 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The vulnerable code is reached only by read(2) on the local sysfs attribute /sys/bus/cdx/devices/<dev>/driver_override; no network, adjacent-network, or physical vector reaches driver_override_show(). AC:H - The dangling read is only possible in the narrow window during which a privileged writer (driver_override_store()/device teardown) frees the old string, and the attacker cannot induce that write — plus CDX_BUS is a non-default, platform-specific config (OF && ARM64, absent from arm64 defconfig). PR:L - The exploiting side of the race is the read, and DEVICE_ATTR_RW creates the file mode 0644, so any unprivileged local user can open and repeatedly read it — the upstream fix explicitly cites "DEVICE_ATTR can be read by all users" as the security risk. UI:N - The attacker's own read loop needs no victim action; the concurrent override write occurs during routine automated device bind/unbind (udev/orchestration) rather than requiring a user to be tricked into anything, and the timing dependency is already charged under AC:H. S:U - The freed memory and the leaking sysfs read are both in the kernel's own security authority on the same host; no VM, IOMMU, or sandbox boundary is crossed. C:H - vsnprintf("%s") walks the freed slab object until a NUL byte, so up to a full PAGE_SIZE of reallocated kernel heap — including kernel pointers and whatever objects landed in the freed kmalloc slot — is copied verbatim to any unprivileged reader, defeating KASLR and disclosing arbitrary adjacent kernel data. I:H - This is a CWE-416 use-after-free on a heap object whose contents the attacker can influence by spraying the freed kmalloc slot; per UAF handling the integrity impact is High, and the disclosed heap/pointer state directly enables control-flow-hijack chains against the same kernel. A:H - Dereferencing the freed pointer can oops — under KASAN/panic_on_warn it panics immediately, and with SLUB poisoning (no NUL in the 0x6b fill) the string walk can run off the slab page into unmapped memory, faulting in kernel context.

Additional Assessments

Additional normalized CVSS assessments
VersionScoreSeverityProviderVectorScenarios
3.1 7.8 high CISA-ADP · adp CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H —

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 2959ab247061e67485d83b6af8feb3761ec08cb9 to < d7b339bbc887bcfc1a5b620bfc70c6fbb8f733bf (affected · git)2959ab247061e67485d83b6af8feb3761ec08cb9 to < 8473135f89c0949436a22adb05b8cece2fb3da91 (affected · git)2959ab247061e67485d83b6af8feb3761ec08cb9 to < 0439d541aa8d3444ad41c39e39eb71acb57acde3 (affected · git)2959ab247061e67485d83b6af8feb3761ec08cb9 to < 91d44c1afc61a2fec37a9c7a3485368309391e0b (affected · git)Default: unaffected Linux · cna
Linux Linux 6.4 (affected)0 to < 6.4 (unaffected · semver)6.6.83 through 6.6.* (unaffected · semver)6.12.19 through 6.12.* (unaffected · semver)6.13.7 through 6.13.* (unaffected · semver)6.14 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

1
  • CWE-416 CWE-416 Use After Free (CISA-ADP · adp)

References

4

Provider assertions

2

Linux · cna

cdx: Fix possible UAF error in driver_override_show()

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
3da15bb7582f1f1d4cd6608e0d576a6141a32ed4ea8d8b54153be15f84a57e57
Ingested
23 Sep 2026, 08:40:04 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected