cbcvebase.
CVE-2024-26933
published 2024-05-01

CVE-2024-26933: In the Linux kernel, the following vulnerability has been resolved: USB: core: Fix deadlock in port "disable" sysfs attribute The show and store callback…

PriorityP338high7.8CVSS 3.1
AVLACLPRLUINSUCHIHAH
EPSS
0.18%
7.7th percentile
In the Linux kernel, the following vulnerability has been resolved: USB: core: Fix deadlock in port "disable" sysfs attribute The show and store callback routines for the "disable" sysfs attribute file in port.c acquire the device lock for the port's parent hub device. This can cause problems if another process has locked the hub to remove it or change its configuration: Removing the hub or changing its configuration requires the hub interface to be removed, which requires the port device to be removed, and device_del() waits until all outstanding sysfs attribute callbacks for the ports have returned. The lock can't be released until then. But the disable_show() or disable_store() routine can't return until after it has acquired the lock. The resulting deadlock can be avoided by calling sysfs_break_active_protection(). This will cause the sysfs core not to wait for the attribute's callback routine to return, allowing the removal to proceed. The disadvantage is that after making this call, there is no guarantee that the hub structure won't be deallocated at any moment. To prevent this, we have to acquire a reference to it first by calling hub_get().

Affected

24 ranges
VendorProductVersion rangeFixed in
debianlinux< linux 6.1.85-1 (bookworm)linux 6.1.85-1 (bookworm)
linuxlinux
linuxlinux>= f061f43d7418cb62b8d073e221ec75d3f5b89e17 < 9dac54f08198147f5ec0ec52fcf1bc8ac899ac059dac54f08198147f5ec0ec52fcf1bc8ac899ac05
linuxlinux>= f061f43d7418cb62b8d073e221ec75d3f5b89e17 < f51849833705dea5b4f9b0c8de714dd87bd6c95cf51849833705dea5b4f9b0c8de714dd87bd6c95c
linuxlinux>= f061f43d7418cb62b8d073e221ec75d3f5b89e17 < 4facc9421117ba9d8148c73771b213887fec77f74facc9421117ba9d8148c73771b213887fec77f7
linuxlinux>= f061f43d7418cb62b8d073e221ec75d3f5b89e17 < 73d1589b91f2099e5f6534a8497b7c6b527e064e73d1589b91f2099e5f6534a8497b7c6b527e064e
linuxlinux>= f061f43d7418cb62b8d073e221ec75d3f5b89e17 < f4d1960764d8a70318b02f15203a1be2b2554ca1f4d1960764d8a70318b02f15203a1be2b2554ca1
linuxlinux_kernel
linuxlinux_kernel>= 0 < 6.1.85-16.1.85-1
linuxlinux_kernel>= 0 < 6.7.12-16.7.12-1
linuxlinux_kernel>= 0 < 6.7.12-16.7.12-1
linuxlinux_kernel>= 0 < 6.8.0-35.356.8.0-35.35
linuxlinux_kernel>= 6.0 < 6.1.846.1.84
linuxlinux_kernel>= 6.2 < 6.6.246.6.24
linuxlinux_kernel>= 6.7 < 6.7.126.7.12
linuxlinux_kernel>= 6.8 < 6.8.36.8.3
msrcazl3_kernel_6.6.22.1-2_on_azure_linux_3.0
msrcazl3_kernel_6.6.35.1-5_on_azure_linux_3.0
msrcazure_linux_3.0_arm
msrcazure_linux_3.0_x64
msrccbl2_kernel_5.15.160.1-1_on_cbl_mariner_2.0
msrccbl2_kernel_5.15.176.3-3_on_cbl_mariner_2.0
msrccbl_mariner_2.0_arm
msrccbl_mariner_2.0_x64

CVSS provenance

nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
osv7.8HIGH
vendor_debian7.8HIGH
vendor_msrc7.8HIGH
vendor_redhat7.8HIGH
vendor_ubuntu6.3MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.