Benjamin Tissoires
8821f5dc18
HID: multitouch: validate indexes details
...
When working on report indexes, always validate that they are in bounds.
Without this, a HID device could report a malicious feature report that
could trick the driver into a heap overflow:
[ 634.885003] usb 1-1: New USB device found, idVendor=0596, idProduct=0500
...
[ 676.469629] BUG kmalloc-192 (Tainted: G W ): Redzone overwritten
Note that we need to change the indexes from s8 to s16 as they can
be between -1 and 255.
CVE-2013-2897
Cc: stable@vger.kernel.org
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com >
Acked-by: Kees Cook <keescook@chromium.org >
Signed-off-by: Jiri Kosina <jkosina@suse.cz >
2013-09-13 15:13:52 +02:00
..
2013-09-06 11:58:37 +02:00
2013-09-06 11:58:37 +02:00
2013-07-31 10:12:28 +02:00
2013-09-06 11:58:37 +02:00
2013-04-18 19:06:20 -07:00
2013-01-03 10:27:31 +01:00
2013-02-25 13:26:41 +01:00
2013-01-03 10:27:31 +01:00
2013-01-03 10:27:31 +01:00
2013-01-03 10:27:31 +01:00
2013-09-13 15:13:22 +02:00
2013-01-03 10:27:31 +01:00
2013-05-06 13:07:33 +02:00
2013-02-25 13:26:41 +01:00
2013-01-03 10:27:31 +01:00
2013-05-29 01:11:43 +02:00
2013-02-25 13:26:41 +01:00
2013-01-03 10:27:31 +01:00
2013-02-25 13:26:41 +01:00
2013-01-03 10:27:31 +01:00
2013-01-03 10:27:31 +01:00
2013-01-03 10:27:31 +01:00
2013-05-29 15:04:33 +02:00
2013-08-05 11:29:57 +02:00
2013-05-28 14:29:38 +02:00
2013-08-02 11:34:30 +08:00
2013-04-24 16:32:27 +02:00
2013-09-04 10:50:41 +02:00
2013-09-13 15:13:22 +02:00
2013-01-03 10:27:31 +01:00
2013-01-03 10:27:31 +01:00
2013-07-15 10:25:33 +02:00
2013-01-03 10:27:31 +01:00
2013-09-13 15:13:00 +02:00
2013-09-13 15:12:39 +02:00
2013-09-13 15:12:39 +02:00
2013-09-13 15:12:39 +02:00
2013-02-21 10:45:01 +01:00
2013-09-13 15:12:39 +02:00
2013-09-13 15:13:32 +02:00
2013-07-22 16:32:24 +02:00
2013-09-06 11:58:37 +02:00
2013-04-29 10:16:55 +02:00
2013-01-03 10:27:31 +01:00
2013-09-13 15:13:52 +02:00
2013-09-04 12:00:23 +02:00
2013-01-03 10:27:31 +01:00
2013-01-03 10:27:31 +01:00
2013-02-25 13:26:41 +01:00
2013-09-02 13:36:50 +02:00
2013-09-04 12:03:27 +02:00
2013-07-22 16:16:40 +02:00
2013-09-02 13:36:50 +02:00
2013-02-25 13:26:41 +01:00
2013-02-25 13:26:41 +01:00
2013-04-30 10:19:07 +02:00
2013-09-04 11:58:32 +02:00
2013-01-03 10:27:31 +01:00
2013-02-25 13:26:41 +01:00
2013-09-06 09:30:36 -07:00
2013-09-06 09:30:36 -07:00
2013-03-14 11:50:49 +01:00
2013-09-06 09:30:36 -07:00
2013-04-08 10:33:13 +02:00
2013-09-06 09:30:36 -07:00
2013-09-06 09:30:36 -07:00
2013-03-14 11:50:49 +01:00
2013-09-06 09:30:36 -07:00
2013-01-03 10:27:31 +01:00
2013-08-20 16:59:00 -07:00
2013-08-19 21:46:53 -07:00
2013-06-18 11:00:36 +02:00
2013-01-03 10:27:31 +01:00
2013-01-03 10:27:31 +01:00
2013-09-06 11:59:53 +02:00
2013-02-25 13:26:41 +01:00
2013-09-13 15:12:12 +02:00
2013-08-26 13:51:10 +02:00
2013-09-13 15:12:28 +02:00
2013-01-03 10:27:31 +01:00
2013-02-25 13:26:40 +01:00
2013-01-03 10:27:31 +01:00
2013-02-25 13:26:41 +01:00
2013-01-03 10:27:31 +01:00
2013-01-03 10:27:31 +01:00
2013-01-03 10:27:31 +01:00
2013-07-04 15:04:47 +02:00
2013-01-03 10:27:31 +01:00
2013-09-07 09:48:41 -07:00
2013-06-03 11:07:06 +02:00
2013-09-07 09:48:41 -07:00
2013-09-07 09:48:41 -07:00
2013-08-26 13:23:04 +02:00
2013-09-13 15:11:34 +02:00
2013-07-31 10:12:28 +02:00
2013-09-04 10:49:57 +02:00
2013-07-29 11:49:29 +02:00
2013-07-29 11:49:29 +02:00
2013-09-06 11:58:37 +02:00