Revision d979e9f9ecab04c1ecca741370e30a8a498893f5 authored by Johan Hovold on 27 August 2014, 09:55:18 UTC, committed by Greg Kroah-Hartman on 27 August 2014, 20:23:52 UTC
Make sure to verify the maximum number of endpoints per type to avoid
writing beyond the end of a stack-allocated array.

The current usb-serial implementation is limited to eight ports per
interface but failed to verify that the number of endpoints of a certain
type reported by a device 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>
1 parent 0393689
History
File Mode Size
00-INDEX -rw-r--r-- 990 bytes
NMI-RCU.txt -rw-r--r-- 4.2 KB
RTFP.txt -rw-r--r-- 82.8 KB
UP.txt -rw-r--r-- 5.6 KB
arrayRCU.txt -rw-r--r-- 4.4 KB
checklist.txt -rw-r--r-- 20.3 KB
listRCU.txt -rw-r--r-- 10.7 KB
lockdep-splat.txt -rw-r--r-- 4.8 KB
lockdep.txt -rw-r--r-- 4.9 KB
rcu.txt -rw-r--r-- 4.0 KB
rcu_dereference.txt -rw-r--r-- 12.5 KB
rcubarrier.txt -rw-r--r-- 12.6 KB
rculist_nulls.txt -rw-r--r-- 5.1 KB
rcuref.txt -rw-r--r-- 4.2 KB
stallwarn.txt -rw-r--r-- 10.5 KB
torture.txt -rw-r--r-- 13.9 KB
trace.txt -rw-r--r-- 22.5 KB
whatisRCU.txt -rw-r--r-- 38.0 KB

back to top