First published: Wed May 01 2024(Updated: )
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().
Credit: 416baaa9-dc9f-4396-8d5f-8c081fb06d67 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Software | Affected Version | How to fix |
---|---|---|
redhat/kernel | <6.1.84 | 6.1.84 |
redhat/kernel | <6.6.24 | 6.6.24 |
redhat/kernel | <6.7.12 | 6.7.12 |
redhat/kernel | <6.8.3 | 6.8.3 |
redhat/kernel | <6.9 | 6.9 |
Linux Kernel | <6.1.84 | |
Linux Kernel | >=6.2.0<6.6.24 | |
Linux Kernel | >=6.7.0<6.7.12 | |
Linux Kernel | >=6.8.0<6.8.3 | |
Linux Kernel | =6.9-r1 | |
debian/linux | 5.10.223-1 5.10.226-1 6.1.123-1 6.1.119-1 6.12.11-1 6.12.12-1 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2024-26933 is classified as a high-severity vulnerability due to the potential deadlock situation it causes in the Linux kernel.
To fix CVE-2024-26933, update your Linux kernel to version 6.1.84 or later, or apply the patches provided in the kernel updates.
CVE-2024-26933 affects versions of the Linux kernel prior to 6.1.84 and specific versions between 6.2.0 and 6.8.3.
The impact of CVE-2024-26933 can lead to system instability due to deadlocks when attempting to disable USB ports.
CVE-2024-26933 affects multiple Linux distributions that utilize the vulnerable versions of the kernel.