Linux kernel
cpe:2.3:a:linux:linux_kernel:*:*:*:*:*:*:*, +4 more
A use-after-free vulnerability has been identified in the Linux kernel's Power-Z driver within the hardware monitoring (hwmon) subsystem. This issue arises when the USB disconnect handler frees a USB Request Block (URB) and releases a mutex, allowing a subsequent read operation to access the freed URB pointer. The vulnerability affects the Linux kernel stable tree, specifically in versions prior to the latest patch. The root cause lies in the improper management of the URB lifecycle during USB disconnection, which can be exploited by manipulating the timing of disconnect and read operations.
Exploitation of this vulnerability can lead to a use-after-free condition, where a freed memory resource is accessed, potentially causing memory corruption or allowing arbitrary code execution.
To reproduce this vulnerability, connect a USB device that uses the Power-Z driver. After the device is disconnected, initiate a read operation while the USB disconnect handler is still processing. This can be done by manually triggering the read operation shortly after disconnection, before the driver has completed its cleanup process.
Users can apply the latest patch available in the Linux kernel stable repository to address this vulnerability. Instructions for downloading the patched version can be found in the Linux kernel documentation.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.