Skip to content
OpenAdvisories
Unscored CVE-2021-3416 EUVD-2021-26744GHSA-g3hx-jv57-3ffr

A potential stack overflow via infinite loop issue was found in various NIC emulators of QEMU in versions up to and including 5.2.0. The is…

Published Mar 18, 2021 · Updated Aug 3, 2024 · Assigned by redhat

Description

A potential stack overflow via infinite loop issue was found in various NIC emulators of QEMU in versions up to and including 5.2.0. The issue occurs in loopback mode of a NIC wherein reentrant DMA checks get bypassed. A guest user/process may use this flaw to consume CPU cycles or crash the QEMU process on the host resulting in DoS scenario.

Affected products

VendorProductAffectedFixed
— QEMU versions up to and including 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-9 —
Debian 13 qemu 1:5.2+dfsg-9 —
Debian 12 qemu 1:5.2+dfsg-9 —
Debian 10 qemu 1:3.1+dfsg-8+deb10u9 DLA-3099-1
Debian 9 qemu 1:2.8+dfsg-6+deb9u14 DLA-2623-1
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS qemu 1:4.2-3ubuntu6.17 USN-5010-1
Ubuntu 18.04 LTS qemu 1:2.11+dfsg-1ubuntu7.37 USN-5010-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS qemu 1:2.5+dfsg-5ubuntu10.51+esm4 —
Ubuntu Pro 14.04 LTS qemu 2.0.0+dfsg-2ubuntu1.47+esm6 —
ReleasePackageFixed inAdvisory
RHEL 8 SLOF 20191022-3.git899d9883.module+el8.3.0+6423+e4cb6418 RHSA-2021:3703, RHSA-2021:3061
RHEL 8 hivex +6 1.3.18-21.module+el8.4.0+10770+19c037f9 RHSA-2021:3703, RHSA-2021:3061
RHEL 8 libguestfs-winsupport 8.2-1.module+el8.3.0+6423+e4cb6418 RHSA-2021:3703, RHSA-2021:3061
RHEL 8 libiscsi +2 1.18.0-8.module+el8.1.0+4066+0f1aadab RHSA-2021:3703, RHSA-2021:3061
RHEL 8 libnbd +5 1.2.2-1.module+el8.3.0+7353+9de0a3cc RHSA-2021:3703, RHSA-2021:3061
RHEL 8 libnbd-bash-completion 1.6.0-3.module+el8.4.0+9856+bbc47853 RHSA-2021:3703
RHEL 8 libtpms +1 0.7.4-4.20201106git2452a24dab.module+el8.4.0+10596+32ba7df3 RHSA-2021:3703
RHEL 8 libvirt +28 6.0.0-35.1.module+el8.4.0+11273+64eb94ef RHSA-2021:3703, RHSA-2021:3061
RHEL 8 libvirt-dbus 1.3.0-2.module+el8.3.0+6423+e4cb6418 RHSA-2021:3703, RHSA-2021:3061
RHEL 8 libvirt-wireshark 7.0.0-14.4.module+el8.4.0+12413+d23780e6 RHSA-2021:3703
RHEL 8 nbdkit +13 1.16.2-4.module+el8.3.0+6922+fd575af8 RHSA-2021:3703, RHSA-2021:3061
RHEL 8 nbdkit-nbd-plugin +4 1.24.0-1.module+el8.4.0+9341+96cf2672 RHSA-2021:3703
RHEL 8 netcf +2 0.2.8-12.module+el8.1.0+4066+0f1aadab RHSA-2021:3703, RHSA-2021:3061
RHEL 8 perl-Sys-Virt +2 6.0.0-1.module+el8.3.0+6423+e4cb6418 RHSA-2021:3703, RHSA-2021:3061
RHEL 8 python-pyvmomi +1 6.7.1-7.module+el8.4.0+8855+a9e237a9 RHSA-2021:3703
RHEL 8 qemu-img +10 15:4.2.0-48.module+el8.4.0+11909+3300d70f.3 RHSA-2021:3703, RHSA-2021:3061
RHEL 8 qemu-kiwi +3 15:5.2.0-16.module+el8.4.0+12596+209e4022.10 RHSA-2021:3703
RHEL 8 seabios +2 1.13.0-2.module+el8.3.0+7353+9de0a3cc RHSA-2021:3703, RHSA-2021:3061
RHEL 8 sgabios +1 1:0.20170427git-3.module+el8.1.0+4066+0f1aadab RHSA-2021:3703, RHSA-2021:3061
RHEL 8 supermin +1 5.1.19-10.module+el8.3.0+6423+e4cb6418 RHSA-2021:3703, RHSA-2021:3061
RHEL 8 swtpm +3 0.4.2-1.20201201git2df14e3.module+el8.4.0+9341+96cf2672 RHSA-2021:3703
RHEL 8 virt-dib +25 1:1.40.2-27.module+el8.4.0+9282+0bdec052 RHSA-2021:3703, RHSA-2021:3061
RHEL 8 virt-v2v-man-pages-ja +2 1:1.42.0-9.module+el8.4.0+9561+069bb9c1 RHSA-2021:3703

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 8 libguestfs-winsupport 8.2-1.module_el8.5.0+2608+72063365 ALSA-2021:3061
AlmaLinux 8 libiscsi +2 1.18.0-8.module_el8.5.0+2608+72063365 ALSA-2021:3061
AlmaLinux 8 libnbd +3 1.2.2-1.module_el8.5.0+2608+72063365 ALSA-2021:3061
AlmaLinux 8 libvirt-dbus 1.3.0-2.module_el8.5.0+2608+72063365 ALSA-2021:3061
AlmaLinux 8 nbdkit +13 1.16.2-4.module_el8.5.0+2608+72063365 ALSA-2021:3061
AlmaLinux 8 netcf +2 0.2.8-12.module_el8.5.0+2608+72063365 ALSA-2021:3061
AlmaLinux 8 perl-Sys-Virt +1 6.0.0-1.module_el8.5.0+2608+72063365 ALSA-2021:3061
AlmaLinux 8 seabios +2 1.13.0-2.module_el8.5.0+2608+72063365 ALSA-2021:3061
AlmaLinux 8 sgabios +1 1:0.20170427git-3.module_el8.5.0+2608+72063365 ALSA-2021:3061
AlmaLinux 8 supermin +1 5.1.19-10.module_el8.5.0+2608+72063365 ALSA-2021:3061

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 hivex 1.3.18-21.module+el8.4.0+642+7e26f5e1 RLSA-2021:3061
Rocky Linux 8 libguestfs 1:1.40.2-27.module+el8.4.0+534+4680a14e RLSA-2021:3061
Rocky Linux 8 libguestfs-winsupport 8.2-1.module+el8.4.0+534+4680a14e RLSA-2021:3061
Rocky Linux 8 libiscsi 1.18.0-8.module+el8.4.0+534+4680a14e RLSA-2021:3061
Rocky Linux 8 libnbd 1.2.2-1.module+el8.4.0+534+4680a14e RLSA-2021:3061
Rocky Linux 8 libvirt 6.0.0-35.1.module+el8.4.0+642+7e26f5e1 RLSA-2021:3061
Rocky Linux 8 libvirt-dbus 1.3.0-2.module+el8.4.0+534+4680a14e RLSA-2021:3061
Rocky Linux 8 nbdkit 1.16.2-4.module+el8.4.0+534+4680a14e RLSA-2021:3061
Rocky Linux 8 netcf 0.2.8-12.module+el8.4.0+534+4680a14e RLSA-2021:3061
Rocky Linux 8 perl-Sys-Virt +1 6.0.0-1.module+el8.4.0+534+4680a14e RLSA-2021:3061
Rocky Linux 8 qemu-kvm 5:4.2.0-48.module+el8.4.0+534+4680a14e RLSA-2021:3061
Rocky Linux 8 seabios 1.13.0-2.module+el8.4.0+534+4680a14e RLSA-2021:3061
Rocky Linux 8 sgabios 1:0.20170427git-3.module+el8.4.0+534+4680a14e RLSA-2021:3061
Rocky Linux 8 supermin 5.1.19-10.module+el8.4.0+534+4680a14e RLSA-2021:3061
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 15 qemu 2.11.2-9.43.1 SUSE-SU-2021:1244-1
SLES 12 SP5 qemu 3.1.1.1-48.2 SUSE-SU-2021:1242-1
Show 22 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP4 qemu 2.11.2-5.29.1 SUSE-SU-2021:1241-1
SLES 12 SP3 qemu 2.9.1-6.47.1 SUSE-SU-2021:1240-1
SLES 12 SP2 qemu 2.6.2-41.62.1 SUSE-SU-2021:1305-1
SLES 11 SP4 kvm 1.4.2-60.37.1 SUSE-SU-2021:14772-1
SLES for SAP 15 SP1 qemu 3.1.1.1-9.24.3 SUSE-SU-2021:1245-1
SLES for SAP 15 qemu 2.11.2-9.43.1 SUSE-SU-2021:1244-1
SLES for SAP 12 SP5 qemu 3.1.1.1-48.2 SUSE-SU-2021:1242-1
SLES for SAP 12 SP4 qemu 2.11.2-5.29.1 SUSE-SU-2021:1241-1
SLES for SAP 12 SP3 qemu 2.9.1-6.47.1 SUSE-SU-2021:1240-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
SLE HPC 15 qemu 2.11.2-9.43.1 SUSE-SU-2021:1244-1
SUSE OpenStack Cloud Crowbar 9 qemu 2.11.2-5.29.1 SUSE-SU-2021:1241-1
SUSE OpenStack Cloud Crowbar 8 qemu 2.9.1-6.47.1 SUSE-SU-2021:1240-1
SUSE OpenStack Cloud 9 qemu 2.11.2-5.29.1 SUSE-SU-2021:1241-1
SUSE OpenStack Cloud 8 qemu 2.9.1-6.47.1 SUSE-SU-2021:1240-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 Linux Enterprise Point of Sale 11 SP3 kvm 1.4.2-53.41.1 SUSE-SU-2021:14774-1
SUSE HPE Helion OpenStack 8 qemu 2.9.1-6.47.1 SUSE-SU-2021:1240-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 6.0.0-r1 —
Alpine v3.23 qemu 6.0.0-r1 —
Alpine v3.22 qemu 6.0.0-r1 —
Alpine v3.21 qemu 6.0.0-r1 —
Alpine v3.20 qemu 6.0.0-r1 —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 qemu 6.0.0-r1 —
Alpine v3.18 qemu 6.0.0-r1 —
Alpine v3.17 qemu 6.0.0-r1 —
Alpine v3.16 qemu 6.0.0-r1 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 qemu +26 10:3.1.0-8.amzn2.0.11 ALAS2-2023-2148

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 hivex +6 1.3.18-21.module+el8.4.0+20285+126f2e4b ELSA-2022-9172, ELSA-2021-3061
Oracle Linux 8 libguestfs-winsupport 8.2-1.module+el8.3.0+7860+a7792d29 ELSA-2022-9172, ELSA-2021-3061
Oracle Linux 8 libiscsi +2 1.18.0-8.module+el8.3.0+7860+a7792d29 ELSA-2022-9172, ELSA-2021-3061
Oracle Linux 8 libnbd +5 1.2.2-1.module+el8.3.0+7860+a7792d29 ELSA-2022-9172, ELSA-2021-3061
Oracle Linux 8 libvirt +29 5.7.0-32.module+el8.5.0+20482+a450964e ELSA-2022-9172, ELSA-2021-3061
Oracle Linux 8 libvirt-dbus 1.3.0-2.module+el8.3.0+7860+a7792d29 ELSA-2022-9172, ELSA-2021-3061
Oracle Linux 8 nbdkit +13 1.16.2-4.0.1.module+el8.3.0+7860+a7792d29 ELSA-2022-9172, ELSA-2021-3061
Oracle Linux 8 netcf +2 0.2.8-12.module+el8.3.0+7860+a7792d29 ELSA-2022-9172, ELSA-2021-3061
Oracle Linux 8 perl-Sys-Virt 4.5.0-5.module+el8.5.0+20482+a450964e ELSA-2022-9172, ELSA-2021-3061
Oracle Linux 8 qemu-img +10 15:4.2.0-48.module+el8.4.0+20285+126f2e4b.3 ELSA-2022-9172, ELSA-2021-3061
Oracle Linux 8 seabios +2 1.13.0-2.module+el8.3.0+7860+a7792d29 ELSA-2022-9172, ELSA-2021-3061
Oracle Linux 8 sgabios +1 1:0.20170427git-3.module+el8.3.0+7860+a7792d29 ELSA-2022-9172, ELSA-2021-3061
Oracle Linux 8 supermin +1 5.1.19-10.module+el8.3.0+7860+a7792d29 ELSA-2022-9172, ELSA-2021-3061
Oracle Linux 8 virt-dib +25 1:1.40.2-27.0.1.module+el8.4.0+20093+03a97712 ELSA-2022-9172, ELSA-2021-3061
Oracle Linux 7 qemu +12 15:4.2.1-15.el7 ELSA-2022-9123

Advisories 26

References