Skip to content
OpenAdvisories
Unscored CVE-2021-3930 EUVD-2021-27146GHSA-2v9g-p8fq-vvh2

An off-by-one error was found in the SCSI device emulation in QEMU. It could occur while processing MODE SELECT commands in mode_sense_page…

Published Feb 18, 2022 · Updated Aug 3, 2024 · Assigned by redhat

Description

An off-by-one error was found in the SCSI device emulation in QEMU. It could occur while processing MODE SELECT commands in mode_sense_page() if the 'page' argument was set to MODE_PAGE_ALLS (0x3f). A malicious guest could use this flaw to potentially crash QEMU, resulting in a denial of service condition.

Affected products

VendorProductAffectedFixed
— QEMU qemu-kvm 6.2.0-rc0 —

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:6.2+dfsg-1 —
Debian 13 qemu 1:6.2+dfsg-1 —
Debian 12 qemu 1:6.2+dfsg-1 —
Debian 10 qemu 1:3.1+dfsg-8+deb10u9 DLA-3099-1
Debian 9 qemu 1:2.8+dfsg-6+deb9u17 DLA-2970-1
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS qemu 1:6.2+dfsg-2ubuntu5 USN-5772-1
Ubuntu 20.04 LTS qemu 1:4.2-3ubuntu6.21 USN-5772-1, USN-5307-1
Ubuntu 18.04 LTS qemu 1:2.11+dfsg-1ubuntu7.39 USN-5772-1, USN-5307-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS qemu 1:2.5+dfsg-5ubuntu10.51+esm1 USN-5772-1
Ubuntu Pro 14.04 LTS qemu 2.0.0+dfsg-2ubuntu1.47+esm2 USN-5772-1
ReleasePackageFixed inAdvisory
RHEL 8 SLOF 20191022-3.git899d9883.module+el8.3.0+6423+e4cb6418 RHSA-2022:0081, RHSA-2021:5238, RHSA-2021:5065
RHEL 8 hivex +6 1.3.18-21.module+el8.4.0+11609+2eba841a RHSA-2022:0081, RHSA-2021:5238, RHSA-2021:5065
RHEL 8 libguestfs-winsupport 8.2-1.module+el8.3.0+6423+e4cb6418 RHSA-2022:0081, RHSA-2021:5238, RHSA-2021:5065
RHEL 8 libiscsi +2 1.18.0-8.module+el8.1.0+4066+0f1aadab RHSA-2022:0081, RHSA-2021:5238, RHSA-2021:5065
RHEL 8 libnbd +5 1.2.2-1.module+el8.3.0+7353+9de0a3cc RHSA-2022:0081, RHSA-2021:5238, RHSA-2021:5065
RHEL 8 libnbd-bash-completion 1.6.0-3.module+el8.4.0+9856+bbc47853 RHSA-2022:0081, RHSA-2021:5065
RHEL 8 libtpms +1 0.7.4-4.20201106git2452a24dab.module+el8.4.0+10596+32ba7df3 RHSA-2022:0081, RHSA-2021:5065
RHEL 8 libvirt +28 6.0.0-37.module+el8.5.0+12162+40884dd2 RHSA-2022:0081, RHSA-2021:5238, RHSA-2021:5065
RHEL 8 libvirt-dbus 1.3.0-2.module+el8.3.0+6423+e4cb6418 RHSA-2022:0081, RHSA-2021:5238, RHSA-2021:5065
RHEL 8 libvirt-wireshark 7.0.0-14.5.module+el8.4.0+13026+f38c77ab RHSA-2022:0081, RHSA-2021:5065
RHEL 8 nbdkit +13 1.16.2-4.module+el8.3.0+6922+fd575af8 RHSA-2022:0081, RHSA-2021:5238, RHSA-2021:5065
RHEL 8 nbdkit-nbd-plugin +4 1.24.0-1.module+el8.4.0+9341+96cf2672 RHSA-2022:0081, RHSA-2021:5065
RHEL 8 netcf +2 0.2.8-12.module+el8.1.0+4066+0f1aadab RHSA-2022:0081, RHSA-2021:5238, RHSA-2021:5065
RHEL 8 perl-Sys-Virt +2 6.0.0-1.module+el8.3.0+6423+e4cb6418 RHSA-2022:0081, RHSA-2021:5238, RHSA-2021:5065
RHEL 8 python-pyvmomi +1 6.7.1-7.module+el8.4.0+8855+a9e237a9 RHSA-2022:0081, RHSA-2021:5065
RHEL 8 qemu-img +10 15:4.2.0-59.module+el8.5.0+13495+8166cdf8.1 RHSA-2022:0081, RHSA-2021:5238, RHSA-2021:5065
RHEL 8 qemu-kiwi +3 15:5.2.0-16.module+el8.4.0+13460+2e130eec.13 RHSA-2022:0081, RHSA-2021:5065
RHEL 8 qemu-kvm-hw-usbredir 15:6.0.0-33.module+el8.5.0+13514+2c386966.1 RHSA-2022:0081
RHEL 8 seabios +2 1.13.0-2.module+el8.3.0+7353+9de0a3cc RHSA-2022:0081, RHSA-2021:5238, RHSA-2021:5065
RHEL 8 sgabios +1 1:0.20170427git-3.module+el8.1.0+4066+0f1aadab RHSA-2022:0081, RHSA-2021:5238, RHSA-2021:5065
RHEL 8 supermin +1 5.1.19-10.module+el8.3.0+6423+e4cb6418 RHSA-2022:0081, RHSA-2021:5238, RHSA-2021:5065
RHEL 8 swtpm +3 0.4.2-1.20201201git2df14e3.module+el8.4.0+9341+96cf2672 RHSA-2022:0081, RHSA-2021:5065
RHEL 8 swtpm-tools-pkcs11 0.6.0-2.20210607gitea627b3.module+el8.5.0+12696+4ce1c6bc RHSA-2022:0081
RHEL 8 virt-dib +25 1:1.40.2-28.module+el8.5.0+10717+67be7ac4 RHSA-2022:0081, RHSA-2021:5238, RHSA-2021:5065
RHEL 8 virt-v2v-man-pages-ja +2 1:1.42.0-9.module+el8.4.0+9561+069bb9c1 RHSA-2022:0081, RHSA-2021:5065

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 8 hivex +4 1.3.18-21.module_el8.5.0+2608+72063365 ALSA-2021:5238
AlmaLinux 8 libguestfs-winsupport 8.2-1.module_el8.5.0+2608+72063365 ALSA-2021:5238
AlmaLinux 8 libiscsi +2 1.18.0-8.module_el8.5.0+2608+72063365 ALSA-2021:5238
AlmaLinux 8 libnbd +3 1.2.2-1.module_el8.5.0+2608+72063365 ALSA-2021:5238
AlmaLinux 8 libvirt +28 6.0.0-37.module_el8.5.0+2608+72063365 ALSA-2021:5238
AlmaLinux 8 libvirt-dbus 1.3.0-2.module_el8.5.0+2608+72063365 ALSA-2021:5238
AlmaLinux 8 nbdkit +13 1.16.2-4.module_el8.5.0+2608+72063365 ALSA-2021:5238
AlmaLinux 8 netcf +2 0.2.8-12.module_el8.5.0+2608+72063365 ALSA-2021:5238
AlmaLinux 8 perl-Sys-Virt +1 6.0.0-1.module_el8.5.0+2608+72063365 ALSA-2021:5238
AlmaLinux 8 qemu-img +9 15:4.2.0-59.module_el8.5.0+2608+72063365.1 ALSA-2021:5238
AlmaLinux 8 seabios +2 1.13.0-2.module_el8.5.0+2608+72063365 ALSA-2021:5238
AlmaLinux 8 sgabios +1 1:0.20170427git-3.module_el8.5.0+2608+72063365 ALSA-2021:5238
AlmaLinux 8 supermin +1 5.1.19-10.module_el8.5.0+2608+72063365 ALSA-2021:5238
AlmaLinux 8 virt-dib +23 1:1.40.2-28.module_el8.5.0+2608+72063365.alma ALSA-2021:5238

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 hivex 1.3.18-21.module+el8.4.0+642+7e26f5e1 RLSA-2021:5238
Rocky Linux 8 libguestfs 1:1.40.2-28.module+el8.5.0+670+c4aa478c RLSA-2021:5238
Rocky Linux 8 libguestfs-winsupport 8.2-1.module+el8.4.0+534+4680a14e RLSA-2021:5238
Rocky Linux 8 libiscsi 1.18.0-8.module+el8.4.0+534+4680a14e RLSA-2021:5238
Rocky Linux 8 libnbd 1.2.2-1.module+el8.4.0+534+4680a14e RLSA-2021:5238
Rocky Linux 8 libvirt 6.0.0-37.module+el8.5.0+670+c4aa478c RLSA-2021:5238
Rocky Linux 8 libvirt-dbus 1.3.0-2.module+el8.4.0+534+4680a14e RLSA-2021:5238
Rocky Linux 8 nbdkit 1.16.2-4.module+el8.4.0+534+4680a14e RLSA-2021:5238
Rocky Linux 8 netcf 0.2.8-12.module+el8.4.0+534+4680a14e RLSA-2021:5238
Rocky Linux 8 perl-Sys-Virt +1 6.0.0-1.module+el8.4.0+534+4680a14e RLSA-2021:5238
Rocky Linux 8 qemu-kvm 5:4.2.0-59.module+el8.5.0+670+c4aa478c RLSA-2021:5238
Rocky Linux 8 seabios 1.13.0-2.module+el8.4.0+534+4680a14e RLSA-2021:5238
Rocky Linux 8 sgabios 1:0.20170427git-3.module+el8.4.0+534+4680a14e RLSA-2021:5238
Rocky Linux 8 supermin 5.1.19-10.module+el8.4.0+534+4680a14e RLSA-2021:5238
ReleasePackageFixed inAdvisory
SLES 15 SP3 qemu 5.2.0-150300.112.4 SUSE-SU-2022:0930-1
SLES 12 SP5 qemu 3.1.1.1-63.4 SUSE-SU-2022:1151-1
SLES 11 SP4 xen 4.4.4_50-61.67.1 SUSE-SU-2021:14848-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 12 SP5 qemu 3.1.1.1-63.4 SUSE-SU-2022:1151-1
SLE Micro 5.2 qemu 5.2.0-150300.112.4 SUSE-SU-2022:0930-2
SLE Micro 5.1 qemu 5.2.0-150300.112.4 SUSE-SU-2022:0930-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.3 qemu 5.2.0-150300.112.4 openSUSE-SU-2022:0930-1
openSUSE Leap 15.3 qemu-linux-user 5.2.0-150300.112.3 openSUSE-SU-2022:0930-1
openSUSE Leap 15.3 qemu-testsuite 5.2.0-150300.112.7 openSUSE-SU-2022:0930-1
ReleasePackageFixed inAdvisory
Alpine v3.15 qemu 6.1.1-r0 —

