2084AI 安全观察

CVE

CVE-2024-26934

CVE-2024-26934HIGH 7.8EPSS 9%

CNA 原文 · 原文(英文)

In the Linux kernel, the following vulnerability has been resolved: USB: core: Fix deadlock in usb_deauthorize_interface() Among the attribute file callback routines in drivers/usb/core/sysfs.c, the interface_authorized_store() function is the only one which acquires a device lock on an ancestor device: It calls usb_deauthorize_interface(), which locks the interface's parent USB device. The will lead to deadlock if another process already owns that lock and tries to remove the interface, whether through a configuration change or because the device has been disconnected. As part of the removal procedure, device_del() waits for all ongoing sysfs attribute callbacks to complete. But usb_deauthorize_interface() can't complete until the device lock has been released, and the lock won't be released until the removal has finished. The mechanism provided by sysfs to prevent this kind of deadlock is to use the sysfs_break_active_protection() function, which tells sysfs not to wait for the attribute callback. Reported-and-tested by: Yue Sun <[email protected]> Reported by: xingwei lee <[email protected]>

受影响版本

Linux kernel 的全部漏洞 →

  • 6.9-r1仅此版本
  • ≥ 6.8.0, < 6.8.3修复版本 6.8.3
  • ≥ 6.7.0, < 6.7.12修复版本 6.7.12
  • ≥ 6.2.0, < 6.6.24修复版本 6.6.24
  • ≥ 5.16.0, < 6.1.84修复版本 6.1.84
  • ≥ 5.11.0, < 5.15.154修复版本 5.15.154
  • ≥ 5.5.0, < 5.10.215修复版本 5.10.215
  • ≥ 4.20.0, < 5.4.274修复版本 5.4.274
  • ≥ 4.4, < 4.19.312修复版本 4.19.312

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

公告与补丁

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