Skip to contentSkip to conversation

CVE-2026-99327: HID: roccat: kovaplus: reject short button reports

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Nov 19

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: kovaplus: reject short button reports

The raw event callback runs before HID core validates and zero-pads the report. It passes the buffer to helpers which inspect data[0] and read a complete struct kovaplus_mouse_report_button for button reports. A truncated report can therefore cause an out-of-bounds read.

Require enough data for the button report before calling either helper. Commit 47669bec44fe ("HID: asus: refactor the two workqueues and init sequence") added the same kind of raw-event length validation to hid-asus.

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

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

	Issue introduced in 2.6.39 with commit 0e70f97f257edcef4daa92ab9371a9aac0c851ed and fixed in 6.12.117 with commit ee3166e260e4217b9b332d38eb3c75bd72d1bc63
	Issue introduced in 2.6.39 with commit 0e70f97f257edcef4daa92ab9371a9aac0c851ed and fixed in 6.18.61 with commit 196fff636bf4fd8ca7dcdeb46b17c275d9064766
	Issue introduced in 2.6.39 with commit 0e70f97f257edcef4daa92ab9371a9aac0c851ed and fixed in 7.3.2 with commit 1b19a4415e9baac8f5fad0577756621d5bb14487
	Issue introduced in 2.6.39 with commit 0e70f97f257edcef4daa92ab9371a9aac0c851ed and fixed in 7.4-rc1 with commit e95917a606f486e46f5136fc1b72190742a091d6

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

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-kovaplus.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/ee3166e260e4217b9b332d38eb3c75bd72d1bc63
	https://git.kernel.org/stable/c/196fff636bf4fd8ca7dcdeb46b17c275d9064766
	https://git.kernel.org/stable/c/1b19a4415e9baac8f5fad0577756621d5bb14487
	https://git.kernel.org/stable/c/e95917a606f486e46f5136fc1b72190742a091d6