summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2016-08-01 19:25:56 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-08-09 14:14:18 (GMT)
commitaed9d65ac3278d4febd8665bd7db59ef53e825fe (patch)
treef9a3decc5f7b42dc3b12e34b3fac1c20c3cbe713 /Makefile
parent9c6256a5e707a9eb8b91962b550050b13aa75334 (diff)
downloadlinux-aed9d65ac3278d4febd8665bd7db59ef53e825fe.tar.xz
USB: validate wMaxPacketValue entries in endpoint descriptors
Erroneous or malicious endpoint descriptors may have non-zero bits in reserved positions, or out-of-bounds values. This patch helps prevent these from causing problems by bounds-checking the wMaxPacketValue entries in endpoint descriptors and capping the values at the maximum allowed. This issue was first discovered and tests were conducted by Jake Lamberson <jake.lamberson1@gmail.com>, an intern working for Rosie Hall. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Reported-by: roswest <roswest@cisco.com> Tested-by: roswest <roswest@cisco.com> CC: <stable@vger.kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions