[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, 05 Sep 2026 12:29:39 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256383
--- Comment #4 from commit-hook@FreeBSD.org ---
A commit in branch stable/15 references this bug:
URL:
https://cgit.FreeBSD.org/src/commit/?id=3557da0355326ca1266d152c9df00a46bbb7ea92
commit 3557da0355326ca1266d152c9df00a46bbb7ea92
Author: Christos Margiolis <christos@FreeBSD.org>
AuthorDate: 2026-08-22 12:48:32 +0000
Commit: Christos Margiolis <christos@FreeBSD.org>
CommitDate: 2026-09-05 12:29:22 +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
(cherry picked from commit f4d953bea74091874f019e3a2c4902dd013ee739)
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.