Description
The ctl_report_supported_opcodes function did not sufficiently validate a field provided by userspace, allowing an arbitrary write to a limited amount of kernel help memory.
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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| FreeBSD | FreeBSD | 14.1-RELEASE – < p4, 14.0-RELEASE – < p10, 13.3-RELEASE – < p6 | p4 |
Advisories 1
- WID-SEC-2024-2056 FreeBSD Project FreeBSD OS: Mehrere Schwachstellen ermöglichen Privilegieneskalation und Codeausführung BSI CERT-Bund (WID) · Dec 4, 2024
References
- https://security.freebsd.org/advisories/FreeBSD-SA-24:11.ctl.asc vendor-advisory