Files
linux/drivers
Scott Bauer 93a2001bdf HID: hiddev: validate num_values for HIDIOCGUSAGES, HIDIOCSUSAGES commands
This patch validates the num_values parameter from userland during the
HIDIOCGUSAGES and HIDIOCSUSAGES commands. Previously, if the report id was set
to HID_REPORT_ID_UNKNOWN, we would fail to validate the num_values parameter
leading to a heap overflow.

Cc: stable@vger.kernel.org
Signed-off-by: Scott Bauer <sbauer@plzdonthack.me>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2016-06-24 10:21:39 +02:00
..
2016-04-13 15:14:24 -04:00
2016-03-23 17:52:10 +02:00
2016-05-03 11:22:10 +09:00
2016-04-16 22:52:03 +05:30
2016-04-09 02:17:43 +02:00
2016-04-18 12:52:38 +02:00
2016-04-28 10:52:28 +02:00