• Kees Cook's avatar
    HID: pantherlord: validate output report details · 412f3010
    Kees Cook authored
    A HID device could send a malicious output report that would cause the
    pantherlord HID driver to write beyond the output report allocation
    during initialization, causing a heap overflow:
    [  310.939483] usb 1-1: New USB device found, idVendor=0e8f, idProduct=0003
    [  315.980774] BUG kmalloc-192 (Tainted: G        W   ): Redzone overwritten
    Signed-off-by: default avatarKees Cook <keescook@chromium.org>
    Cc: stable@kernel.org
    Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>