CVE-2024-26934

High

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 <[email protected]> Reported by: xingwei lee <[email protected]>

SeverityHigh
CVSS7.8
Exploit probability—
ProductLinux Kernel
PublishedMay 1, 2024
First seenMay 1, 2024

How to fix

Update
  • linux linux_kernel4.19.312, 5.4.274, 5.10.215, 5.15.154, 6.1.84, 6.6.24, 6.7.12, 6.8.3 or later

Affected products

ProductAffected versionsFixed in
linux linux_kernel4.4 ≤ v < 4.19.312, 4.20.0 ≤ v < 5.4.274, 5.5.0 ≤ v < 5.10.215, 5.11.0 ≤ v < 5.15.154, 5.16.0 ≤ v < 6.1.84, 6.2.0 ≤ v < 6.6.24, 6.7.0 ≤ v < 6.7.12, 6.8.0 ≤ v < 6.8.3, 6.94.19.312, 5.4.274, 5.10.215, 5.15.154, 6.1.84, 6.6.24, 6.7.12, 6.8.3

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.