AZL-114659: CVE-2026-99331 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
HID: cp2112: validate response report lengths
The HID core invokes rawevent callbacks before validating the report length. cp2112rawevent() reads every field of a transfer status response without checking size. For a data response, it reads the length at offset two and copies that many bytes from offset three, again without ensuring that the input report contains them.
Require a complete transfer status structure. For data responses, first require the header and then ensure the clamped payload length fits in the received report before copying it.
Commit 47669bec44fe ("HID: asus: refactor the two workqueues and init sequence") added the same kind of rawevent length validation to hid-asus.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In cp2112_raw_event(), validate that the received report contains the complete transfer status structure before reading its fields; require the header and ensure the clamped payload length fits in the report before copying payload data.