CVE-2024-45063

published 5 Sep 2024 · updated 4 Nov 2025

Multiple issues in ctl(4) CAM Target Layer

9.8CriticalCVSS 9.8EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in p6, p10 and p4.

The function ctl_write_buffer incorrectly set a flag which resulted in a kernel Use-After-Free when a command finished processing. 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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
FreeBSD>=13.3-RELEASE <p6, >=14.0-RELEASE <p10, >=14.1-RELEASE <p4p6, p10, p4

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-45063 severity on Zeptric[![CVE-2024-45063](https://zeptric.io/badge/cve/CVE-2024-45063.svg)](https://zeptric.io/cve/CVE-2024-45063)