Heap-based buffer overflow in QEMU - CVE-2021-3507
Published: June 21, 2022
Vulnerability details
The vulnerability allows a remote user to perform a denial of service (DoS) attack.
The vulnerability exists due to a boundary error in the fdctrl_transfer_handler() function in hw/block/fdc.c while processing DMA read
data transfers from the floppy drive to the guest system. A remote privileged user on the guest OS can trigger a heap-based buffer overflow and crash the QEMU process on the host OS.
Affected software
Oracle Linux
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise High Performance Computing 12
SUSE Linux Enterprise Server 12
SUSE CaaS Platform
SUSE Manager Server
SUSE Manager Retail Branch Server
SUSE Manager Proxy
SUSE Linux Enterprise Micro
SUSE Linux Enterprise Micro for Rancher
openSUSE Leap Micro
SUSE Enterprise Storage
Red Hat CodeReady Linux Builder for Power, little endian
Red Hat CodeReady Linux Builder for x86_64
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power, little endian
Red Hat CodeReady Linux Builder for ARM 64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for x86_64
Red Hat CodeReady Linux Builder for IBM z Systems
SUSE Linux Enterprise Server for SAP
SUSE Linux Enterprise Server
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise High Performance Computing 15 SP2 LTSS
SUSE Linux Enterprise Server 15 SP2 LTSS
SUSE Linux Enterprise Server 15 SP3 LTSS
Server Applications Module
Basesystem Module
openSUSE Leap
Ubuntu
openEuler
qemu-ipxe
qemu-seabios
qemu-vgabios
qemu-system (Ubuntu package)
qemu-system-mips (Ubuntu package)
qemu-system-ppc (Ubuntu package)
qemu-system-arm (Ubuntu package)
qemu-system-misc (Ubuntu package)
qemu-system-sparc (Ubuntu package)
qemu-system-s390x (Ubuntu package)
qemu-system-x86 (Ubuntu package)
qemu-ui-sdl
qemu-ui-curses-debuginfo
qemu-audio-sdl
qemu-block-ssh-debuginfo
qemu
qemu-audio-oss
qemu-audio-oss-debuginfo
qemu-block-rbd-debuginfo
qemu-audio-pa
qemu-block-ssh
qemu-block-iscsi
qemu-audio-alsa-debuginfo
qemu-debugsource
qemu-audio-sdl-debuginfo
qemu-guest-agent
qemu-block-curl
qemu-audio-pa-debuginfo
qemu-ui-sdl-debuginfo
qemu-ui-curses
qemu-ui-gtk-debuginfo
qemu-block-curl-debuginfo
qemu-block-rbd
qemu-guest-agent-debuginfo
qemu-s390
qemu-ui-gtk
qemu-lang
qemu-audio-alsa
qemu-tools
qemu-block-iscsi-debuginfo
qemu-tools-debuginfo
qemu-arm-debuginfo
qemu-kvm
qemu-x86
qemu-ppc
qemu-ppc-debuginfo
qemu-s390-debuginfo
qemu-arm
qemu-x86-debuginfo
qemu-debuginfo
qemu-help
qemu-img
qemu-ui-spice-app
qemu-ui-spice-app-debuginfo
qemu-microvm
qemu-system-x86-microvm (Ubuntu package)
qemu-system-x86-xen (Ubuntu package)
qemu-hw-display-virtio-gpu
qemu-hw-display-virtio-gpu-pci
qemu-hw-display-virtio-gpu-pci-debuginfo
qemu-hw-s390x-virtio-gpu-ccw
qemu-skiboot
qemu-SLOF
qemu-hw-s390x-virtio-gpu-ccw-debuginfo
qemu-s390x-debuginfo
qemu-s390x
qemu-hw-display-qxl-debuginfo
qemu-hw-usb-redirect
qemu-hw-display-qxl
qemu-hw-display-virtio-vga
qemu-ui-spice-core
qemu-chardev-baum
qemu-chardev-baum-debuginfo
qemu-chardev-spice-debuginfo
qemu-ui-opengl
qemu-ui-opengl-debuginfo
qemu-hw-usb-redirect-debuginfo
qemu-hw-display-virtio-gpu-debuginfo
qemu-ui-spice-core-debuginfo
qemu-hw-display-virtio-vga-debuginfo
qemu-audio-spice-debuginfo
qemu-chardev-spice
qemu-audio-spice
qemu-ksm
qemu-testsuite
qemu-linux-user-debugsource
qemu-linux-user-debuginfo
qemu-linux-user
qemu-vhost-user-gpu-debuginfo
qemu-accel-tcg-x86
qemu-accel-tcg-x86-debuginfo
qemu-block-gluster
qemu-audio-jack-debuginfo
qemu-block-gluster-debuginfo
qemu-block-dmg
qemu-block-dmg-debuginfo
qemu-block-nfs
qemu-hw-usb-smartcard
qemu-ivshmem-tools-debuginfo
qemu-extra
qemu-block-nfs-debuginfo
qemu-vhost-user-gpu
qemu-hw-usb-host
qemu-extra-debuginfo
qemu-accel-qtest-debuginfo
qemu-accel-qtest
qemu-audio-jack
qemu-ivshmem-tools
qemu-hw-usb-host-debuginfo
qemu-hw-usb-smartcard-debuginfo
qemu-kvm (Red Hat package)
qemu-sgabios
How to mitigate CVE-2021-3507
qemu-ipxe - addressed in versions 1.0.0+-66.1, 1.0.0+-150100.80.43.2, 1.0.0+-150200.72.2, 1.0.0+-150300.121.2, 1.0.0+-150400.37.14.2
qemu-seabios - addressed in versions 1.12.0_0_ga698c89-66.1, 1.12.0_0_ga698c89-150100.80.43.2, 1.12.1+-150200.72.2, 1.14.0_0_g155821a-150300.121.2, 1.15.0_0_g2dd4b9b-150400.37.14.2
qemu-vgabios - addressed in versions 1.12.0_0_ga698c89-66.1, 1.12.0_0_ga698c89-150100.80.43.2, 1.12.1+-150200.72.2, 1.14.0_0_g155821a-150300.121.2, 1.15.0_0_g2dd4b9b-150400.37.14.2
qemu-system (Ubuntu package) - addressed in versions 1:2.11+dfsg-1ubuntu7.40, 1:4.2-3ubuntu6.23, 1:6.0+dfsg-2expubuntu1.3, 1:6.2+dfsg-2ubuntu6.2
qemu-system-mips (Ubuntu package) - addressed in versions 1:2.11+dfsg-1ubuntu7.40, 1:4.2-3ubuntu6.23, 1:6.0+dfsg-2expubuntu1.3, 1:6.2+dfsg-2ubuntu6.2
qemu-system-ppc (Ubuntu package) - addressed in versions 1:2.11+dfsg-1ubuntu7.40, 1:4.2-3ubuntu6.23, 1:6.0+dfsg-2expubuntu1.3, 1:6.2+dfsg-2ubuntu6.2
qemu-system-arm (Ubuntu package) - addressed in versions 1:2.11+dfsg-1ubuntu7.40, 1:4.2-3ubuntu6.23, 1:6.0+dfsg-2expubuntu1.3, 1:6.2+dfsg-2ubuntu6.2
qemu-system-misc (Ubuntu package) - addressed in versions 1:2.11+dfsg-1ubuntu7.40, 1:4.2-3ubuntu6.23, 1:6.0+dfsg-2expubuntu1.3, 1:6.2+dfsg-2ubuntu6.2
qemu-system-sparc (Ubuntu package) - addressed in versions 1:2.11+dfsg-1ubuntu7.40, 1:4.2-3ubuntu6.23, 1:6.0+dfsg-2expubuntu1.3, 1:6.2+dfsg-2ubuntu6.2
qemu-system-s390x (Ubuntu package) - addressed in versions 1:2.11+dfsg-1ubuntu7.40, 1:4.2-3ubuntu6.23, 1:6.0+dfsg-2expubuntu1.3, 1:6.2+dfsg-2ubuntu6.2
qemu-system-x86 (Ubuntu package) - addressed in versions 1:2.11+dfsg-1ubuntu7.40, 1:4.2-3ubuntu6.23, 1:6.0+dfsg-2expubuntu1.3, 1:6.2+dfsg-2ubuntu6.2
qemu-ui-sdl - update to 3.1.1.1-66.1
qemu-ui-curses-debuginfo - addressed in versions 3.1.1.1-66.1, 3.1.1.1-150100.80.43.2, 4.2.1-150200.72.2, 5.2.0-150300.121.2, 6.2.0-150400.37.14.2
qemu-audio-sdl - update to 3.1.1.1-66.1
qemu-block-ssh-debuginfo - addressed in versions 3.1.1.1-66.1, 3.1.1.1-150100.80.43.2, 4.2.1-150200.72.2, 5.2.0-150300.121.2, 6.2.0-150400.37.14.2
qemu - addressed in versions 3.1.1.1-66.1, 3.1.1.1-150100.80.43.2, 4.2.1-150200.72.2, 5.2.0-150300.121.2, 6.2.0-150400.37.14.2
qemu-audio-oss - addressed in versions 3.1.1.1-66.1, 3.1.1.1-150100.80.43.2
qemu-audio-oss-debuginfo - addressed in versions 3.1.1.1-66.1, 3.1.1.1-150100.80.43.2, 6.2.0-150400.37.14.2
qemu-block-rbd-debuginfo - addressed in versions 3.1.1.1-66.1, 3.1.1.1-150100.80.43.2, 4.2.1-150200.72.2, 5.2.0-150300.121.2, 6.2.0-150400.37.14.2
qemu-audio-pa - addressed in versions 3.1.1.1-66.1, 3.1.1.1-150100.80.43.2, 4.2.1-150200.72.2, 5.2.0-150300.121.2, 6.2.0-150400.37.14.2
qemu-block-ssh - addressed in versions 3.1.1.1-66.1, 3.1.1.1-150100.80.43.2, 4.2.1-150200.72.2, 5.2.0-150300.121.2, 6.2.0-150400.37.14.2
qemu-block-iscsi - addressed in versions 3.1.1.1-66.1, 3.1.1.1-150100.80.43.2, 4.2.1-150200.72.2, 5.2.0-150300.121.2, 6.2.0-150400.37.14.2
qemu-audio-alsa-debuginfo - addressed in versions 3.1.1.1-66.1, 3.1.1.1-150100.80.43.2, 4.2.1-150200.72.2, 5.2.0-150300.121.2, 6.2.0-150400.37.14.2
qemu-debugsource - addressed in versions 3.1.1.1-66.1, 3.1.1.1-150100.80.43.2, 4.2.1-150200.72.2, 5.2.0-150300.121.2, 6.2.0-150400.37.14.2
qemu-audio-sdl-debuginfo - update to 3.1.1.1-66.1
qemu-guest-agent - addressed in versions 3.1.1.1-66.1, 3.1.1.1-150100.80.43.2, 4.2.1-150200.72.2, 5.2.0-150300.121.2, 6.2.0-150400.37.14.2
qemu-block-curl - addressed in versions 3.1.1.1-66.1, 3.1.1.1-150100.80.43.2, 4.2.1-150200.72.2, 5.2.0-150300.121.2, 6.2.0-150400.37.14.2
qemu-audio-pa-debuginfo - addressed in versions 3.1.1.1-66.1, 3.1.1.1-150100.80.43.2, 4.2.1-150200.72.2, 5.2.0-150300.121.2, 6.2.0-150400.37.14.2
qemu-ui-sdl-debuginfo - update to 3.1.1.1-66.1
qemu-ui-curses - addressed in versions 3.1.1.1-66.1, 3.1.1.1-150100.80.43.2, 4.2.1-150200.72.2, 5.2.0-150300.121.2, 6.2.0-150400.37.14.2
qemu-ui-gtk-debuginfo - addressed in versions 3.1.1.1-66.1, 3.1.1.1-150100.80.43.2, 4.2.1-150200.72.2, 5.2.0-150300.121.2, 6.2.0-150400.37.14.2
qemu-block-curl-debuginfo - addressed in versions 3.1.1.1-66.1, 3.1.1.1-150100.80.43.2, 4.2.1-150200.72.2, 5.2.0-150300.121.2, 6.2.0-150400.37.14.2
qemu-block-rbd - addressed in versions 3.1.1.1-66.1, 3.1.1.1-150100.80.43.2, 4.2.1-150200.72.2, 5.2.0-150300.121.2, 6.2.0-150400.37.14.2
qemu-guest-agent-debuginfo - addressed in versions 3.1.1.1-66.1, 3.1.1.1-150100.80.43.2, 4.2.1-150200.72.2, 5.2.0-150300.121.2, 6.2.0-150400.37.14.2
qemu-s390 - addressed in versions 3.1.1.1-66.1, 3.1.1.1-150100.80.43.2, 4.2.1-150200.72.2
qemu-ui-gtk - addressed in versions 3.1.1.1-66.1, 3.1.1.1-150100.80.43.2, 4.2.1-150200.72.2, 5.2.0-150300.121.2, 6.2.0-150400.37.14.2
qemu-lang - addressed in versions 3.1.1.1-66.1, 3.1.1.1-150100.80.43.2, 4.2.1-150200.72.2, 5.2.0-150300.121.2, 6.2.0-150400.37.14.2
qemu-audio-alsa - addressed in versions 3.1.1.1-66.1, 3.1.1.1-150100.80.43.2, 4.2.1-150200.72.2, 5.2.0-150300.121.2, 6.2.0-150400.37.14.2
qemu-tools - addressed in versions 3.1.1.1-66.1, 3.1.1.1-150100.80.43.2, 4.2.1-150200.72.2, 5.2.0-150300.121.2, 6.2.0-150400.37.14.2
qemu-block-iscsi-debuginfo - addressed in versions 3.1.1.1-66.1, 3.1.1.1-150100.80.43.2, 4.2.1-150200.72.2, 5.2.0-150300.121.2, 6.2.0-150400.37.14.2
qemu-tools-debuginfo - addressed in versions 3.1.1.1-66.1, 3.1.1.1-150100.80.43.2, 4.2.1-150200.72.2, 5.2.0-150300.121.2, 6.2.0-150400.37.14.2
qemu-arm-debuginfo - addressed in versions 3.1.1.1-66.1, 3.1.1.1-150100.80.43.2, 4.2.1-150200.72.2, 5.2.0-150300.121.2, 6.2.0-150400.37.14.2
qemu-kvm - addressed in versions 3.1.1.1-66.1, 3.1.1.1-150100.80.43.2, 4.2.1-150200.72.2, 5.2.0-150300.121.2, 6.2.0-150400.37.14.2
qemu-x86 - addressed in versions 3.1.1.1-66.1, 3.1.1.1-150100.80.43.2, 4.2.1-150200.72.2, 5.2.0-150300.121.2, 6.2.0-150400.37.14.2
qemu-ppc - addressed in versions 3.1.1.1-66.1, 3.1.1.1-150100.80.43.2, 4.2.1-150200.72.2, 5.2.0-150300.121.2, 6.2.0-150400.37.14.2
qemu-ppc-debuginfo - addressed in versions 3.1.1.1-66.1, 3.1.1.1-150100.80.43.2, 4.2.1-150200.72.2, 5.2.0-150300.121.2, 6.2.0-150400.37.14.2
qemu-s390-debuginfo - addressed in versions 3.1.1.1-66.1, 3.1.1.1-150100.80.43.2, 4.2.1-150200.72.2
qemu-arm - addressed in versions 3.1.1.1-66.1, 3.1.1.1-150100.80.43.2, 4.2.1-150200.72.2, 5.2.0-150300.121.2, 6.2.0-150400.37.14.2
qemu-x86-debuginfo - addressed in versions 3.1.1.1-150100.80.43.2, 4.2.1-150200.72.2, 5.2.0-150300.121.2, 6.2.0-150400.37.14.2
qemu-debuginfo - addressed in versions 3.1.1.1-150100.80.43.2, 4.2.1-150200.72.2, 5.2.0-150300.121.2, 6.2.0-150400.37.14.2
qemu-seabios - update to 4.1.0-66
qemu-help - update to 4.1.0-66
qemu-img - update to 4.1.0-66
qemu-block-curl - update to 4.1.0-66
qemu-guest-agent - update to 4.1.0-66
qemu-block-rbd - update to 4.1.0-66
qemu - update to 4.1.0-66
qemu-debuginfo - update to 4.1.0-66
qemu-block-iscsi - update to 4.1.0-66
qemu-debugsource - update to 4.1.0-66
qemu-block-ssh - update to 4.1.0-66
qemu-ui-spice-app - addressed in versions 4.2.1-150200.72.2, 5.2.0-150300.121.2, 6.2.0-150400.37.14.2
qemu-ui-spice-app-debuginfo - addressed in versions 4.2.1-150200.72.2, 5.2.0-150300.121.2, 6.2.0-150400.37.14.2
qemu-microvm - addressed in versions 4.2.1-150200.72.2, 6.2.0-150400.37.14.2
qemu-system-x86-microvm (Ubuntu package) - addressed in versions 1:4.2-3ubuntu6.23, 1:6.0+dfsg-2expubuntu1.3, 1:6.2+dfsg-2ubuntu6.2
qemu-system-x86-xen (Ubuntu package) - addressed in versions 1:4.2-3ubuntu6.23, 1:6.0+dfsg-2expubuntu1.3, 1:6.2+dfsg-2ubuntu6.2
qemu-hw-display-virtio-gpu - addressed in versions 5.2.0-150300.121.2, 6.2.0-150400.37.14.2
qemu-hw-display-virtio-gpu-pci - addressed in versions 5.2.0-150300.121.2, 6.2.0-150400.37.14.2
qemu-hw-display-virtio-gpu-pci-debuginfo - addressed in versions 5.2.0-150300.121.2, 6.2.0-150400.37.14.2
qemu-hw-s390x-virtio-gpu-ccw - addressed in versions 5.2.0-150300.121.2, 6.2.0-150400.37.14.2
qemu-skiboot - addressed in versions 5.2.0-150300.121.2, 6.2.0-150400.37.14.2
qemu-SLOF - addressed in versions 5.2.0-150300.121.2, 6.2.0-150400.37.14.2
qemu-hw-s390x-virtio-gpu-ccw-debuginfo - addressed in versions 5.2.0-150300.121.2, 6.2.0-150400.37.14.2
qemu-s390x-debuginfo - addressed in versions 5.2.0-150300.121.2, 6.2.0-150400.37.14.2
qemu-s390x - addressed in versions 5.2.0-150300.121.2, 6.2.0-150400.37.14.2
qemu-hw-display-qxl-debuginfo - addressed in versions 5.2.0-150300.121.2, 6.2.0-150400.37.14.2
qemu-hw-usb-redirect - addressed in versions 5.2.0-150300.121.2, 6.2.0-150400.37.14.2
qemu-hw-display-qxl - addressed in versions 5.2.0-150300.121.2, 6.2.0-150400.37.14.2
qemu-hw-display-virtio-vga - addressed in versions 5.2.0-150300.121.2, 6.2.0-150400.37.14.2
qemu-ui-spice-core - addressed in versions 5.2.0-150300.121.2, 6.2.0-150400.37.14.2
qemu-chardev-baum - addressed in versions 5.2.0-150300.121.2, 6.2.0-150400.37.14.2
qemu-chardev-baum-debuginfo - addressed in versions 5.2.0-150300.121.2, 6.2.0-150400.37.14.2
qemu-chardev-spice-debuginfo - addressed in versions 5.2.0-150300.121.2, 6.2.0-150400.37.14.2
qemu-ui-opengl - addressed in versions 5.2.0-150300.121.2, 6.2.0-150400.37.14.2
qemu-ui-opengl-debuginfo - addressed in versions 5.2.0-150300.121.2, 6.2.0-150400.37.14.2
qemu-hw-usb-redirect-debuginfo - addressed in versions 5.2.0-150300.121.2, 6.2.0-150400.37.14.2
qemu-hw-display-virtio-gpu-debuginfo - addressed in versions 5.2.0-150300.121.2, 6.2.0-150400.37.14.2
qemu-ui-spice-core-debuginfo - addressed in versions 5.2.0-150300.121.2, 6.2.0-150400.37.14.2
qemu-hw-display-virtio-vga-debuginfo - addressed in versions 5.2.0-150300.121.2, 6.2.0-150400.37.14.2
qemu-audio-spice-debuginfo - addressed in versions 5.2.0-150300.121.2, 6.2.0-150400.37.14.2
qemu-chardev-spice - addressed in versions 5.2.0-150300.121.2, 6.2.0-150400.37.14.2
qemu-audio-spice - addressed in versions 5.2.0-150300.121.2, 6.2.0-150400.37.14.2
qemu-ksm - addressed in versions 5.2.0-150300.121.2, 6.2.0-150400.37.14.2
qemu-testsuite - update to 6.2.0-150400.37.14.1
qemu-linux-user-debugsource - update to 6.2.0-150400.37.14.1
qemu-linux-user-debuginfo - update to 6.2.0-150400.37.14.1
qemu-linux-user - update to 6.2.0-150400.37.14.1
qemu-vhost-user-gpu-debuginfo - update to 6.2.0-150400.37.14.2
qemu-accel-tcg-x86 - update to 6.2.0-150400.37.14.2
qemu-accel-tcg-x86-debuginfo - update to 6.2.0-150400.37.14.2
qemu-block-gluster - update to 6.2.0-150400.37.14.2
qemu-audio-jack-debuginfo - update to 6.2.0-150400.37.14.2
qemu-block-gluster-debuginfo - update to 6.2.0-150400.37.14.2
qemu-block-dmg - update to 6.2.0-150400.37.14.2
qemu-block-dmg-debuginfo - update to 6.2.0-150400.37.14.2
qemu-block-nfs - update to 6.2.0-150400.37.14.2
qemu-hw-usb-smartcard - update to 6.2.0-150400.37.14.2
qemu-ivshmem-tools-debuginfo - update to 6.2.0-150400.37.14.2
qemu-extra - update to 6.2.0-150400.37.14.2
qemu-block-nfs-debuginfo - update to 6.2.0-150400.37.14.2
qemu-vhost-user-gpu - update to 6.2.0-150400.37.14.2
qemu-hw-usb-host - update to 6.2.0-150400.37.14.2
qemu-extra-debuginfo - update to 6.2.0-150400.37.14.2
qemu-accel-qtest-debuginfo - update to 6.2.0-150400.37.14.2
qemu-accel-qtest - update to 6.2.0-150400.37.14.2
qemu-audio-jack - update to 6.2.0-150400.37.14.2
qemu-ivshmem-tools - update to 6.2.0-150400.37.14.2
qemu-hw-usb-host-debuginfo - update to 6.2.0-150400.37.14.2
qemu-hw-usb-smartcard-debuginfo - update to 6.2.0-150400.37.14.2
qemu-kvm (Red Hat package) - update to 7.0.0-13.el9
qemu-sgabios - addressed in versions 8-66.1, 8-150100.80.43.2, 8-150200.72.2, 8-150300.121.2, 8-150400.37.14.2
External References
Related Security Bulletins
- Denial of service in QEMU
- Ubuntu update for qemu
- SUSE update for qemu
- Red Hat Enterprise Linux 8 update for the virt:rhel and virt-devel:rhel modules
- Red Hat Enterprise Linux 9 update for qemu-kvm
- SUSE update for qemu
- SUSE update for qemu
- SUSE update for qemu
- SUSE update for qemu
- SUSE update for qemu
- Multiple vulnerabilities in Oracle Linux
- openEuler update for qemu