From: Johan Hovold <johan@kernel.org>
To: Dave Penkler <dpenkler@gmail.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
linux-kernel@vger.kernel.org, stable@vger.kernel.org
Subject: Re: [PATCH] gpib: lpvo_usb: fix memory leak on disconnect
Date: Mon, 30 Mar 2026 13:48:46 +0200 [thread overview]
Message-ID: <acpjHoARQcsHwuFq@hovoldconsulting.com> (raw)
In-Reply-To: <20260310105127.17538-1-johan@kernel.org>
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@vger.kernel.org # 6.13
> Cc: Dave Penkler <dpenkler@gmail.com>
> Signed-off-by: Johan Hovold <johan@kernel.org>
> ---
Can this one be picked up for 7.1?
Johan
prev parent reply other threads:[~2026-03-30 11:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-10 10:51 [PATCH] gpib: lpvo_usb: fix memory leak on disconnect Johan Hovold
2026-03-30 11:48 ` Johan Hovold [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=acpjHoARQcsHwuFq@hovoldconsulting.com \
--to=johan@kernel.org \
--cc=dpenkler@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=stable@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox