8.8
CWE
790 823 1284
Advisory Published
Updated

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

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 SoftwareAffected VersionHow 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

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2024-42416?

    CVE-2024-42416 has been classified with a high severity due to its potential for arbitrary write access to kernel help memory.

  • How do I fix CVE-2024-42416?

    To fix CVE-2024-42416, update your FreeBSD system to the latest stable version that includes the patch for this vulnerability.

  • What systems are affected by CVE-2024-42416?

    CVE-2024-42416 affects various versions of FreeBSD including 13.0 to 13.3 and specific patched versions of 14.0 and 14.1.

  • What exploitation vector exists for CVE-2024-42416?

    CVE-2024-42416 can be exploited by malicious software running in a guest VM that exposes virtio_scsi.

  • What impact can CVE-2024-42416 have on a FreeBSD system?

    CVE-2024-42416 can lead to unauthorized modifications within limited kernel help memory, potentially compromising system integrity.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203