Re: [PATCH] HID: Extend report buffer size

From: Greg Kroah-Hartman
Date: Mon Feb 10 2020 - 07:22:20 EST


On Mon, Feb 10, 2020 at 01:08:47PM +0100, Peter Enderborg wrote:
> In the patch "HID: Fix slab-out-of-bounds read in hid_field_extract"
> there added a check for buffer overruns. This made Elgato StreamDeck
> to fail. This patch extend the buffer to 8192 to solve this. It also
> adds a print of the requested length if it fails on this test.
>
> Signed-off-by: Peter Enderborg <peter.enderborg@xxxxxxxx>

Can you add a "Fixes:" tag here pointing to the commit it fixes, as well
as a cc: stable as I'm pretty sure that the commit this fixes is also in
the stable trees already, right?

thanks,

greg k-h