Skip to contentSkip to conversation

CVE-2026-43111: HID: roccat: fix use-after-free in roccat_report_event

DISCUSSION Greg Kroah-Hartman 1 participant 1 message May 6

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

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.

The Linux kernel CVE team has assigned CVE-2026-43111 to this issue.

Affected and fixed versions
===========================

	Fixed in 6.6.136 with commit e6a445513fbc6a0329d2d5ff375b6725750ec5a6
	Fixed in 6.12.83 with commit e16a6d11bd77b81632165f02cf0d5946df74b3b7
	Fixed in 6.18.24 with commit 36bb2d0b915014bbdc5044982b31b57b78045b93
	Fixed in 6.19.14 with commit bca0b595e15450dd66b1153c76c4ef1087ee011b
	Fixed in 7.0 with commit d802d848308b35220f21a8025352f0c0aba15c12

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-43111

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
drivers/hid/hid-roccat.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/e6a445513fbc6a0329d2d5ff375b6725750ec5a6
	https://git.kernel.org/stable/c/e16a6d11bd77b81632165f02cf0d5946df74b3b7
	https://git.kernel.org/stable/c/36bb2d0b915014bbdc5044982b31b57b78045b93
	https://git.kernel.org/stable/c/bca0b595e15450dd66b1153c76c4ef1087ee011b
	https://git.kernel.org/stable/c/d802d848308b35220f21a8025352f0c0aba15c12