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

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.52%, higher than 45% of CVEs (2026-12-01)
- Published: 2024-09-05T04:31:22.649Z
- Modified: 2026-06-17T07:53:31.130Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: freebsd

## Description

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.

(As written by CVE List.)

## Affected

- FreeBSD FreeBSD: from 14.1-RELEASE before p4; from 14.0-RELEASE before p10; from 13.3-RELEASE before p6; from 14.1 before 14.1_p4; from 14.0 before 14.0_p10; from 13.3 before 13.3_p6; from 13.0 before 13.3; 13.3; 13.4; 14.0; 14.1

## Every score

- CISA-ADP: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`

## References

- <https://security.freebsd.org/advisories/FreeBSD-SA-24:11.ctl.asc> (vendor-advisory)
- <https://security.netapp.com/advisory/ntap-20240920-0010/>

## Sources

- CVE List: [CVE-2024-45063](https://www.cve.org/CVERecord?id=CVE-2024-45063), CVE Terms of Use, modified 2025-11-04
- NVD: [CVE-2024-45063](https://nvd.nist.gov/vuln/detail/CVE-2024-45063), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-45063 · Whole record: https://cve.day/CVE-2024-45063.json · Rebuilt by cve.day 2026-11-25T22:58:45.110Z
