CVE-2024-45063: Freebsd

High severity, CVSS 8.8. EPSS: 0.5% chance of exploitation in the next 30 days.

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 products

  • Freebsd Freebsd: from 13.0, before 13.3 (fixed in 13.3); version 13.3 only; version 13.4 only; version 14.0 only; version 14.1 only

Published 2024-09-05. Last modified 2026-06-17.