[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <0404b476-ce96-0c01-1380-4b6873e79a08@kernel.org>
Date: Wed, 3 Aug 2022 15:26:25 +0300
From: Roger Quadros <rogerq@...nel.org>
To: Andrey Strachuk <strochuk@...ras.ru>,
Peter Chen <peter.chen@...nel.org>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Pawel Laszczak <pawell@...ence.com>,
Aswath Govindraju <a-govindraju@...com>,
Felipe Balbi <felipe.balbi@...ux.intel.com>,
linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org,
ldv-project@...uxtesting.org
Subject: Re: [PATCH v2] usb: cdns3: change place of NULL check in
cdns3_gadget_ep_enable()
On 28/07/2022 19:30, Andrey Strachuk wrote:
> If 'ep' is NULL, result of ep_to_cdns3_ep(ep) is invalid and
> priv_ep->cdns3_dev causes panic.
>
> Found by Linux Verification Center (linuxtesting.org) with SVACE.
>
> Signed-off-by: Andrey Strachuk <strochuk@...ras.ru>
> Fixes: 7733f6c32e36 ("usb: cdns3: Add Cadence USB3 DRD Driver")
Acked-by: Roger Quadros <rogerq@...nel.org>
cheers,
-roger
Powered by blists - more mailing lists