HomeFreeBSD

bhyve: validate corb->wp to avoid infinite loop

Description

bhyve: validate corb->wp to avoid infinite loop

Guests must set HDAC_CORBWP less than corb->size. Treat invalid values
as an error rather than entering an infinite loop.

Reported by: Synacktiv
Reviewed by: markj
Security: HYP-12
Sponsored by: The Alpha-Omega Project
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D46134

Details

Provenance
emasteAuthored on Thu, Sep 19, 6:57 PM
Reviewer
markj
Differential Revision
Restricted Differential Revision
Parents
rG4004e1752ec7: hda: remove duplicate codec defines
Branches
Unknown
Tags
Unknown