Description
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().
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
53e68c20aeb1e23419bed811aa3a309ceda200f9 to < 761249a3d92db83ae19670c4ecdf73c0a85bcb61affected53e68c20aeb1e23419bed811aa3a309ceda200f9 to < 185c0880397aee9def0af5a59ea65f22f37ad658affected53e68c20aeb1e23419bed811aa3a309ceda200f9 to < a2a15de020597efbff84b4281dd472e5860b7e3eaffected53e68c20aeb1e23419bed811aa3a309ceda200f9 to < 205cff797a94757ec88ba299c8e2bf2e1e3f4bbfaffected53e68c20aeb1e23419bed811aa3a309ceda200f9 to < 18d7c523891004226bccdba39dd681eca22ceb8aaffected53e68c20aeb1e23419bed811aa3a309ceda200f9 to < 59d104b54b0b42e30fd2a68d24ee5c49dcc54d1eaffected
Linux Linux
Default version status: affected
5.17affected0 to < 5.17unaffected6.1.183 to ≤ 6.1.*unaffected6.6.148 to ≤ 6.6.*unaffected6.12.101 to ≤ 6.12.*unaffected6.18.42 to ≤ 6.18.*unaffected7.1.6 to ≤ 7.1.*unaffected7.2 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/761249a3d92db83ae19670c4ecdf73c0a85bcb61 ↗
- https://git.kernel.org/stable/c/185c0880397aee9def0af5a59ea65f22f37ad658 ↗
- https://git.kernel.org/stable/c/a2a15de020597efbff84b4281dd472e5860b7e3e ↗
- https://git.kernel.org/stable/c/205cff797a94757ec88ba299c8e2bf2e1e3f4bbf ↗
- https://git.kernel.org/stable/c/18d7c523891004226bccdba39dd681eca22ceb8a ↗
- https://git.kernel.org/stable/c/59d104b54b0b42e30fd2a68d24ee5c49dcc54d1e ↗