summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2026-07-07 17:59:10 -0700
committerGuenter Roeck <linux@roeck-us.net>2026-07-07 20:03:00 -0700
commitff0c5c53d08274e200b48a4d53aa078265e873cb (patch)
treec3f7dad5dee53778ac8654a432a786ad03d52af6 /tools/lib/python
parent94c87871b051d7ad758828a805215a2ec194512a (diff)
hwmon: (gigabyte_waterforce) 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(). Reported-by: Sashiko <sashiko-bot@kernel.org> Fixes: 42ac68e3d4ba0 ("hwmon: Add driver for Gigabyte AORUS Waterforce AIO coolers") Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions