KernelScan.io

HIGH

hid Roccat UAF

CVE-2026-43111

CVSS 7.8 / 10.0 NVD

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

KernelScan AI6.9MEDIUM

01

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.

02

Engine v0.2.0

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.

Affecteddrivers/hid/hid-roccat.c (HID roccat driver)

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.

03

BranchFixed inPatch commit
5.105.10.25820dca865460f
5.155.15.209441689e31036
6.16.1.175181ea51ab0f6
6.126.12.83e16a6d11bd77
6.186.18.2436bb2d0b9150
6.196.19.14bca0b595e154
6.66.6.136e6a445513fbc
mainline7.0d802d848308b