* Out of bounds access in service_tx_status_request() in musb_gadget_ep0.c
@ 2021-04-05 0:38 Heinrich Schuchardt
2021-04-05 12:34 ` Marek Vasut
0 siblings, 1 reply; 2+ messages in thread
From: Heinrich Schuchardt @ 2021-04-05 0:38 UTC (permalink / raw)
To: u-boot
Hello Marek,
&musb->endpoints[epnum].ep_out may be accessed out of bounds if a device
sends a malformed message with ctrlrequest->wIndex = 0x10.
The Linux code avoids this issue.
Best regards
Heinrich
^ permalink raw reply [flat|nested] 2+ messages in thread
* Out of bounds access in service_tx_status_request() in musb_gadget_ep0.c
2021-04-05 0:38 Out of bounds access in service_tx_status_request() in musb_gadget_ep0.c Heinrich Schuchardt
@ 2021-04-05 12:34 ` Marek Vasut
0 siblings, 0 replies; 2+ messages in thread
From: Marek Vasut @ 2021-04-05 12:34 UTC (permalink / raw)
To: u-boot
On 4/5/21 2:38 AM, Heinrich Schuchardt wrote:
> Hello Marek,
Hi,
> &musb->endpoints[epnum].ep_out may be accessed out of bounds if a device
> sends a malformed message with ctrlrequest->wIndex = 0x10.
Where?
> The Linux code avoids this issue.
Please send a fix, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-04-05 12:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-05 0:38 Out of bounds access in service_tx_status_request() in musb_gadget_ep0.c Heinrich Schuchardt
2021-04-05 12:34 ` Marek Vasut
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.