CVE-2021-3392
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 mptsas_free_request() 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.
What to do
Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 20.04 | qemu | Fixed | 1:4.2-3ubuntu6.17 | UBUNTU-CVE-2021-3392 |
| Ubuntu 18.04 | qemu | Fixed | 1:2.11+dfsg-1ubuntu7.37 | UBUNTU-CVE-2021-3392 |
| Ubuntu 16.04 | qemu | Fix pending | ||
| Debian 14 | qemu | Fixed | 1:5.2+dfsg-10 | DEBIAN-CVE-2021-3392 |
| Debian 13 | qemu | Fixed | 1:5.2+dfsg-10 | DEBIAN-CVE-2021-3392 |
| Debian 12 | qemu | Fixed | 1:5.2+dfsg-10 | DEBIAN-CVE-2021-3392 |
| Red Hat Enterprise Linux 8 | qemu-guest-agent | Not affected | ||
| Red Hat Enterprise Linux 8 | qemu-img | Not affected | ||
| Red Hat Enterprise Linux 8 | qemu-kvm | Not affected | ||
| Red Hat Enterprise Linux 8 | qemu-kvm-block-curl | Not affected | ||
| Red Hat Enterprise Linux 8 | qemu-kvm-block-gluster | Not affected | ||
| Red Hat Enterprise Linux 8 | qemu-kvm-block-iscsi | Not affected | ||
| Red Hat Enterprise Linux 8 | qemu-kvm-block-rbd | Not affected | ||
| Red Hat Enterprise Linux 8 | qemu-kvm-block-ssh | Not affected | ||
| Red Hat Enterprise Linux 8 | qemu-kvm-common | Not affected | ||
| Red Hat Enterprise Linux 8 | qemu-kvm-core | Not affected | ||
| Red Hat Enterprise Linux 8 | qemu-kvm-docs | Not affected | ||
| Red Hat Enterprise Linux 8 | qemu-kvm-hw-usbredir | Not affected | ||
| Red Hat Enterprise Linux 8 | qemu-kvm-tests | Not affected | ||
| Red Hat Enterprise Linux 8 | qemu-kvm-ui-opengl | Not affected | ||
| Red Hat Enterprise Linux 8 | qemu-kvm-ui-spice | Not affected | ||
| Red Hat Enterprise Linux 7 | libcacard | Not affected | ||
| Red Hat Enterprise Linux 7 | libcacard-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | libcacard-tools | Not affected | ||
| Red Hat Enterprise Linux 7 | qemu-guest-agent | Not affected | ||
| Red Hat Enterprise Linux 7 | qemu-img | Not affected | ||
| Red Hat Enterprise Linux 7 | qemu-img-ma | Not affected | ||
| Red Hat Enterprise Linux 7 | qemu-kvm | Not affected | ||
| Red Hat Enterprise Linux 7 | qemu-kvm-common | Not affected | ||
| Red Hat Enterprise Linux 7 | qemu-kvm-common-ma | Not affected | ||
| Red Hat Enterprise Linux 7 | qemu-kvm-ma | Not affected | ||
| Red Hat Enterprise Linux 7 | qemu-kvm-rhev | Not affected | ||
| Red Hat Enterprise Linux 7 | qemu-kvm-tools | Not affected | ||
| Red Hat Enterprise Linux 7 | qemu-kvm-tools-ma | Not affected | ||
| Red Hat Enterprise Linux 6 | qemu-guest-agent | Not affected | ||
| Red Hat Enterprise Linux 6 | qemu-guest-agent-win32 | Not affected | ||
| Red Hat Enterprise Linux 6 | qemu-img | Not affected | ||
| Red Hat Enterprise Linux 6 | qemu-kvm | Not affected | ||
| Red Hat Enterprise Linux 6 | qemu-kvm-tools | Not affected | ||
| Red Hat Enterprise Linux 5 | kernel-xen | Not affected | ||
| Red Hat Enterprise Linux 5 | kvm | Not affected | ||
| Alpine Linux 3.24 | qemu | Fixed | 6.0.0-r1 | ALPINE-CVE-2021-3392 |
| Alpine Linux 3.23 | qemu | Fixed | 6.0.0-r1 | ALPINE-CVE-2021-3392 |
| Alpine Linux 3.22 | qemu | Fixed | 6.0.0-r1 | ALPINE-CVE-2021-3392 |
| Alpine Linux 3.21 | qemu | Fixed | 6.0.0-r1 | ALPINE-CVE-2021-3392 |
| Alpine Linux 3.20 | qemu | Fixed | 6.0.0-r1 | ALPINE-CVE-2021-3392 |
| Alpine Linux 3.19 | qemu | Fixed | 6.0.0-r1 | ALPINE-CVE-2021-3392 |
| Alpine Linux 3.18 | qemu | Fixed | 6.0.0-r1 | ALPINE-CVE-2021-3392 |
| Alpine Linux 3.17 | qemu | Fixed | 6.0.0-r1 | ALPINE-CVE-2021-3392 |
| Alpine Linux 3.16 | qemu | Fixed | 6.0.0-r1 | ALPINE-CVE-2021-3392 |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- QEMU: affected: between 2.10.0 and 5.2.0
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1924042
- https://bugs.launchpad.net/qemu/+bug/1914236
- https://lists.debian.org/debian-lts-announce/2021/04/msg00009.html
- https://security.netapp.com/advisory/ntap-20210507-0001/
- https://lists.debian.org/debian-lts-announce/2022/09/msg00008.html
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.