HomeFreeBSD

bhyve: avoid buffer overflow in pci_vtcon_control_send

Description

bhyve: avoid buffer overflow in pci_vtcon_control_send

This is a follow-up to the fix for HYP-19, addressing another condition
where an overflow might still occur. (Spotted by jhb@, thanks!)

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

Details

Provenance
khorben_defora.orgAuthored on Oct 2 2024, 9:44 PM
emasteCommitted on Tue, Oct 15, 8:54 PM
Reviewer
markj
Differential Revision
D46882: bhyve: buffer overflow in pci_vtcon_control_send
Parents
rG23cb03d14529: thr_kill(2): fix title
Branches
Unknown
Tags
Unknown