CVE-2024-8178 - CVE House
Back to Database
Status published Unknown CVE-2024-8178

Multiple issues in ctl(4) CAM Target Layer

Vulnerability 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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2024-8178

Credits & Attribution

The following person or organization is credited with identifying this vulnerability, as recorded in the NVD database:

  • Synacktiv
  • The FreeBSD Foundation
  • The Alpha-Omega Project

Affected Vendor

Affected Software

FreeBSD
Vulnerable Versions:
14.1-RELEASE, 14.0-RELEASE, 13.3-RELEASE

Timeline

Official Publish: September 5th, 2024
Last Modified: November 4th, 2025
Added to House: July 22nd, 2026

CVSS Vectors

No vector data available

Weaknesses (CWE)