[Bug 256383] [bhyve] Assertion failed: (!err), function hda_set_corbctl, file /usr/src/usr.sbin/bhyve/pci_hda.c
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 22 Aug 2026 12:49:27 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256383
--- Comment #3 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:
URL:
https://cgit.FreeBSD.org/src/commit/?id=f4d953bea74091874f019e3a2c4902dd013ee739
commit f4d953bea74091874f019e3a2c4902dd013ee739
Author: Christos Margiolis <christos@FreeBSD.org>
AuthorDate: 2026-08-22 12:48:32 +0000
Commit: Christos Margiolis <christos@FreeBSD.org>
CommitDate: 2026-08-22 12:48:32 +0000
bhyve: Do not panic on invalid input in HDA emulation
The emulated HDA controller passed values taken from guest registers and
from guest memory straight into assert(), so a guest could abort bhyve
with values the emulation did not expect. Reject them instead.
In case the guest asked to start something and it failed, clear the
corresponding run/enable bit.
PR: 256379, 256381, 256382, 256383, 256384, 256385, 256386,
256498
Sponsored by: The FreeBSD Foundation
MFC after: 2 weeks
Reviewed by: bnovkov, jhb
Differential Revision: https://reviews.freebsd.org/D59082
usr.sbin/bhyve/pci_hda.c | 55 ++++++++++++++++++++++++++++++++----------------
1 file changed, 37 insertions(+), 18 deletions(-)
--
You are receiving this mail because:
You are the assignee for the bug.