CVE-2024-45063

CVE-2024-45063: Multiple issues in ctl(4) CAM Target Layer

Vendor Freebsd
Product FreeBSD
Weakness CWE-416
Published September 5, 2024
Last update November 4, 2025

CVSS base score

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

September 5, 2024 CVE published
November 4, 2025 Record updated