mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-22 19:14:51 +00:00
USB: usb_driver_claim_interface: add sanity checking
[ Upstream commit 0b818e3956 ]
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>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
This commit is contained in:
parent
14a710bbf6
commit
febfaffe4a
1 changed files with 5 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue