CVEfocus › CVE database › CVE-2021-3392

CVE-2021-3392

CVSS 3.2 LowEPSS 0.4% (higher than 31% of CVEs)Published 2021-03-23Updated 2024-08-03Assigner: redhat

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.

CWE-416

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

14Fixed
1Fix pending
35Not affected

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 20.04qemuFixed1:4.2-3ubuntu6.17UBUNTU-CVE-2021-3392
Ubuntu 18.04qemuFixed1:2.11+dfsg-1ubuntu7.37UBUNTU-CVE-2021-3392
Ubuntu 16.04qemuFix pending
Debian 14qemuFixed1:5.2+dfsg-10DEBIAN-CVE-2021-3392
Debian 13qemuFixed1:5.2+dfsg-10DEBIAN-CVE-2021-3392
Debian 12qemuFixed1:5.2+dfsg-10DEBIAN-CVE-2021-3392
Red Hat Enterprise Linux 8qemu-guest-agentNot affected
Red Hat Enterprise Linux 8qemu-imgNot affected
Red Hat Enterprise Linux 8qemu-kvmNot affected
Red Hat Enterprise Linux 8qemu-kvm-block-curlNot affected
Red Hat Enterprise Linux 8qemu-kvm-block-glusterNot affected
Red Hat Enterprise Linux 8qemu-kvm-block-iscsiNot affected
Red Hat Enterprise Linux 8qemu-kvm-block-rbdNot affected
Red Hat Enterprise Linux 8qemu-kvm-block-sshNot affected
Red Hat Enterprise Linux 8qemu-kvm-commonNot affected
Red Hat Enterprise Linux 8qemu-kvm-coreNot affected
Red Hat Enterprise Linux 8qemu-kvm-docsNot affected
Red Hat Enterprise Linux 8qemu-kvm-hw-usbredirNot affected
Red Hat Enterprise Linux 8qemu-kvm-testsNot affected
Red Hat Enterprise Linux 8qemu-kvm-ui-openglNot affected
Red Hat Enterprise Linux 8qemu-kvm-ui-spiceNot affected
Red Hat Enterprise Linux 7libcacardNot affected
Red Hat Enterprise Linux 7libcacard-develNot affected
Red Hat Enterprise Linux 7libcacard-toolsNot affected
Red Hat Enterprise Linux 7qemu-guest-agentNot affected
Red Hat Enterprise Linux 7qemu-imgNot affected
Red Hat Enterprise Linux 7qemu-img-maNot affected
Red Hat Enterprise Linux 7qemu-kvmNot affected
Red Hat Enterprise Linux 7qemu-kvm-commonNot affected
Red Hat Enterprise Linux 7qemu-kvm-common-maNot affected
Red Hat Enterprise Linux 7qemu-kvm-maNot affected
Red Hat Enterprise Linux 7qemu-kvm-rhevNot affected
Red Hat Enterprise Linux 7qemu-kvm-toolsNot affected
Red Hat Enterprise Linux 7qemu-kvm-tools-maNot affected
Red Hat Enterprise Linux 6qemu-guest-agentNot affected
Red Hat Enterprise Linux 6qemu-guest-agent-win32Not affected
Red Hat Enterprise Linux 6qemu-imgNot affected
Red Hat Enterprise Linux 6qemu-kvmNot affected
Red Hat Enterprise Linux 6qemu-kvm-toolsNot affected
Red Hat Enterprise Linux 5kernel-xenNot affected
Red Hat Enterprise Linux 5kvmNot affected
Alpine Linux 3.24qemuFixed6.0.0-r1ALPINE-CVE-2021-3392
Alpine Linux 3.23qemuFixed6.0.0-r1ALPINE-CVE-2021-3392
Alpine Linux 3.22qemuFixed6.0.0-r1ALPINE-CVE-2021-3392
Alpine Linux 3.21qemuFixed6.0.0-r1ALPINE-CVE-2021-3392
Alpine Linux 3.20qemuFixed6.0.0-r1ALPINE-CVE-2021-3392
Alpine Linux 3.19qemuFixed6.0.0-r1ALPINE-CVE-2021-3392
Alpine Linux 3.18qemuFixed6.0.0-r1ALPINE-CVE-2021-3392
Alpine Linux 3.17qemuFixed6.0.0-r1ALPINE-CVE-2021-3392
Alpine Linux 3.16qemuFixed6.0.0-r1ALPINE-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.

References

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.