]> Git Repo - qemu.git/commit - hw/usb/hcd-xhci.c
usb/hcd-xhci: check slotid in xhci_wakeup_endpoint()
authorMauro Matteo Cascella <[email protected]>
Tue, 5 Jul 2022 17:47:34 +0000 (19:47 +0200)
committerGerd Hoffmann <[email protected]>
Tue, 19 Jul 2022 12:36:38 +0000 (14:36 +0200)
commit84218892f05515d20347fde4506e1944eb11cb25
tree526f4dd30851f4acd3238923ed16a1ad4cd0eb91
parent3ef1497b46c57eba151fb1d0bdd8c8bff8a0f524
usb/hcd-xhci: check slotid in xhci_wakeup_endpoint()

This prevents an OOB read (followed by an assertion failure in
xhci_kick_ep) when slotid > xhci->numslots.

Reported-by: Soul Chen <[email protected]>
Signed-off-by: Mauro Matteo Cascella <[email protected]>
Message-Id: <20220705174734.2348829[email protected]>
Signed-off-by: Gerd Hoffmann <[email protected]>
hw/usb/hcd-xhci.c
This page took 0.025134 seconds and 4 git commands to generate.