Skip to contentSkip to conversation

CVE-2026-97538: hwmon: (asus_rog_ryujin) Validate HID report lengths

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 25

lore
Share & tools
lore
#0 lore raw

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

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

In the Linux kernel, the following vulnerability has been resolved:

hwmon: (asus_rog_ryujin) Validate HID report lengths

rog_ryujin_raw_event() parses response headers and payload fields without first checking that they are present in the received report. A short report can therefore make the driver consume uninitialized bytes from the HID transport buffer and expose them as sensor values through sysfs.

Validate the response header and the fields used by each response type before parsing them.

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

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

	Issue introduced in 6.9 with commit ed3e03790c5c9f29f032dde9bb784e198984a759 and fixed in 7.2.7 with commit 1caa5f9399ff107a8fa221b1eaca0a9e729d3758
	Issue introduced in 6.9 with commit ed3e03790c5c9f29f032dde9bb784e198984a759 and fixed in 7.3-rc3 with commit 8042312e73c50de82634ce63eae7cf219464b481

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

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/hwmon/asus_rog_ryujin.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/1caa5f9399ff107a8fa221b1eaca0a9e729d3758
	https://git.kernel.org/stable/c/8042312e73c50de82634ce63eae7cf219464b481