[PATCH master] usb: xhci: fix erroneous USB_DT_CONFIG descriptor size

Sascha Hauer s.hauer at pengutronix.de
Mon Aug 5 22:56:28 PDT 2024


On Mon, 05 Aug 2024 17:26:11 +0200, Ahmad Fatoum wrote:
> This bug initially manifested itself as an infinite loop printing the
> message:
> 
>   ERROR: usb2: ifno = 17 > USB_MAXINTERFACES = 16 !
> 
> Such a hang could equally happen if actual USB devices besides the root
> hub report bogus descriptors. This was fixed by not trusting device-reported
> sizes blindly in commit b6a510525e63 ("usb: Use well-known descriptor sizes
> when parsing configuration").
> 
> [...]

Applied, thanks!

[1/1] usb: xhci: fix erroneous USB_DT_CONFIG descriptor size
      https://git.pengutronix.de/cgit/barebox/commit/?id=37264b456e0d (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer at pengutronix.de>




More information about the barebox mailing list