Hi,

On Thu, 18 Dec 2025 15:27:35 +0100, Petr Beneš wrote:
> 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.
> 
> Moreover, the patch gets rid of possible outstanding requests if the
> endpoint's state changes to disabled.
> 
> [...]

Thanks, Applied to https://source.denx.de/u-boot/custodians/u-boot-dfu 
(u-boot-dfu)

[1/2] usb: ci_udc: Check ci_ep->desc before use
      
https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/6a92e9827650797b6b5290621c1831fe32d6ea4b
[2/2] usb: ci_udc: cosmetics: EP and requests debug info
      
https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/8ea70d8132df30c37c9592952c6267c2e9b4e562

--
Mattijs

Reply via email to