mirror of
https://github.com/torvalds/linux.git
synced 2026-12-04 12:24:18 +00:00
The buffer allocation is not currently accounting for an extra byte for the report id. This can cause an out of bounds access in function i2c_hid_set_or_send_report() with reportID > 15. Cc: [email protected] Signed-off-by: Adrian Salido <[email protected]> Reviewed-by: Benson Leung <[email protected]> Signed-off-by: Guenter Roeck <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>