hwmon: (asus_rog_ryujin) Validate HID report lengths
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel’s asus_rog_ryujin driver does not check HID report lengths before parsing response fields. A short report can cause it to expose uninitialized transport-buffer bytes as sensor values through sysfs. The input does not specify how an attacker could supply a report or whether authentication or user interaction is required.
Engineers running Linux kernels with the asus_rog_ryujin driver should check their installations; affected versions are not specified.