Skip to content
OpenAdvisories
Medium · 5.3 CVE-2024-26327 EUVD-2024-23596GHSA-7m48-vw34-vw84

An issue was discovered in QEMU 7.1.0 through 8.2.1. register_vfs in hw/pci/pcie_sriov.c mishandles the situation where a guest writes NumV…

Published Feb 19, 2024 · Updated Aug 2, 2024 · Assigned by mitre

Description

An issue was discovered in QEMU 7.1.0 through 8.2.1. register_vfs in hw/pci/pcie_sriov.c mishandles the situation where a guest writes NumVFs greater than TotalVFs, leading to a buffer overflow in VF implementations.

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:8.2.3+ds-1 —
Debian 13 qemu 1:8.2.3+ds-1 —
Debian 12 qemu 1:7.2+dfsg-7+deb12u6 —
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS qemu 1:8.2.2+ds-0ubuntu1.2 USN-6977-1
ReleasePackageFixed inAdvisory
RHEL 9 qemu-img +19 17:9.0.0-10.el9_5 RHSA-2024:9136

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 qemu-img +19 17:9.0.0-10.el9_5 ALSA-2024:9136

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 9 qemu-kvm 7:9.0.0-10.el9_5.2 RLSA-2024:9136
ReleasePackageFixed inAdvisory
SLES 15 SP5 qemu 7.1.0-150500.49.12.1 SUSE-SU-2024:1103-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLE Micro 5.5 qemu 7.1.0-150500.49.12.1 SUSE-SU-2024:1103-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.5 qemu 7.1.0-150500.49.12.1 SUSE-SU-2024:1103-1

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 qemu 8.2.0-16 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 qemu-img +18 17:9.0.0-10.el9_5 ELSA-2024-12674, ELSA-2024-9136
Oracle Linux 9 qemu-virtiofsd +2 30:7.2.0-15.el9 ELSA-2024-12674
Oracle Linux 8 hivex +4 1.3.18-23.module+el8.10.0+90374+95a91213 ELSA-2024-12605, ELSA-2024-12604
Oracle Linux 8 libguestfs-winsupport 8.6-1.module+el8.10.0+90374+95a91213 ELSA-2024-12605, ELSA-2024-12604
Oracle Linux 8 libiscsi +2 1.18.0-8.module+el8.10.0+90374+95a91213 ELSA-2024-12605, ELSA-2024-12604
Oracle Linux 8 libnbd +4 1.6.0-5.module+el8.10.0+90374+95a91213 ELSA-2024-12605, ELSA-2024-12604
Oracle Linux 8 libtpms +1 0.9.1-0.20211126git1ff6fe1f43.module+el8.10.0+90374+95a91213 ELSA-2024-12605, ELSA-2024-12604
Oracle Linux 8 libvirt +28 7.10.0-4.module+el8.10.0+90374+95a91213 ELSA-2024-12605, ELSA-2024-12604
Oracle Linux 8 libvirt-client-qemu 9.0.0-6.module+el8.10.0+90377+6a12a345 ELSA-2024-12604
Oracle Linux 8 libvirt-dbus 1.3.0-2.module+el8.10.0+90374+95a91213 ELSA-2024-12605, ELSA-2024-12604
Oracle Linux 8 nbdkit +18 1.24.0-4.module+el8.10.0+90374+95a91213 ELSA-2024-12605, ELSA-2024-12604
Oracle Linux 8 netcf +2 0.2.8-12.module+el8.10.0+90374+95a91213 ELSA-2024-12605, ELSA-2024-12604
Oracle Linux 8 perl-Sys-Virt 6.0.0-1.module+el8.10.0+90374+95a91213 ELSA-2024-12605, ELSA-2024-12604
Oracle Linux 8 qemu-img +10 15:6.1.1-9.module+el8.10.0+90374+95a91213 ELSA-2024-12605, ELSA-2024-12604
Oracle Linux 8 seabios +2 1.15.0-2.module+el8.10.0+90374+95a91213 ELSA-2024-12605, ELSA-2024-12604
Oracle Linux 8 sgabios +1 1:0.20170427git-3.module+el8.10.0+90374+95a91213 ELSA-2024-12605, ELSA-2024-12604
Oracle Linux 8 supermin +1 5.2.1-1.module+el8.10.0+90374+95a91213 ELSA-2024-12605, ELSA-2024-12604
Oracle Linux 8 swtpm +4 0.7.0-3.20211109gitb79fd91.module+el8.10.0+90374+95a91213 ELSA-2024-12605, ELSA-2024-12604
Oracle Linux 8 virt-dib +22 1:1.44.0-5.0.1.module+el8.10.0+90374+95a91213 ELSA-2024-12605, ELSA-2024-12604
Oracle Linux 8 virt-v2v +3 1:1.42.0-19.0.1.module+el8.10.0+90374+95a91213 ELSA-2024-12605, ELSA-2024-12604

Advisories 10

References