CVE-2026-68361
Gravedad:
Pendiente de análisis
Tipo:
No Disponible / Otro tipo
Fecha de publicación:
10/08/2026
Última modificación:
19/08/2026
Descripción
*** Pendiente de traducción *** In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
hwmon: (corsair-psu) Stop device IO before calling hid_hw_stop<br />
<br />
hid_hw_stop() does not stop the device IO.<br />
<br />
This results in a race condition between hid_input_report() and the point<br />
immediately following the execution of hid_device_io_start() within<br />
corsairpsu_probe(). If the probe operation fails after "io start" has<br />
been initiated, this race condition will result in a uaf vulnerability<br />
[1].<br />
<br />
CPU0 CPU1<br />
==== ====<br />
corsairpsu_probe()<br />
hid_device_io_start()<br />
... unlock driver_input_lock<br />
hid_hw_stop()<br />
kfree(hidraw) __hid_input_report()<br />
... acquire driver_input_lock<br />
hid_report_raw_event()<br />
hidraw_report_event()<br />
... access hidraw&#39;s list_lock // trigger uaf<br />
<br />
Consequently, when corsairpsu_probe() fails and hid_hw_stop() needs to<br />
be executed, the io_started flag is first cleared while holding the<br />
driver_input_lock to prevent potential race conditions involving input<br />
reports.<br />
<br />
[1]<br />
BUG: KASAN: slab-use-after-free in rt_spin_lock+0x83/0x400 kernel/locking/spinlock_rt.c:56<br />
Call Trace:<br />
hidraw_report_event+0x5d/0x3a0 drivers/hid/hidraw.c:577<br />
hid_report_raw_event+0x311/0x1730 drivers/hid/hid-core.c:2076<br />
__hid_input_report drivers/hid/hid-core.c:2152 [inline]<br />
hid_input_report+0x44e/0x580 drivers/hid/hid-core.c:2174<br />
hid_irq_in+0x47e/0x6d0 drivers/hid/usbhid/hid-core.c:286<br />
__usb_hcd_giveback_urb+0x3b3/0x5e0 drivers/usb/core/hcd.c:1657<br />
dummy_timer+0x8a9/0x47d0 drivers/usb/gadget/udc/dummy_hcd.c:2005<br />
<br />
Allocated by task 10:<br />
hidraw_connect+0x57/0x430 drivers/hid/hidraw.c:606<br />
hid_connect+0x5bf/0x19d0 drivers/hid/hid-core.c:2277<br />
hid_hw_start+0xa8/0x120 drivers/hid/hid-core.c:2387<br />
corsairpsu_probe+0xd9/0x3c0 drivers/hwmon/corsair-psu.c:782<br />
<br />
Freed by task 10:<br />
hidraw_disconnect+0x4f/0x60 drivers/hid/hidraw.c:662<br />
hid_disconnect drivers/hid/hid-core.c:2362 [inline]<br />
hid_hw_stop+0x101/0x1e0 drivers/hid/hid-core.c:2407<br />
corsairpsu_probe+0x327/0x3c0 drivers/hwmon/corsair-psu.c:826<br />
<br />
Fix the problem by calling hid_device_io_stop() before calling<br />
hid_hw_stop().<br />
<br />
[groeck: Updated subject and description;<br />
call hid_device_io_stop() only if IO has been started]
Impacto
Referencias a soluciones, herramientas e información
- https://git.kernel.org/stable/c/45dcd8a63069197f64dbda30509b9e224b74c0d8
- https://git.kernel.org/stable/c/9ab8656548cd737b98d0b19c4253aff8d68e97f4
- https://git.kernel.org/stable/c/bb25bd980f2d9bd34558e1b1d16636e4945baf14
- https://git.kernel.org/stable/c/c0aae8d24f5e52d6910f97d59bc624e131f3ae1a
- https://git.kernel.org/stable/c/c80ed058f31bb0251a748034d69feb376741dcb2
- https://git.kernel.org/stable/c/e6e1e0f3050d1a1a3ea1c9d6253363e87fdad67a
- https://git.kernel.org/stable/c/ec477af3a7e8d3964e62fd24ef01cdebb96b8e4e



