HIGH
hid Roccat UAF
CVE-2026-43111
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
KernelScan AI6.9MEDIUM
01Description
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.
02KernelScan AI Analysis
Risk summary
Systems with Roccat HID devices (gaming mice/keyboards) are vulnerable to kernel memory corruption through a race condition. A local attacker can trigger use-after-free by racing device file close operations against incoming HID events, potentially causing information disclosure, memory corruption, or system crashes.
Vulnerability analysis
The roccat_report_event() function traverses the device->readers list without holding the readers_lock mutex, while roccat_release() removes and frees readers under that same lock. A local user with access to the Roccat HID device node can open the device and concurrently close it while the kernel processes incoming HID reports, causing a use-after-free. The fix adds readers_lock protection around the list traversal to ensure atomic access. Successful exploitation can leak kernel heap information and corrupt kernel memory.
03Fix Versions
| Branch | Fixed in | Patch commit |
|---|---|---|
| 5.10 | 5.10.258 | 20dca865460f |
| 5.15 | 5.15.209 | 441689e31036 |
| 6.1 | 6.1.175 | 181ea51ab0f6 |
| 6.12 | 6.12.83 | e16a6d11bd77 |
| 6.18 | 6.18.24 | 36bb2d0b9150 |
| 6.19 | 6.19.14 | bca0b595e154 |
| 6.6 | 6.6.136 | e6a445513fbc |
| mainline | 7.0 | d802d848308b |