Skip to contentSkip to conversation

CVE-2026-99721: hwmon: (aquacomputer_d5next) reject short status reports

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Nov 20

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: (aquacomputer_d5next) reject short status reports

The HID raw_event callback runs before HID core validates the received report length. aqc_raw_event() reads device-specific status fields at fixed offsets, including multi-byte values, without first ensuring that the received buffer contains every field. A truncated report can therefore cause out-of-bounds reads and update hwmon state with unrelated data.

The required length differs between supported devices and cannot be derived from the HID report descriptor. Define the minimum length needed by each asynchronous status format, select it while configuring the device, and reject reports that do not contain the last field accessed by that format. Keep the published length zero until probe configuration is complete, which also excludes legacy devices whose status is retrieved through feature reports.

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

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

	Issue introduced in 5.15 with commit 0e35f63f7f4eebd268ec236fd1bbf4e561ce8de5 and fixed in 6.12.118 with commit 73a77cc33fd5ea7068eb8bade71f7ab5d3e54d96
	Issue introduced in 5.15 with commit 0e35f63f7f4eebd268ec236fd1bbf4e561ce8de5 and fixed in 6.18.64 with commit 33024a7ee9bf6865cc2501b705fab68884067071
	Issue introduced in 5.15 with commit 0e35f63f7f4eebd268ec236fd1bbf4e561ce8de5 and fixed in 7.3.5 with commit 25dcc6ab1c4c2b55625334b95fecc1acc8203c47
	Issue introduced in 5.15 with commit 0e35f63f7f4eebd268ec236fd1bbf4e561ce8de5 and fixed in 7.4-rc2 with commit cf8f81babd2e96087dedbb74985bc1781c98f73d

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

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/aquacomputer_d5next.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/73a77cc33fd5ea7068eb8bade71f7ab5d3e54d96
	https://git.kernel.org/stable/c/33024a7ee9bf6865cc2501b705fab68884067071
	https://git.kernel.org/stable/c/25dcc6ab1c4c2b55625334b95fecc1acc8203c47
	https://git.kernel.org/stable/c/cf8f81babd2e96087dedbb74985bc1781c98f73d