Sårbarheter

CVE-2024-26934

Høy 7.8 CVSS 3.1

Beskrivelse

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>

Beskrivelsen gjengis slik kilden har publisert den, på engelsk.

Nøkkelfakta

Publisert
2024-05-01
Sist endret
2026-10-15
Tildelt av
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS-vektor
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scoret av
nvd@nist.gov (NVD Primary)
Sannsynlighet for utnyttelse
0.2 % høyere enn 9 % av alle kjente sårbarheter
EPSS, neste 30 dager, modell v2026.06.15
Rettelse finnes
Ja, se referansene

Berørte produkter

Leverandør Produkt Versjoner Status
Linux Linux Kernel 6.9 Berørt
Linux Linux Kernel ≥ 4.20.0, < 5.4.274 Berørt
Linux Linux Kernel ≥ 4.4, < 4.19.312 Berørt
Linux Linux Kernel ≥ 5.11.0, < 5.15.154 Berørt
Linux Linux Kernel ≥ 5.16.0, < 6.1.84 Berørt
Linux Linux Kernel ≥ 5.5.0, < 5.10.215 Berørt
Linux Linux Kernel ≥ 6.2.0, < 6.6.24 Berørt
Linux Linux Kernel ≥ 6.7.0, < 6.7.12 Berørt
Linux Linux Kernel ≥ 6.8.0, < 6.8.3 Berørt

Svakhetstype

  • CWE-667: Improper Locking

    The product does not properly acquire or release a lock on a resource, leading to unexpected resource state changes and behaviors.

Angrepsteknikker

Utledet gjennom svakhetstypen: CVE til CWE til CAPEC til ATT&CK. Dette viser hvilke teknikker svakhetsklassen historisk brukes til. Det er ikke en påstand om at nettopp denne sårbarheten er utnyttet slik.

  • T1499.004: Application or System Exploitation impact

Referanser

Relatert hos Berigo

Artikler

Berører dette dere?

En sårbarhet betyr bare noe hvis dere kjører produktet, i en berørt versjon, et sted en angriper kommer til.

Sjekk aktivalisten deres Bla i alle sårbarheter