Amazon Linux

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

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 2 (CBL-Mariner) qemu 6.2.0-2 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 hivex +6 1.3.18-21.module+el8.5.0+20365+3abb8f5b ELSA-2022-9172, ELSA-2021-5238
Oracle Linux 8 libguestfs-winsupport 8.2-1.module+el8.3.0+7860+a7792d29 ELSA-2022-9172, ELSA-2021-5238
Oracle Linux 8 libiscsi +2 1.18.0-8.module+el8.3.0+7860+a7792d29 ELSA-2022-9172, ELSA-2021-5238
Oracle Linux 8 libnbd +5 1.2.2-1.module+el8.3.0+7860+a7792d29 ELSA-2022-9172, ELSA-2021-5238
Oracle Linux 8 libvirt +29 5.7.0-32.module+el8.5.0+20482+a450964e ELSA-2022-9172, ELSA-2021-5238
Oracle Linux 8 libvirt-dbus 1.3.0-2.module+el8.3.0+7860+a7792d29 ELSA-2022-9172, ELSA-2021-5238
Oracle Linux 8 nbdkit +13 1.16.2-4.0.1.module+el8.3.0+7860+a7792d29 ELSA-2022-9172, ELSA-2021-5238
Oracle Linux 8 netcf +2 0.2.8-12.module+el8.3.0+7860+a7792d29 ELSA-2022-9172, ELSA-2021-5238
Oracle Linux 8 perl-Sys-Virt 4.5.0-5.module+el8.5.0+20482+a450964e ELSA-2022-9172, ELSA-2021-5238
Oracle Linux 8 qemu-img +10 15:4.2.0-59.module+el8.5.0+20460+2eddfbf5.1 ELSA-2022-9172, ELSA-2021-5238
Oracle Linux 8 seabios +2 1.13.0-2.module+el8.3.0+7860+a7792d29 ELSA-2022-9172, ELSA-2021-5238
Oracle Linux 8 sgabios +1 1:0.20170427git-3.module+el8.3.0+7860+a7792d29 ELSA-2022-9172, ELSA-2021-5238
Oracle Linux 8 supermin +1 5.1.19-10.module+el8.3.0+7860+a7792d29 ELSA-2022-9172, ELSA-2021-5238
Oracle Linux 8 virt-dib +25 1:1.40.2-28.0.1.module+el8.5.0+20363+3abb8f5b ELSA-2022-9172, ELSA-2021-5238
Oracle Linux 7 qemu +11 15:4.2.1-13.el7 ELSA-2021-9638

Advisories 19

References