hwmon: (nzxt-smart2) Stop device IO before calling hid_hw_stop
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 53e68c20aeb1e23419bed811aa3a309ceda200f9 · < 59d104b54b0b42e30fd2a68d24ee5c49dcc54d1e| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
hwmon: (nzxt-smart2) Stop device IO before calling hid_hw_stop
Calling hid_hw_stop() does not stop the device IO. This results in a race condition between hid_input_report() and the point immediately following the execution of hid_device_io_start() within the driver probe function. If the probe operation fails after "io start" has been initiated, this race condition will result in a UAF vulnerability.
Fix the problem by calling hid_device_io_stop() before calling hid_hw_stop().
From the CVE record · Linux
The Linux kernel’s nzxt-smart2 hwmon driver has a race condition that can cause a use-after-free if device probing fails after I/O starts. The input does not specify how an attacker could trigger the failure or whether network access, authentication, or user interaction is required.
Engineers running Linux kernels with the nzxt-smart2 hwmon driver should check whether their kernel is affected; affected versions were not provided.