aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel
diff options
context:
space:
mode:
authorSven Schnelle <svens@stackframe.org>2012-08-17 21:43:43 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-09-14 10:00:43 -0700
commit52340b63f6cf9f21051a8f91f42d8ca97415bd1a (patch)
tree39d5d66db6e289f6aa5851fb3c471c5671c046f8 /arch/powerpc/kernel
parent9f48c235c9f8e7c13544f4a2d4b9a728cf257f45 (diff)
downloadkernel_samsung_smdk4412-52340b63f6cf9f21051a8f91f42d8ca97415bd1a.tar.gz
kernel_samsung_smdk4412-52340b63f6cf9f21051a8f91f42d8ca97415bd1a.tar.bz2
kernel_samsung_smdk4412-52340b63f6cf9f21051a8f91f42d8ca97415bd1a.zip
USB: CDC ACM: Fix NULL pointer dereference
commit 99f347caa4568cb803862730b3b1f1942639523f upstream. If a device specifies zero endpoints in its interface descriptor, the kernel oopses in acm_probe(). Even though that's clearly an invalid descriptor, we should test wether we have all endpoints. This is especially bad as this oops can be triggered by just plugging a USB device in. Signed-off-by: Sven Schnelle <svens@stackframe.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/powerpc/kernel')
0 files changed, 0 insertions, 0 deletions