Re: [PATCH v2] HID: logitech-hidpp: Check maxfield in hidpp_get_report_length()

From: Jiri Kosina

Date: Sat Jan 10 2026 - 04:29:52 EST


On Fri, 9 Jan 2026, Günther Noack wrote:

> Do not crash when a report has no fields.
>
> Fake USB gadgets can send their own HID report descriptors and can define r=
> eport
> structures without valid fields. This can be used to crash the kernel over=
> USB.

Applied, thanks.

--
Jiri Kosina
SUSE Labs