Re: [PATCH] HID: logitech-hidpp: Check bounds when deleting force-feedback effects

From: Jiri Kosina

Date: Thu Apr 09 2026 - 11:35:03 EST


On Tue, 31 Mar 2026, Günther Noack wrote:

> Without this bounds check, this might otherwise overwrite index -1.
>
> Triggering this condition requires action both from the USB device and from
> userspace, which reduces the scenarios in which it can be exploited.
>
> Cc: Lee Jones <lee@xxxxxxxxxx>
> Signed-off-by: G=C3=BCnther Noack <gnoack@xxxxxxxxxx>

Applied, thanks.

--
Jiri Kosina
SUSE Labs