[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20260102121011.GA25015@carbon.k.g>
Date: Fri, 2 Jan 2026 14:10:11 +0200
From: Petko Manolov <petko.manolov@...sulko.com>
To: Paolo Abeni <pabeni@...hat.com>
Cc: davem@...emloft.net, netdev@...r.kernel.org, kuba@...nel.org,
stable@...r.kernel.org
Subject: Re: [PATCH] net: usb: pegasus: fix memory leak on usb_submit_urb()
failure
On 25-12-23 12:44:53, Paolo Abeni wrote:
> On 12/16/25 7:41 PM, Petko Manolov wrote:
> > In update_eth_regs_async() neither the URB nor the request structure are being
> > freed if usb_submit_urb() fails. The patch fixes this long lurking bug in the
> > error path.
> >
> > Signed-off-by: Petko Manolov <petko.manolov@...sulko.com>
>
> Please:
> - include the targed tree in the subj prefix ('net' in this case)
> - include a suitable Fixes tag
Sure, will do. However, my v2 patch makes use of __free() cleanup
functionality, which in turn only applies back to v6.6 stable kernels.
I guess i shall make another version of the patch that is suitable only for v5.4
to v6.1 stable releases, right? How shall i format the patch so that it targets
only these old versions?
cheers,
Petko
Powered by blists - more mailing lists