[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <2025122422-factoid-oat-aea0@gregkh>
Date: Wed, 24 Dec 2025 10:45:49 +0100
From: Greg KH <gregkh@...uxfoundation.org>
To: Haoxiang Li <lihaoxiang@...c.iscas.ac.cn>
Cc: peter.chen@...nel.org, pawell@...ence.com, rogerq@...nel.org,
felipe.balbi@...ux.intel.com, linux-usb@...r.kernel.org,
linux-kernel@...r.kernel.org, stable@...r.kernel.org
Subject: Re: [PATCH] usb: cdns3: fix a null pointer dereference in
cdns3_gadget_ep_queue()
On Wed, Dec 24, 2025 at 05:29:35PM +0800, Haoxiang Li wrote:
> If cdns3_gadget_ep_alloc_request() fails, a null pointer dereference
> occurs. Add a check to prevent it.
>
> Found by code review and compiled on ubuntu 20.04.
What tool did you use to find this through 'code review'?
And the compile line doesn't help, as I stated before.
And how was this tested?
thanks,
greg k-h
Powered by blists - more mailing lists