CWE
416
Advisory Published
CVE Published
Updated

CVE-2022-0216: Use After Free

First published: Tue Jan 04 2022(Updated: )

A use after free issue was found in the `hw/scsi/lsi53c895a.c` specifically in `lsi_do_msgout` function. `lsi_do_msgout` function is used to receive message from the OS, and do something based on that message. In this case, one message only has one-byte size.

Credit: secalert@redhat.com secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
QEMU qemu<6.0.0
Fedoraproject Fedora=37
ubuntu/qemu<1:2.11+dfsg-1ubuntu7.41
1:2.11+dfsg-1ubuntu7.41
ubuntu/qemu<1:4.2-3ubuntu6.24
1:4.2-3ubuntu6.24
ubuntu/qemu<1:7.0+dfsg-7ubuntu2.1
1:7.0+dfsg-7ubuntu2.1
ubuntu/qemu<2.0.0+dfsg-2ubuntu1.47+
2.0.0+dfsg-2ubuntu1.47+
ubuntu/qemu<1:2.5+dfsg-5ubuntu10.51+
1:2.5+dfsg-5ubuntu10.51+
ubuntu/qemu<1:6.2+dfsg-2ubuntu6.6
1:6.2+dfsg-2ubuntu6.6
debian/qemu<=1:3.1+dfsg-8+deb10u8<=1:5.2+dfsg-11+deb11u2
1:3.1+dfsg-8+deb10u11
1:5.2+dfsg-11+deb11u3
1:7.2+dfsg-7+deb12u3
1:8.2.1+ds-1

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.

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is CVE-2022-0216?

    CVE-2022-0216 is a use-after-free vulnerability found in the LSI53C895A SCSI Host Bus Adapter emulation of QEMU.

  • How does the vulnerability occur?

    The vulnerability occurs while processing repeated messages to cancel the current SCSI request via the lsi_do_msgout function.

  • How can a malicious user exploit this vulnerability?

    A malicious privileged user within the guest can exploit this vulnerability to crash the QEMU process.

  • What is the severity of CVE-2022-0216?

    The severity of CVE-2022-0216 is medium, with a severity value of 4.4.

  • How can I fix the vulnerability?

    To fix the vulnerability, update the affected software to the recommended versions: 1:2.11+dfsg-1ubuntu7.41, 1:4.2-3ubuntu6.24, 1:7.0+dfsg-7ubuntu2.1, 2.0.0+dfsg-2ubuntu1.47+, 1:2.5+dfsg-5ubuntu10.51+, 1:6.2+dfsg-2ubuntu6.6 for Ubuntu and 1:3.1+dfsg-8+deb10u11, 1:5.2+dfsg-11+deb11u3, 1:7.2+dfsg-7+deb12u2, 1:8.1.2+ds-1 for Debian.

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.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203