Skip to content
Commit fbce985e authored by Venkatesh Yadav Abbarapu's avatar Venkatesh Yadav Abbarapu Committed by Tom Rini
Browse files

usb: gadget: dfu: Fix the unchecked length field



DFU implementation does not bound the length field in USB
DFU download setup packets, and it does not verify that
the transfer direction. Fixing the length and transfer
direction.

CVE-2022-2347

Signed-off-by: default avatarVenkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com>
Reviewed-by: default avatarMarek Vasut <marex@denx.de>
parent 8fc220d0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment