Re: [PATCH] USB: serial: keyspan: fix missing indat transfer sanity check

From: Greg Kroah-Hartman

Date: Wed May 20 2026 - 07:18:45 EST


On Wed, May 20, 2026 at 12:12:30PM +0200, Johan Hovold wrote:
> Add the missing sanity check on the size of usa49wg indat transfers to
> avoid parsing stale or uninitialised slab data.
>
> Fixes: 0ca1268e109a ("USB Serial Keyspan: add support for USA-49WG & USA-28XG")
> Cc: stable@xxxxxxxxxxxxxxx # 2.6.23
> Signed-off-by: Johan Hovold <johan@xxxxxxxxxx>
> ---

Reviewed-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>