7.8
CWE
362
Advisory Published
Updated

CVE-2019-5612: Race Condition

First published: Thu Aug 29 2019(Updated: )

In FreeBSD 12.0-STABLE before r351264, 12.0-RELEASE before 12.0-RELEASE-p10, 11.3-STABLE before r351265, 11.3-RELEASE before 11.3-RELEASE-p3, and 11.2-RELEASE before 11.2-RELEASE-p14, the kernel driver for /dev/midistat implements a read handler that is not thread-safe. A multi-threaded program can exploit races in the handler to copy out kernel memory outside the boundaries of midistat's data buffer.

Credit: secteam@freebsd.org

Affected SoftwareAffected VersionHow to fix
FreeBSD Kernel=11.2
FreeBSD Kernel=11.2-p10
FreeBSD Kernel=11.2-p11
FreeBSD Kernel=11.2-p12
FreeBSD Kernel=11.2-p13
FreeBSD Kernel=11.2-p2
FreeBSD Kernel=11.2-p3
FreeBSD Kernel=11.2-p4
FreeBSD Kernel=11.2-p5
FreeBSD Kernel=11.2-p6
FreeBSD Kernel=11.2-p7
FreeBSD Kernel=11.2-p8
FreeBSD Kernel=11.2-p9
FreeBSD Kernel=11.3
FreeBSD Kernel=11.3
FreeBSD Kernel=11.3-p1
FreeBSD Kernel=11.3-p2
FreeBSD Kernel=11.3-p3
FreeBSD Kernel=12.0
FreeBSD Kernel=12.0-p1
FreeBSD Kernel=12.0-p3
FreeBSD Kernel=12.0-p4
FreeBSD Kernel=12.0-p5
FreeBSD Kernel=12.0-p8
IBM Data ONTAP

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-2019-5612?

    CVE-2019-5612 has a high severity due to its potential exploitation in multi-threaded environments.

  • How do I fix CVE-2019-5612?

    To fix CVE-2019-5612, upgrade to the patched versions of FreeBSD that include the necessary security updates.

  • Which FreeBSD versions are affected by CVE-2019-5612?

    CVE-2019-5612 affects FreeBSD versions 11.2 before p14, 11.3 before p3, and 12.0 before p10.

  • What type of vulnerability is CVE-2019-5612?

    CVE-2019-5612 is a thread safety issue related to the kernel driver for /dev/midistat.

  • Can CVE-2019-5612 be exploited remotely?

    CVE-2019-5612 requires a local context for exploitation and is not a remote vulnerability.

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