Re: [PATCH 5.4 17/78] HID: Fix slab-out-of-bounds read in hid_field_extract (Broken!)

From: Alan Stern
Date: Wed Feb 05 2020 - 10:01:01 EST


On Wed, 5 Feb 2020, Jiri Kosina wrote:

> On Wed, 5 Feb 2020, Enderborg, Peter wrote:
>
> > >> This patch breaks Elgato StreamDeck.
> >
> > > Does that mean the device is broken with a too-large of a report?
> >
> > Yes.
>
> In which way does the breakage pop up? Are you getting "report too long"
> errors in dmesg, or the device just doesn't enumerate at all?
>
> Could you please post /sys/kernel/debug/hid/<device>/rdesc contents, and
> if the device is at least semi-alive, also contents of
> /sys/kernel/debug/hid/<device>/events from the time it misbehaves?

Also, please post the output from "lsusb -v" for the StreamDeck.

Alan Stern