Johan Hovold
5654699fb3
USB: serial: fix potential heap buffer overflow
...
Make sure to verify the number of ports requested by subdriver to avoid
writing beyond the end of fixed-size array in interface data.
The current usb-serial implementation is limited to eight ports per
interface but failed to verify that the number of ports requested by a
subdriver (which could have been determined from device descriptors) did
not exceed this limit.
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-27 13:23:52 -07:00
..
2014-01-03 12:39:31 -08:00
2014-01-08 15:01:39 -08:00
2014-01-08 15:01:39 -08:00
2010-05-20 13:21:46 -07:00
2014-05-27 15:04:08 -07:00
2014-03-12 12:44:50 -07:00
2014-01-08 15:01:39 -08:00
2014-07-17 17:12:13 -07:00
2014-03-12 12:44:50 -07:00
2014-03-12 12:44:50 -07:00
2014-01-03 12:42:24 -08:00
2014-01-08 15:01:39 -08:00
2014-01-08 15:01:39 -08:00
2014-01-08 15:01:39 -08:00
2014-08-18 13:09:27 +02:00
2014-08-18 13:09:27 +02:00
2012-03-14 15:43:05 -07:00
2014-01-08 15:01:39 -08:00
2014-03-12 12:44:50 -07:00
2014-01-08 15:01:39 -08:00
2011-03-31 11:26:23 -03:00
2010-05-20 13:21:47 -07:00
2013-03-25 13:50:53 -07:00
2014-05-27 15:12:57 -07:00
2010-05-20 13:21:47 -07:00
2014-05-27 15:12:57 -07:00
2014-01-08 15:01:39 -08:00
2014-01-08 15:01:39 -08:00
2014-01-03 12:31:46 -08:00
2014-03-12 12:44:50 -07:00
2014-01-03 12:34:07 -08:00
2014-03-12 12:44:50 -07:00
2014-01-03 12:39:31 -08:00
2014-05-27 15:14:13 -07:00
2012-10-25 09:37:13 -07:00
2014-07-09 15:44:06 -07:00
2010-05-20 13:21:47 -07:00
2014-05-27 15:04:08 -07:00
2010-05-20 13:21:47 -07:00
2014-01-03 12:34:07 -08:00
2014-01-08 15:01:39 -08:00
2010-10-18 11:03:14 +02:00
2014-01-08 15:01:39 -08:00
2014-03-12 12:44:50 -07:00
2014-07-09 16:25:22 -07:00
2014-01-08 15:01:39 -08:00
2014-01-08 15:01:39 -08:00
2014-01-08 15:01:39 -08:00
2014-01-08 15:01:39 -08:00
2014-08-18 13:09:25 +02:00
2014-01-08 15:01:39 -08:00
2014-08-18 13:09:27 +02:00
2014-08-18 13:09:27 +02:00
2014-01-08 15:01:39 -08:00
2014-05-29 11:20:26 -07:00
2014-03-12 12:44:50 -07:00
2014-01-08 15:01:39 -08:00
2014-05-27 15:04:05 -07:00
2014-03-12 12:44:50 -07:00
2014-01-08 15:01:39 -08:00
2014-03-12 12:44:50 -07:00
2014-03-12 12:44:50 -07:00
2013-06-19 15:54:45 -07:00
2014-01-08 15:01:39 -08:00
2014-06-03 12:57:53 -07:00
2014-02-04 12:59:15 -08:00
2014-08-27 13:23:52 -07:00
2014-05-27 15:04:08 -07:00
2014-01-08 15:01:39 -08:00
2014-01-03 12:39:31 -08:00
2014-08-24 14:15:08 -05:00
2014-01-08 15:01:39 -08:00
2014-01-08 15:01:39 -08:00
2014-08-18 13:09:26 +02:00