2084AI 安全观察

CVE

CVE-2025-21915

CVE-2025-21915HIGH 7.8EPSS 14%

CNA 原文 · 原文(英文)

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.

受影响版本

Linux kernel 的全部漏洞 →

  • 6.14-rc5仅此版本
  • 6.14-rc4仅此版本
  • 6.14-rc3仅此版本
  • 6.14-rc2仅此版本
  • 6.14-rc1仅此版本
  • ≥ 6.13, < 6.13.7修复版本 6.13.7
  • ≥ 6.7, < 6.12.19修复版本 6.12.19
  • ≥ 6.4, < 6.6.83修复版本 6.6.83

发行版软件包(Debian、Ubuntu、Red Hat 等)会回移补丁而不改上游版本号,请同时查看所用发行版的安全公告。

公告与补丁

数据来源:NVD(公有领域)、CISA KEV(CC0)、FIRST EPSS、OSV.dev / GitHub Advisory Database(CC-BY 4.0) · 本库只列受影响版本与修复版本,不托管、不链接任何利用代码。