First published: Thu Sep 05 2024(Updated: )
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.
Credit: secteam@freebsd.org
Affected Software | Affected Version | How to fix |
---|---|---|
FreeBSD Kernel | >=13.0<13.3 | |
FreeBSD Kernel | =13.3 | |
FreeBSD Kernel | =13.3-p1 | |
FreeBSD Kernel | =13.3-p2 | |
FreeBSD Kernel | =13.3-p3 | |
FreeBSD Kernel | =13.3-p4 | |
FreeBSD Kernel | =13.3-p5 | |
FreeBSD Kernel | =13.4-beta3 | |
FreeBSD Kernel | =14.0 | |
FreeBSD Kernel | =14.0-beta5 | |
FreeBSD Kernel | =14.0-p1 | |
FreeBSD Kernel | =14.0-p2 | |
FreeBSD Kernel | =14.0-p3 | |
FreeBSD Kernel | =14.0-p4 | |
FreeBSD Kernel | =14.0-p5 | |
FreeBSD Kernel | =14.0-p6 | |
FreeBSD Kernel | =14.0-p7 | |
FreeBSD Kernel | =14.0-p8 | |
FreeBSD Kernel | =14.0-p9 | |
FreeBSD Kernel | =14.0-rc3 | |
FreeBSD Kernel | =14.0-rc4-p1 | |
FreeBSD Kernel | =14.1 | |
FreeBSD Kernel | =14.1-p1 | |
FreeBSD Kernel | =14.1-p2 | |
FreeBSD Kernel | =14.1-p3 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2024-42416 has been classified with a high severity due to its potential for arbitrary write access to kernel help memory.
To fix CVE-2024-42416, update your FreeBSD system to the latest stable version that includes the patch for this vulnerability.
CVE-2024-42416 affects various versions of FreeBSD including 13.0 to 13.3 and specific patched versions of 14.0 and 14.1.
CVE-2024-42416 can be exploited by malicious software running in a guest VM that exposes virtio_scsi.
CVE-2024-42416 can lead to unauthorized modifications within limited kernel help memory, potentially compromising system integrity.