Skip to contentSkip to conversation

CVE-2026-93188: HID: roccat: bound device-supplied profile index

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 17

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: bound device-supplied profile index

kone_keep_values_up_to_date() and kone_profile_activated() use an 8-bit, device-supplied profile value as an index into the 5-element kone->profiles[] array without a range check. A malicious USB device claiming the Roccat Kone id can send a switch-profile event (or a startup_profile read at probe) with an out-of-range value and make the driver read out of bounds; the result is exposed via the actual_dpi sysfs attribute.

Reject out-of-range indices in both paths.

This was found with static analysis and confirmed with the KUnit test added in the following patch (KASAN: slab-out-of-bounds).

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

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

	Issue introduced in 2.6.35 with commit 14bf62cde79423a02a590e02664ed29a36facec1 and fixed in 5.10.270 with commit 686e5c3bd378933b4e795fcc7d40c5aad358eaaa
	Issue introduced in 2.6.35 with commit 14bf62cde79423a02a590e02664ed29a36facec1 and fixed in 5.15.221 with commit 0a139188a7ce4baab7acc5d60e0d1c8657f9b4d4
	Issue introduced in 2.6.35 with commit 14bf62cde79423a02a590e02664ed29a36facec1 and fixed in 6.1.188 with commit 67d7851f113fd0205dd27416d3c47ab32b176097
	Issue introduced in 2.6.35 with commit 14bf62cde79423a02a590e02664ed29a36facec1 and fixed in 6.6.157 with commit 4b29be4b23bc28f59def1485702887e395256e11
	Issue introduced in 2.6.35 with commit 14bf62cde79423a02a590e02664ed29a36facec1 and fixed in 6.12.110 with commit 579c78c8c317ecff8b6b820c227c93e6ec4e565d
	Issue introduced in 2.6.35 with commit 14bf62cde79423a02a590e02664ed29a36facec1 and fixed in 6.18.52 with commit 635914c60da26a9892f27ffb5edcc922a10effab
	Issue introduced in 2.6.35 with commit 14bf62cde79423a02a590e02664ed29a36facec1 and fixed in 7.2.6 with commit 99330b12376c3373ab555c24bc797630f03b81a2
	Issue introduced in 2.6.35 with commit 14bf62cde79423a02a590e02664ed29a36facec1 and fixed in 7.3-rc1 with commit 43fae42628a8c10fa8981773d7ec9f1a367821a7

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-93188

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-kone.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/686e5c3bd378933b4e795fcc7d40c5aad358eaaa
	https://git.kernel.org/stable/c/0a139188a7ce4baab7acc5d60e0d1c8657f9b4d4
	https://git.kernel.org/stable/c/67d7851f113fd0205dd27416d3c47ab32b176097
	https://git.kernel.org/stable/c/4b29be4b23bc28f59def1485702887e395256e11
	https://git.kernel.org/stable/c/579c78c8c317ecff8b6b820c227c93e6ec4e565d
	https://git.kernel.org/stable/c/635914c60da26a9892f27ffb5edcc922a10effab
	https://git.kernel.org/stable/c/99330b12376c3373ab555c24bc797630f03b81a2
	https://git.kernel.org/stable/c/43fae42628a8c10fa8981773d7ec9f1a367821a7