vulnerability

FreeBSD: VID-56d76414-6b50-11ef-9a62-002590c1f29c (CVE-2024-41928): FreeBSD -- bhyve(8) privileged guest escape via TPM device passthrough

Severity
7
CVSS
(AV:L/AC:L/Au:N/C:C/I:C/A:C)
Published
Sep 5, 2024
Added
Sep 6, 2024
Modified
Dec 10, 2025

Description

Problem Description: bhyve can be configured to provide access to the host's TPM device, where it passes the communication through an emulated device provided to the guest. This may be performed on the command-line by starting bhyve with the `-l tpm,passthru,/dev/tpmX` parameters. The MMIO handler for the emulated device did not validate the offset and size of the memory access correctly, allowing guests to read and write memory contents outside of the memory area effectively allocated. Impact: Malicious software running in a guest VM can exploit the buffer overflow to achieve code execution on the host in the bhyve userspace process, which typically runs as root. Note that bhyve runs in a Capsicum sandbox, so malicious code is constrained by the capabilities available to the bhyve process.

Solutions

freebsd-upgrade-base-14_1-release-p4freebsd-upgrade-base-14_0-release-p10
Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.