Skip to content
OpenAdvisories
Medium · 6.5 CVE-2022-4172 EUVD-2022-51533GHSA-7m5q-w7p8-x8h4

An integer overflow and buffer overflow issues were found in the ACPI Error Record Serialization Table (ERST) device of QEMU in the read_er…

Published Nov 29, 2022 · Updated Apr 14, 2025 · Assigned by redhat

Description

An integer overflow and buffer overflow issues were found in the ACPI Error Record Serialization Table (ERST) device of QEMU in the read_erst_record() and write_erst_record() functions. Both issues may allow the guest to overrun the host buffer allocated for the ERST memory device. A malicious guest could use these flaws to crash the QEMU process on the host.

Affected products

VendorProductAffectedFixed
— QEMU (ACPI ERST) Affected: 7.0.0, Fixed: 7.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:7.2+dfsg-1 —
Debian 13 qemu 1:7.2+dfsg-1 —
Debian 12 qemu 1:7.2+dfsg-1 —
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS qemu 1:6.2+dfsg-2ubuntu6.11 USN-6167-1
Ubuntu 20.04 LTS qemu 1:4.2-3ubuntu6.27 USN-6167-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS qemu 1:2.11+dfsg-1ubuntu7.42+esm1 USN-6167-1
Ubuntu Pro 16.04 LTS qemu 1:2.5+dfsg-5ubuntu10.51+esm2 USN-6167-1
Ubuntu Pro 14.04 LTS qemu 2.0.0+dfsg-2ubuntu1.47+esm3 USN-6167-1
ReleasePackageFixed inAdvisory
RHEL 9 qemu-img +18 17:7.2.0-14.el9_2 RHSA-2023:2162

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 qemu-img +18 17:7.2.0-14.el9_2 ALSA-2023:2162
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed qemu 7.1.0-10.1 openSUSE-SU-2024:12685-1

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 qemu-img +17 17:7.2.0-14.el9_2 ELSA-2023-2162
Oracle Linux 8 hivex +4 1.3.18-21.module+el8.7.0+20894+2d7709ab ELSA-2023-12195, ELSA-2023-12108
Oracle Linux 8 libguestfs-appliance 1:1.44.0-5.0.1.module+el8.7.0+20916+50473d5a ELSA-2023-12195
Oracle Linux 8 libguestfs-winsupport 8.2-1.module+el8.7.0+20894+2d7709ab ELSA-2023-12195, ELSA-2023-12108
Oracle Linux 8 libiscsi +2 1.18.0-8.module+el8.7.0+20894+2d7709ab ELSA-2023-12195, ELSA-2023-12108
Oracle Linux 8 libnbd +3 1.2.2-1.module+el8.7.0+20894+2d7709ab ELSA-2023-12195, ELSA-2023-12108
Oracle Linux 8 libnbd-bash-completion 1.6.0-5.module+el8.7.0+20916+50473d5a ELSA-2023-12195
Oracle Linux 8 libtpms +1 0.9.1-0.20211126git1ff6fe1f43.module+el8.7.0+20916+50473d5a ELSA-2023-12195
Oracle Linux 8 libvirt +29 5.7.0-38.module+el8.7.0+20894+2d7709ab ELSA-2023-12195, ELSA-2023-12108
Oracle Linux 8 libvirt-dbus 1.3.0-2.module+el8.7.0+20894+2d7709ab ELSA-2023-12195, ELSA-2023-12108
Oracle Linux 8 libvirt-wireshark 7.10.0-2.module+el8.7.0+20916+50473d5a ELSA-2023-12195
Oracle Linux 8 nbdkit +13 1.16.2-4.0.1.module+el8.7.0+20894+2d7709ab ELSA-2023-12195, ELSA-2023-12108
Oracle Linux 8 nbdkit-nbd-plugin +4 1.24.0-4.module+el8.7.0+20916+50473d5a ELSA-2023-12195
Oracle Linux 8 netcf +2 0.2.8-12.module+el8.7.0+20894+2d7709ab ELSA-2023-12195, ELSA-2023-12108
Oracle Linux 8 perl-Sys-Virt 4.5.0-5.module+el8.7.0+20894+2d7709ab ELSA-2023-12195, ELSA-2023-12108
Oracle Linux 8 qemu-img +9 15:4.2.1-24.module+el8.7.0+20894+2d7709ab ELSA-2023-12195, ELSA-2023-12108
Oracle Linux 8 qemu-virtiofsd 15:6.1.1-5.module+el8.7.0+20916+50473d5a ELSA-2023-12195
Oracle Linux 8 seabios +2 1.13.0-2.module+el8.7.0+20894+2d7709ab ELSA-2023-12195, ELSA-2023-12108
Oracle Linux 8 sgabios +1 1:0.20170427git-3.module+el8.7.0+20894+2d7709ab ELSA-2023-12195, ELSA-2023-12108
Oracle Linux 8 supermin +1 5.1.19-10.module+el8.7.0+20894+2d7709ab ELSA-2023-12195, ELSA-2023-12108
Oracle Linux 8 swtpm +4 0.7.0-3.20211109gitb79fd91.module+el8.7.0+20916+50473d5a ELSA-2023-12195
Oracle Linux 8 virt-dib +23 1:1.40.2-28.0.4.module+el8.7.0+20894+2d7709ab ELSA-2023-12195, ELSA-2023-12108
Oracle Linux 8 virt-v2v-man-pages-ja +2 1:1.42.0-19.0.1.module+el8.7.0+20916+50473d5a ELSA-2023-12195
Oracle Linux 7 qemu +12 15:4.2.1-24.el7 ELSA-2023-12065

Advisories 9

References