hwmon: (powerz) Fix missing usb_kill_urb() on signal interrupt
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 8b51277eec433d4e724b273a5a5c64e8acfbe405, Kernel b66437cb20a2d9ef201f40b675569f8ea7787c9f, Kernel b6cb07f02253bdefd2339e57eaa1428a7b28cd0f and 1 more.
In the Linux kernel, the following vulnerability has been resolved: hwmon: (powerz) Fix missing usb_kill_urb() on signal interrupt wait_for_completion_interruptible_timeout() returns -ERESTARTSYS when interrupted. This needs to abort the URB and return an error. No data has been received from the device so any reads from the transfer buffer are invalid. The original code tests !ret, which only catches the timeout case (0). On signal delivery (-ERESTARTSYS), !ret is false so the function skips usb_kill_urb() and falls through to read from the unfilled transfer buffer. Fix by capturing the return value into a long (matching the function return type) and handling signal (negative) and timeout (zero) cases with separate checks that both call usb_kill_urb() before returning.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.7, >=4381a36abdf1c5c0323c1c51f869dc000115eb20 <8b51277eec433d4e724b273a5a5c64e8acfbe405, >=4381a36abdf1c5c0323c1c51f869dc000115eb20 <b66437cb20a2d9ef201f40b675569f8ea7787c9f, >=4381a36abdf1c5c0323c1c51f869dc000115eb20 <b6cb07f02253bdefd2339e57eaa1428a7b28cd0f, >=4381a36abdf1c5c0323c1c51f869dc000115eb20 <d64458784036f5818e22781254b6be299d52a19c | 8b51277eec433d4e724b273a5a5c64e8acfbe405, b66437cb20a2d9ef201f40b675569f8ea7787c9f, b6cb07f02253bdefd2339e57eaa1428a7b28cd0f, d64458784036f5818e22781254b6be299d52a19c |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket