CVE-2024-26934

Updated: 2024-11-30 04:04:36.700075

Description:

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 <samsun1006219@gmail.com> Reported by: xingwei lee <xrivendell7@gmail.com>


Links NIST CIRCL RHEL Ubuntu

Severity

Severity Score
CVSS Version 2.x 0
CVSS Version 3.x HIGH 7.8

Status

OS name Project name Version Score Severity Status Errata Last updated

Statement

AlmaLinux 9.2 ESU kernel 5.14.0 7.8 HIGH Released CLSA-2025:1743193221 2024-06-24 11:21:08
CentOS 6 ELS kernel 2.6.32 7.8 HIGH Not Vulnerable 2024-07-31 14:33:11
CentOS 7 ELS kernel 3.10.0 7.8 HIGH Released CLSA-2024:1724693366 2024-09-09 12:22:16
CentOS 8.4 ELS kernel 4.18.0 7.8 HIGH Released CLSA-2024:1719932549 2024-07-02 11:12:47
CentOS 8.5 ELS kernel 4.18.0 7.8 HIGH Released CLSA-2024:1719933179 2024-07-02 14:27:56
CentOS Stream 8 ELS kernel 4.18.0 7.8 HIGH Already Fixed 2024-06-09 11:20:12
CloudLinux 6 ELS kernel 2.6.32 7.8 HIGH Not Vulnerable 2024-07-31 14:33:11
Oracle Linux 6 ELS kernel 2.6.32 7.8 HIGH Not Vulnerable 2024-07-31 14:33:11
RHEL 7 ELS kernel 3.10.0 7.8 HIGH Released CLSA-2025:1750353839 2025-06-20 00:27:38
Ubuntu 16.04 ELS linux-hwe 4.15.0 7.8 HIGH Released CLSA-2024:1716980592 2024-05-29 10:07:56
Total: 12