[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2024052006-immunize-doorframe-0616@gregkh>
Date: Mon, 20 May 2024 20:21:59 +0200
From: gregkh <gregkh@...uxfoundation.org>
To: "nanfengwq@...a.com" <nanfengwq@...a.com>
Cc: balbi <balbi@...nel.org>, linux-usb <linux-usb@...r.kernel.org>,
linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: memory leakage in ncm_wrap_ntb() in USB ncm mode with kernel 5.15
On Mon, May 20, 2024 at 10:32:21PM +0800, nanfengwq@...a.com wrote:
> hello:
> In embedded devices with relatively small memory, if the transfer speed of ncm is fast and other programs occupy CPU memory, it is likely that the return value ncm ->skd_tx_data of alloc_skb() is NULL, and the code is likely to enter err. If skb2 is not processed in err, it will cause memory leakage.
Please do not send html email, the mailing list rejects it :(
Please read how to properly send kernel patches, the in-kernel
documentation should be very complete, is there anything there that you
do not understand?
thanks,
greg k-h
Powered by blists - more mailing lists