Re: [PATCH] gpib: lpvo_usb: fix memory leak on disconnect
From: Johan Hovold
Date: Mon Mar 30 2026 - 07:53:00 EST
On Tue, Mar 10, 2026 at 11:51:27AM +0100, Johan Hovold wrote:
> The driver iterates over the registered USB interfaces during GPIB
> attach and takes a reference to their USB devices until a match is
> found. These references are never released which leads to a memory leak
> when devices are disconnected.
>
> Fix the leak by dropping the unnecessary references.
>
> Fixes: fce79512a96a ("staging: gpib: Add LPVO DIY USB GPIB driver")
> Cc: stable@xxxxxxxxxxxxxxx # 6.13
> Cc: Dave Penkler <dpenkler@xxxxxxxxx>
> Signed-off-by: Johan Hovold <johan@xxxxxxxxxx>
> ---
Can this one be picked up for 7.1?
Johan