HID: roccat: fix use-after-free in roccat_report_event
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 206f5f2fcb5ff5bb0c60f9e9189937f3ca03e378 · < 36bb2d0b915014bbdc5044982b31b57b78045b93| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
HID: roccat: fix use-after-free in roccat_report_event
roccat_report_event() iterates over the device->readers list without holding the readers_lock. This allows a concurrent roccat_release() to remove and free a reader while it's still being accessed, leading to a use-after-free.
Protect the readers list traversal with the readers_lock mutex.
From the CVE record · Linux
The Linux kernel's roccat_report_event() traverses a reader list without holding its mutex. A concurrent roccat_release() can free a reader while it is still in use, causing a use-after-free. The input does not specify attacker access requirements or user interaction.
Engineers running Linux kernels with the HID roccat component should check their systems; affected versions are not specified.