CVE-2024-45063: Multiple issues in ctl(4) CAM Target Layer
The function ctlwritebuffer 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 virtioscsi 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 Software
Event History
Frequently Asked Questions
What is the severity of CVE-2024-45063?
CVE-2024-45063 has a critical severity due to its potential for code execution in the host environment.
How do I fix CVE-2024-45063?
To address CVE-2024-45063, it's essential to install the latest patches provided by FreeBSD for the affected versions.
Which versions of FreeBSD are affected by CVE-2024-45063?
CVE-2024-45063 affects FreeBSD versions 13.0 up to 14.1, including specific patch releases.
What type of vulnerability is CVE-2024-45063?
CVE-2024-45063 is categorized as a Use-After-Free vulnerability impacting the kernel.
Can CVE-2024-45063 be exploited remotely?
Yes, CVE-2024-45063 can be exploited remotely by malicious software running in a guest VM that exposes virtio_scsi.