Description
In the Linux kernel, the following vulnerability has been resolved: hwmon: (corsair-cpro) 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
40c3a445422579db8ad96c234dbe6c0ab3f6b936 to < 3df2b67793babbea7951b5f601d6df891c63b5d8affected40c3a445422579db8ad96c234dbe6c0ab3f6b936 to < 5e07f292ab5591bf4f588aa7abd22ec86c25d076affected40c3a445422579db8ad96c234dbe6c0ab3f6b936 to < 6c5f31fdf28455a7fd573bda452c80b7b6700247affected40c3a445422579db8ad96c234dbe6c0ab3f6b936 to < 0975c42ed2a3bf32125a920e5d19194289126210affected40c3a445422579db8ad96c234dbe6c0ab3f6b936 to < c7757db58957ac20cdec6ce575dbd44a6375664eaffected40c3a445422579db8ad96c234dbe6c0ab3f6b936 to < 56d2deb6448378118dbe68c4fbb3fbae5f65b18caffected40c3a445422579db8ad96c234dbe6c0ab3f6b936 to < 1a634f464d6153dfa4d7e73a3d78236b65a64ee9affected40c3a445422579db8ad96c234dbe6c0ab3f6b936 to < 94c87871b051d7ad758828a805215a2ec194512aaffected
Linux Linux
Default version status: affected
5.9affected0 to < 5.9unaffected5.10.265 to ≤ 5.10.*unaffected5.15.216 to ≤ 5.15.*unaffected6.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/3df2b67793babbea7951b5f601d6df891c63b5d8 ↗
- https://git.kernel.org/stable/c/5e07f292ab5591bf4f588aa7abd22ec86c25d076 ↗
- https://git.kernel.org/stable/c/6c5f31fdf28455a7fd573bda452c80b7b6700247 ↗
- https://git.kernel.org/stable/c/0975c42ed2a3bf32125a920e5d19194289126210 ↗
- https://git.kernel.org/stable/c/c7757db58957ac20cdec6ce575dbd44a6375664e ↗
- https://git.kernel.org/stable/c/56d2deb6448378118dbe68c4fbb3fbae5f65b18c ↗
- https://git.kernel.org/stable/c/1a634f464d6153dfa4d7e73a3d78236b65a64ee9 ↗
- https://git.kernel.org/stable/c/94c87871b051d7ad758828a805215a2ec194512a ↗