[Bug 291063] bhyve: Failed to emulate instruction sequence 8908f0091c244883c2044883c00441
Date: Tue, 15 Sep 2026 14:05:42 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291063
--- Comment #8 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:
URL:
https://cgit.FreeBSD.org/src/commit/?id=4505445ccdb9555efc23262a971a18ca03486969
commit 4505445ccdb9555efc23262a971a18ca03486969
Author: Quentin Thébault <quentin.thebault@defenso.fr>
AuthorDate: 2026-08-07 14:02:08 +0000
Commit: Kyle Evans <kevans@FreeBSD.org>
CommitDate: 2026-09-15 14:04:28 +0000
bhyve: tpm: allow the last dword of the CRB command buffer
The bounds check rejected any access ending exactly at the end of the
register block, so a four byte write at offset 0xffc was refused,
returning EINVAL and killing the VM.
MFC after: 1 week
PR: 291063
Fixes: 75909086a45d ("bhyve: allow read/write to full CRB buffer")
Sponsored by: Defenso
Signed-off-by: Quentin Thébault <quentin.thebault@defenso.fr>
Reviewed-by: aokblast, kevans, markj
Pull-Request: https://github.com/freebsd/freebsd-src/pull/2362
usr.sbin/bhyve/tpm_intf_crb.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--
You are receiving this mail because:
You are the assignee for the bug.