commit | 0b818e3956fc1ad976bee791eadcbb3b5fec5bfd | [log] [tgz] |
---|---|---|
author | Oliver Neukum <oneukum@suse.com> | Wed Mar 16 13:26:17 2016 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Mar 18 09:19:02 2016 -0700 |
tree | 87540d681d17237c4a19fcb67e4142243959eeea | |
parent | 7222c832254a75dcd67d683df75753d4a4e125bb [diff] |
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>