Skip to content
OpenAdvisories
Unscored CVE-2020-27821 EUVD-2020-20322GHSA-7p47-wfc3-mcqv

A flaw was found in the memory management API of QEMU during the initialization of a memory region cache. This issue could lead to an out-o…

Published Dec 8, 2020 · Updated Aug 4, 2024 · Assigned by redhat

Description

A flaw was found in the memory management API of QEMU during the initialization of a memory region cache. This issue could lead to an out-of-bounds write access to the MSI-X table while performing MMIO operations. A guest user may abuse this flaw to crash the QEMU process on the host, resulting in a denial of service. This flaw affects QEMU versions prior to 5.2.0.

Affected products

VendorProductAffectedFixed
— QEMU prior to 5.2.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 qemu 1:5.2+dfsg-3 —
Debian 13 qemu 1:5.2+dfsg-3 —
Debian 12 qemu 1:5.2+dfsg-3 —
Debian 10 qemu 1:3.1+dfsg-8+deb10u9 DLA-3099-1
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS qemu 1:4.2-3ubuntu6.12 USN-4725-1
Ubuntu 18.04 LTS qemu 1:2.11+dfsg-1ubuntu7.35 USN-4725-1
Ubuntu 16.04 LTS qemu 1:2.5+dfsg-5ubuntu10.49 USN-4725-1
ReleasePackageFixed inAdvisory
RHEL 8 SLOF 20191022-3.git899d9883.module+el8.3.0+6423+e4cb6418 RHSA-2021:1762, RHBA-2021:0639
RHEL 8 hivex +6 1.3.18-20.module+el8.3.0+6124+819ee737 RHSA-2021:1762, RHBA-2021:0639
RHEL 8 libguestfs-winsupport 8.2-1.module+el8.3.0+6124+819ee737 RHSA-2021:1762, RHBA-2021:0639
RHEL 8 libiscsi +2 1.18.0-8.module+el8.1.0+4066+0f1aadab RHSA-2021:1762, RHBA-2021:0639
RHEL 8 libnbd +5 1.2.2-1.module+el8.3.0+7353+9de0a3cc RHSA-2021:1762, RHBA-2021:0639
RHEL 8 libnbd-bash-completion 1.4.0-2.module+el8.3.0+7998+6ff5e5ab RHBA-2021:0639
RHEL 8 libtpms +1 0.7.4-1.20201106git2452a24dab.module+el8.3.1+8772+a3fdeccd RHBA-2021:0639
RHEL 8 libvirt +28 6.0.0-35.module+el8.4.0+10230+7a9b21e4 RHSA-2021:1762, RHBA-2021:0639
RHEL 8 libvirt-dbus 1.3.0-2.module+el8.3.0+6124+819ee737 RHSA-2021:1762, RHBA-2021:0639
RHEL 8 nbdkit +13 1.16.2-4.module+el8.3.0+6922+fd575af8 RHSA-2021:1762, RHBA-2021:0639
RHEL 8 nbdkit-nbd-plugin +4 1.22.0-2.module+el8.3.0+8203+18ecf00e RHBA-2021:0639
RHEL 8 netcf +2 0.2.8-12.module+el8.1.0+4066+0f1aadab RHSA-2021:1762, RHBA-2021:0639
RHEL 8 perl-Sys-Virt +2 6.0.0-1.module+el8.3.0+6423+e4cb6418 RHSA-2021:1762, RHBA-2021:0639
RHEL 8 python-pyvmomi +1 6.7.1-7.module+el8.3.0+6124+819ee737 RHBA-2021:0639
RHEL 8 qemu-img +10 15:4.2.0-48.module+el8.4.0+10368+630e803b RHSA-2021:1762, RHBA-2021:0639
RHEL 8 qemu-kiwi +1 15:5.1.0-20.module+el8.3.1+9918+230f5c26 RHBA-2021:0639
RHEL 8 seabios +2 1.13.0-2.module+el8.3.0+7353+9de0a3cc RHSA-2021:1762, RHBA-2021:0639
RHEL 8 sgabios +1 1:0.20170427git-3.module+el8.1.0+4066+0f1aadab RHSA-2021:1762, RHBA-2021:0639
RHEL 8 supermin +1 5.1.19-10.module+el8.3.0+6423+e4cb6418 RHSA-2021:1762, RHBA-2021:0639
RHEL 8 swtpm +3 0.4.2-1.20201201git2df14e3.module+el8.3.1+9074+e34e3b04 RHBA-2021:0639
RHEL 8 virt-dib +25 1:1.40.2-27.module+el8.4.0+9282+0bdec052 RHSA-2021:1762, RHBA-2021:0639
RHEL 8 virt-v2v-man-pages-ja +2 1:1.42.0-7.module+el8.3.1+9562+c3ede7c6 RHBA-2021:0639

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 8 hivex +6 1.3.18-20.module_el8.3.0+2048+e7a0a3ea ALSA-2021:1762
AlmaLinux 8 libguestfs-winsupport 8.2-1.module_el8.3.0+2048+e7a0a3ea ALSA-2021:1762
AlmaLinux 8 libiscsi +2 1.18.0-8.module_el8.3.0+2048+e7a0a3ea ALSA-2021:1762
AlmaLinux 8 libnbd +5 1.2.2-1.module_el8.3.0+2048+e7a0a3ea ALSA-2021:1762
AlmaLinux 8 libvirt-dbus 1.3.0-2.module_el8.3.0+2048+e7a0a3ea ALSA-2021:1762
AlmaLinux 8 nbdkit +13 1.16.2-4.module_el8.5.0+2608+72063365 ALSA-2021:1762
AlmaLinux 8 netcf +2 0.2.8-12.module_el8.3.0+2048+e7a0a3ea ALSA-2021:1762
AlmaLinux 8 ocaml-libguestfs +1 1:1.40.2-27.module_el8.4.0+2358+630e803b.alma ALSA-2021:1762
AlmaLinux 8 perl-Sys-Virt +1 6.0.0-1.module_el8.3.0+2048+e7a0a3ea ALSA-2021:1762
AlmaLinux 8 seabios +2 1.13.0-2.module_el8.5.0+2608+72063365 ALSA-2021:1762
AlmaLinux 8 sgabios 1:0.20170427git-3.module_el8.3.0+2048+e7a0a3ea ALSA-2021:1762
AlmaLinux 8 sgabios-bin 1:0.20170427git-3.module_el8.5.0+2608+72063365 ALSA-2021:1762
AlmaLinux 8 supermin +1 5.1.19-10.module_el8.5.0+2608+72063365 ALSA-2021:1762

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 hivex 1.3.18-20.module+el8.4.0+534+4680a14e RLSA-2021:1762
Rocky Linux 8 libguestfs 1:1.40.2-27.module+el8.4.0+534+4680a14e RLSA-2021:1762
Rocky Linux 8 libguestfs-winsupport 8.2-1.module+el8.4.0+534+4680a14e RLSA-2021:1762
Rocky Linux 8 libiscsi 1.18.0-8.module+el8.4.0+534+4680a14e RLSA-2021:1762
Rocky Linux 8 libnbd 1.2.2-1.module+el8.4.0+534+4680a14e RLSA-2021:1762
Rocky Linux 8 libvirt 6.0.0-35.module+el8.4.0+534+4680a14e RLSA-2021:1762
Rocky Linux 8 libvirt-dbus 1.3.0-2.module+el8.4.0+534+4680a14e RLSA-2021:1762
Rocky Linux 8 nbdkit 1.16.2-4.module+el8.4.0+534+4680a14e RLSA-2021:1762
Rocky Linux 8 netcf 0.2.8-12.module+el8.4.0+534+4680a14e RLSA-2021:1762
Rocky Linux 8 perl-Sys-Virt +1 6.0.0-1.module+el8.4.0+534+4680a14e RLSA-2021:1762
Rocky Linux 8 qemu-kvm 5:4.2.0-48.module+el8.4.0+534+4680a14e RLSA-2021:1762
Rocky Linux 8 seabios 1.13.0-2.module+el8.4.0+534+4680a14e RLSA-2021:1762
Rocky Linux 8 sgabios 1:0.20170427git-3.module+el8.4.0+534+4680a14e RLSA-2021:1762
Rocky Linux 8 supermin 5.1.19-10.module+el8.4.0+534+4680a14e RLSA-2021:1762
ReleasePackageFixed inAdvisory
SLES 15 SP3 qemu 5.2.0-17.1 SUSE-SU-2021:1942-1
SLES 15 SP2 qemu 4.2.1-11.16.3 SUSE-SU-2021:1243-1
SLES 15 SP1 qemu 3.1.1.1-9.24.3 SUSE-SU-2021:1245-1
SLES 12 SP5 qemu 3.1.1.1-48.2 SUSE-SU-2021:1242-1
Show 8 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP1 qemu 3.1.1.1-9.24.3 SUSE-SU-2021:1245-1
SLES for SAP 12 SP5 qemu 3.1.1.1-48.2 SUSE-SU-2021:1242-1
SLE Micro 5.0 qemu 4.2.1-11.16.3 SUSE-SU-2021:1243-1
SLE HPC 15 SP1 qemu 3.1.1.1-9.24.3 SUSE-SU-2021:1245-1
SUSE Manager Server 4.0 qemu 3.1.1.1-9.24.3 SUSE-SU-2021:1245-1
SUSE Manager Retail Branch Server 4.0 qemu 3.1.1.1-9.24.3 SUSE-SU-2021:1245-1
SUSE Manager Proxy 4.0 qemu 3.1.1.1-9.24.3 SUSE-SU-2021:1245-1
SUSE Enterprise Storage 6 qemu 3.1.1.1-9.24.3 SUSE-SU-2021:1245-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed qemu 6.1.0-32.1 openSUSE-SU-2024:11287-1
openSUSE Leap 15.3 qemu 5.2.0-17.1 openSUSE-SU-2021:1942-1
openSUSE Leap 15.2 qemu +2 4.2.1-lp152.9.12.1 openSUSE-SU-2021:0600-1
ReleasePackageFixed inAdvisory
Alpine v3.24 qemu 5.2.0-r0 —
Alpine v3.23 qemu 5.2.0-r0 —
Alpine v3.22 qemu 5.2.0-r0 —
Alpine v3.21 qemu 5.2.0-r0 —
Alpine v3.20 qemu 5.2.0-r0 —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 qemu 5.2.0-r0 —
Alpine v3.18 qemu 5.2.0-r0 —
Alpine v3.17 qemu 5.2.0-r0 —
Alpine v3.16 qemu 5.2.0-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 qemu +26 10:3.1.0-8.amzn2.0.8 ALAS2-2021-1671

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 hivex +6 1.3.18-20.module+el8.3.0+7860+a7792d29 ELSA-2021-9568, ELSA-2021-1762
Oracle Linux 8 libguestfs-winsupport 8.2-1.module+el8.3.0+7860+a7792d29 ELSA-2021-9568, ELSA-2021-1762
Oracle Linux 8 libiscsi +2 1.18.0-8.module+el8.3.0+7860+a7792d29 ELSA-2021-9568, ELSA-2021-1762
Oracle Linux 8 libnbd +5 1.2.2-1.module+el8.3.0+7860+a7792d29 ELSA-2021-9568, ELSA-2021-1762
Oracle Linux 8 libvirt +29 5.7.0-31.module+el8.4.0+20319+6eb4347c ELSA-2021-9568, ELSA-2021-1762
Oracle Linux 8 libvirt-dbus 1.3.0-2.module+el8.3.0+7860+a7792d29 ELSA-2021-9568, ELSA-2021-1762
Oracle Linux 8 nbdkit +13 1.16.2-4.0.1.module+el8.3.0+7860+a7792d29 ELSA-2021-9568, ELSA-2021-1762
Oracle Linux 8 netcf +2 0.2.8-12.module+el8.3.0+7860+a7792d29 ELSA-2021-9568, ELSA-2021-1762
Oracle Linux 8 ocaml-libguestfs +1 1:1.40.2-27.0.1.module+el8.4.0+20093+03a97712 ELSA-2021-1762
Oracle Linux 8 perl-Sys-Virt 4.5.0-5.module+el8.4.0+20319+6eb4347c ELSA-2021-9568, ELSA-2021-1762
Oracle Linux 8 qemu-img +10 15:4.2.0-48.module+el8.4.0+20158+f6690737 ELSA-2021-9568, ELSA-2021-1762
Oracle Linux 8 seabios +2 1.13.0-2.module+el8.3.0+7860+a7792d29 ELSA-2021-9568, ELSA-2021-1762
Oracle Linux 8 sgabios +1 1:0.20170427git-3.module+el8.3.0+7860+a7792d29 ELSA-2021-9568, ELSA-2021-1762
Oracle Linux 8 supermin +1 5.1.19-10.module+el8.3.0+7860+a7792d29 ELSA-2021-9568, ELSA-2021-1762
Oracle Linux 8 virt-dib +23 1:1.40.2-25.0.1.module+el8.4.0+20319+6eb4347c ELSA-2021-9568, ELSA-2021-1762
Oracle Linux 7 qemu +12 15:4.2.1-9.el7 ELSA-2021-9285

Advisories 18

References