hwmon: Fix ASUS ROG Ryujin HID report handling
Status from this message: Applied.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | hwmon: (asus_rog_ryujin) Validate HID report lengthsdrivers/ | +15 | 1 reply | |
| 2/2 | hwmon: (asus_rog_ryujin) Synchronize HID command and report handlingdrivers/ | +14 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] hwmon: Fix ASUS ROG Ryujin HID report handling
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(-)
Signature · 1 line
2.55.0