[PATCH 0/2] hwmon: Fix ASUS ROG Ryujin HID report handling

Arie Miller posted 2 patches 2 hours ago
drivers/hwmon/asus_rog_ryujin.c | 30 +++++++++++++++++++++++++-----
1 file changed, 25 insertions(+), 5 deletions(-)
[PATCH 0/2] hwmon: Fix ASUS ROG Ryujin HID report handling
Posted by Arie Miller 2 hours ago
A Sashiko review found two pre-existing issues in the ASUS ROG Ryujin
driver: missing HID report length validation and a race between completion
updates and reinitialization.

Reject undersized reports and serialize both paths with the existing
spinlock.

Tested on an ASUS ROG Ryujin III EVA using a DKMS-built module with 16,000
concurrent hwmon reads and 50 liquidctl status requests over hidraw. No
failures, timeouts, lock warnings, or HID errors were observed.

Arie Miller (2):
  hwmon: (asus_rog_ryujin) Validate HID report lengths
  hwmon: (asus_rog_ryujin) Synchronize HID command and report handling

 drivers/hwmon/asus_rog_ryujin.c | 30 +++++++++++++++++++++++++-----
 1 file changed, 25 insertions(+), 5 deletions(-)

-- 
2.55.0