diff options
author | Oliver Neukum <oneukum@suse.com> | 2016-03-16 13:26:17 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-03-18 17:19:02 +0100 |
commit | 0b818e3956fc1ad976bee791eadcbb3b5fec5bfd (patch) | |
tree | 87540d681d17237c4a19fcb67e4142243959eeea /drivers/usb/class/cdc-acm.c | |
parent | usb/core: usb_alloc_dev(): fix setting of ->portnum (diff) | |
download | linux-0b818e3956fc1ad976bee791eadcbb3b5fec5bfd.tar.xz linux-0b818e3956fc1ad976bee791eadcbb3b5fec5bfd.zip |
USB: usb_driver_claim_interface: add sanity checking
Attacks that trick drivers into passing a NULL pointer
to usb_driver_claim_interface() using forged descriptors are
known. This thwarts them by sanity checking.
Signed-off-by: Oliver Neukum <ONeukum@suse.com>
CC: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/class/cdc-acm.c')
0 files changed, 0 insertions, 0 deletions