CVE-2021-3392: Use After Free

Published Feb 2, 2021
·
Updated

A use-after-free flaw was found in the MegaRAID emulator of QEMU. This issue occurs while processing SCSI I/O requests in the case of an error mptsasfreerequest() that does not dequeue the request object 'req' from a pending requests queue. This flaw allows a privileged guest user to crash the QEMU process on the host, resulting in a denial of service. Versions between 2.10.0 and 5.2.0 are potentially affected.

Other sources

A use-after-free issue was found in the Megaraid emulator of the QEMU. It occurs while processing SCSI i/o requests because in case of an error mptsasfreerequest() does not dequeue request object 'req' from a pending requests' queue. Which later gets processed resulting in the said use-after-free issue. A privileged guest user may use this flaw to crash the QEMU process on the host resulting in DoS scenario.

Upstream patch: --------------- -> https://lists.gnu.org/archive/html/qemu-devel/2021-02/msg00488.html

Red Hat

Affected Software

6 affected componentsFixes available
redhat/qemu<6.0.0
6.0.0
Qemu Qemu>=2.10.0<=5.2.0
Fedoraproject Fedora=33
Debian Debian Linux=9.0
Debian Debian Linux=10.0
debian/qemu
1:5.2+dfsg-11+deb11u31:5.2+dfsg-11+deb11u21:7.2+dfsg-7+deb12u121:10.0.0~rc2+ds-21:10.0.0~rc3+ds-2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/qemu to a version that resolves this vulnerability.

    Fixed in 6.0.0
  2. Upgrade

    Upgrade debian/qemu to a version that resolves this vulnerability.

    Fixed in 1:5.2+dfsg-11+deb11u3Fixed in 1:5.2+dfsg-11+deb11u2Fixed in 1:7.2+dfsg-7+deb12u12Fixed in 1:10.0.0~rc2+ds-2Fixed in 1:10.0.0~rc3+ds-2

Event History

Mar 23, 2021
CVE Published
via MITRE·07:07 PM
Data Sourced
via MITRE·07:07 PM
DescriptionWeakness
Data Sourced
via NVD·08:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jan 11, 2024
Data Sourced
via Launchpad·11:57 PM
Description
Sep 16, 2024
Data Sourced
via Ubuntu·02:33 AM
RemedyDescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2021-3392?

CVE-2021-3392 is a use-after-free flaw found in the MegaRAID emulator of QEMU.

2

How does CVE-2021-3392 affect QEMU?

CVE-2021-3392 affects QEMU by causing a crash when processing SCSI I/O requests in the case of an error.

3

What is the severity of CVE-2021-3392?

The severity of CVE-2021-3392 is low with a CVSS score of 3.2.

4

How can I fix CVE-2021-3392 in QEMU?

To fix CVE-2021-3392 in QEMU, update to version 6.0.0 or apply the provided security patches by the respective vendors.

5

Where can I find more information about CVE-2021-3392?

More information about CVE-2021-3392 can be found on the MITRE CVE website, the QEMU-devel mailing list, and the Ubuntu Security Notices website.

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