CVE Database
/

CVE-2024-8178

Back to search

CVE-2024-8178

Published: Sep 5, 2024

Modified: Nov 4, 2025

PUBLISHED

Description

The ctl_write_buffer and ctl_read_buffer functions allocated memory to be returned to userspace, without initializing it. Malicious software running in a guest VM that exposes virtio_scsi can exploit the vulnerabilities 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. A malicious iSCSI initiator could achieve remote code execution on the iSCSI target host.

VendorProductVersions

FreeBSD

FreeBSD

affected
14.1-RELEASE - < p4
affected
14.0-RELEASE - < p10
affected
13.3-RELEASE - < p6

Weaknesses (CWE)

Security Training

Train your team to recognize and prevent security threats with our comprehensive security awareness program.

Start Training

Vulnerability Scanning

Discover vulnerabilities in your applications and infrastructure before attackers do.

Scan Now