CVE-2024-8178
published critical CVSS 3.1 · 9.3Multiple issues in ctl(4) CAM Target Layer
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| FreeBSD | — | FreeBSD14.1-RELEASE to < p4 · 14.0-RELEASE to < p10 · 13.3-RELEASE to < p6 · Other versions: unknown | Affected | Not stated | freebsd |
| freebsd | — | freebsd14.1 to < 14.1_p4 · 14.0 to < 14.0_p10 · 13.3 to < 13.3_p6 · Other versions: unknown | Affected | Not stated | CISA-ADP |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.3 / 10
- Severity
- critical
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| FreeBSD | FreeBSD | 14.1-RELEASE to < p4 (affected · release)14.0-RELEASE to < p10 (affected · release)13.3-RELEASE to < p6 (affected · release)Default: unknown | freebsd · cna |
| freebsd | freebsd | 14.1 to < 14.1_p4 (affected · custom)14.0 to < 14.0_p10 (affected · custom)13.3 to < 13.3_p6 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
2- CWE-908 CWE-908 Use of Uninitialized Resource
- CWE-909 CWE-909 Missing Initialization of Resource
References
2Provider assertions
3freebsd · cna
Multiple issues in ctl(4) CAM Target Layer
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- acadf6582ceca79d455e0d2868aa871338899da810756f5462c00b4923c07ea5
- Ingested
- 23 Sep 2026, 08:34:06 UTC
- Source record
- Official CVE record