]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
bhyve: correct out-of-bounds read in XHCI device emulation
authoremaste <emaste@FreeBSD.org>
Tue, 23 Jul 2019 16:27:36 +0000 (16:27 +0000)
committeremaste <emaste@FreeBSD.org>
Tue, 23 Jul 2019 16:27:36 +0000 (16:27 +0000)
commitbaac2f0930900251f301b323cc5f91ea168b2729
tree03189f4d1b1742ff28f053cb882cf70511c29a0f
parent714ee6bfd2dd55cb4cc8139337b858f00764a7a1
bhyve: correct out-of-bounds read in XHCI device emulation

Add appropriate bounds checks on the epid and streamid fields in the
device doorbell registers.

admbugs: 919
Submitted by: jhb
Reported by: Reno Robert <renorobert@gmail.com>
Reviewed by: markj
Approved by: so
Security: out-of-bounds read
usr.sbin/bhyve/pci_xhci.c