[PATCH 1/2] usb: ci_udc: Check ci_ep->desc before use
Marek Vasut
marek.vasut at mailbox.org
Tue Nov 25 13:26:52 CET 2025
On 11/25/25 9:58 AM, Michal Vokáč wrote:
> From: Petr Beneš <petr.benes at ysoft.com>
>
> There are two places where ci_ep->desc could be accessed despite it is
> not valid at that moment. Either the endpoint has not been enabled yet
> or it has been disabled meanwhile (The ethernet gadged behaves this way
> at least.). That results in dereferencing a null pointer.
Is there a test case which triggers this problem ?
More information about the U-Boot
mailing list