[PATCH v2 0/4] HID: asus: security fixes and more hardware support
From: Denis Benato
Date: Fri Jun 12 2026 - 10:25:35 EST
Hi all,
I have added support for controlling the (way too bright) XG mobile
LEDs in hid-asus and added the i2c version of already supported
hardware that was probed only when it's a USB.
Auto-review bot has spotted two pre-existing possible security problems
alongside problems in my own code therefore I am producing a V2 including
those fixes and improvements.
Link: https://lore.kernel.org/all/20260612124830.984592-1-denis.benato@xxxxxxxxx/
Link: https://lore.kernel.org/all/30258f28-4036-4e99-9494-031212544dc2@xxxxxxxxx/
Best regards,
Denis Benato
Changelog:
- v1
- Initial submission (as separate patches)
- v2
- HID: asus: add i2c entry for FA808UM and other TUFs
- Joined to the patchset
- HID: asus: add support for xgm led
- Use the correct callback set_brightness_blocking
- Stop hardcoding the cled name
- HID: asus: prevent wrong pointer cast
- Added
- HID: asus: mitigate possible use-after-free
- Added
Denis Benato (4):
HID: asus: mitigate possible use-after-free
HID: asus: prevent wrong pointer cast
HID: asus: add support for xgm led
HID: asus: add i2c entry for FA808UM and other TUFs
drivers/hid/hid-asus.c | 76 +++++++++++++++++++++++++++++++++++++++++-
1 file changed, 75 insertions(+), 1 deletion(-)
--
2.47.3