Skip to content
OpenAdvisories
Medium · 4.9 CVE-2023-6693 EUVD-2023-58914GHSA-835p-c6x8-xh5f

Qemu: virtio-net: stack buffer overflow in virtio_net_flush_tx()

Published Jan 2, 2024 · Updated Nov 5, 2026 · Assigned by redhat

Description

A stack based buffer overflow was found in the virtio-net device of QEMU. This issue occurs when flushing TX in the virtio_net_flush_tx function if guest features VIRTIO_NET_F_HASH_REPORT, VIRTIO_F_VERSION_1 and VIRTIO_NET_F_MRG_RXBUF are enabled. This could allow a malicious user to overwrite local variables allocated on the stack. Specifically, the `out_sg` variable could be used to read a part of process memory and send it to the wire, causing an information leak.

Affected products

VendorProductAffectedFixed
Red Hat Red Hat Enterprise Linux 8 — —
Red Hat Red Hat Enterprise Linux 9 — —
Red Hat Red Hat Enterprise Linux 6 — —
Red Hat Red Hat Enterprise Linux 7 — —
Red Hat Red Hat Enterprise Linux 8 Advanced Virtualization — —

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.0+ds-3 —
Debian 13 qemu 1:8.2.0+ds-3 —
Debian 12 qemu 1:7.2+dfsg-7+deb12u4 —
Debian 11 qemu 1:5.2+dfsg-11+deb11u4 DLA-4144-1
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS qemu 1:6.2+dfsg-2ubuntu6.22 USN-6954-1
ReleasePackageFixed inAdvisory
RHEL 9 qemu-img +19 17:9.0.0-10.el9_5.3 RHSA-2025:4492
RHEL 8 SLOF 20210217-2.module+el8.10.0+20141+6faa2812 RHSA-2024:2962
RHEL 8 hivex +6 1.3.18-23.module+el8.9.0+18724+20190c23 RHSA-2024:2962
RHEL 8 libguestfs-winsupport 8.10-1.module+el8.10.0+19908+9938c7c9 RHSA-2024:2962
RHEL 8 libiscsi +2 1.18.0-8.module+el8.9.0+18724+20190c23 RHSA-2024:2962
RHEL 8 libnbd +6 1.6.0-5.module+el8.9.0+18724+20190c23 RHSA-2024:2962
RHEL 8 libtpms +1 0.9.1-2.20211126git1ff6fe1f43.module+el8.9.0+18724+20190c23 RHSA-2024:2962
RHEL 8 libvirt +27 8.0.0-23.module+el8.10.0+21023+5962ee04 RHSA-2024:2962
RHEL 8 libvirt-dbus 1.3.0-2.module+el8.9.0+18724+20190c23 RHSA-2024:2962
RHEL 8 libvirt-python +1 8.0.0-2.module+el8.9.0+18724+20190c23 RHSA-2024:2962
RHEL 8 nbdkit +18 1.24.0-5.module+el8.9.0+18724+20190c23 RHSA-2024:2962
RHEL 8 netcf +2 0.2.8-12.module+el8.9.0+18724+20190c23 RHSA-2024:2962
RHEL 8 perl-Sys-Virt 8.0.0-1.module+el8.9.0+18724+20190c23 RHSA-2024:2962
RHEL 8 qemu-img +14 15:6.2.0-49.module+el8.10.0+21533+3df3c4b6 RHSA-2024:2962
RHEL 8 seabios +2 1.16.0-4.module+el8.9.0+19570+14a90618 RHSA-2024:2962
RHEL 8 sgabios +1 1:0.20170427git-3.module+el8.9.0+18724+20190c23 RHSA-2024:2962
RHEL 8 supermin +1 5.2.1-2.module+el8.9.0+18724+20190c23 RHSA-2024:2962
RHEL 8 swtpm +4 0.7.0-4.20211109gitb79fd91.module+el8.9.0+18724+20190c23 RHSA-2024:2962
RHEL 8 virt-dib +24 1:1.44.0-9.module+el8.9.0+18724+20190c23 RHSA-2024:2962
RHEL 8 virt-v2v +3 1:1.42.0-22.module+el8.9.0+18724+20190c23 RHSA-2024:2962

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 9 qemu-kvm 7:9.0.0-10.el9_5.3 RLSA-2025:4492
Rocky Linux 8 hivex 1.3.18-23.module+el8.10.0+1590+a67ab969 RLSA-2024:2962
Rocky Linux 8 libguestfs 1:1.44.0-9.module+el8.10.0+1590+a67ab969.rocky RLSA-2024:2962
Rocky Linux 8 libguestfs-winsupport 8.10-1.module+el8.10.0+1451+358d0d76 RLSA-2024:2962
Rocky Linux 8 libiscsi 1.18.0-8.module+el8.10.0+1590+a67ab969 RLSA-2024:2962
Rocky Linux 8 libnbd 1.6.0-5.module+el8.10.0+1590+a67ab969 RLSA-2024:2962
Rocky Linux 8 libtpms 0.9.1-2.20211126git1ff6fe1f43.module+el8.10.0+1590+a67ab969 RLSA-2024:2962
Rocky Linux 8 libvirt 8.0.0-23.1.module+el8.10.0+1779+84732956 RLSA-2024:2962
Rocky Linux 8 libvirt-dbus 1.3.0-2.module+el8.10.0+1590+a67ab969 RLSA-2024:2962
Rocky Linux 8 libvirt-python 8.0.0-2.module+el8.10.0+1590+a67ab969 RLSA-2024:2962
Rocky Linux 8 nbdkit 1.24.0-5.module+el8.10.0+1590+a67ab969 RLSA-2024:2962
Rocky Linux 8 netcf 0.2.8-12.module+el8.10.0+1590+a67ab969 RLSA-2024:2962
Rocky Linux 8 perl-Sys-Virt 8.0.0-1.module+el8.10.0+1590+a67ab969 RLSA-2024:2962
Rocky Linux 8 qemu-kvm 5:6.2.0-49.module+el8.10.0+1752+38c6b60a RLSA-2024:2962
Rocky Linux 8 seabios 1.16.0-4.module+el8.9.0+1408+7b966129 RLSA-2024:2962
Rocky Linux 8 sgabios 1:0.20170427git-3.module+el8.10.0+1590+a67ab969 RLSA-2024:2962
Rocky Linux 8 supermin 5.2.1-2.module+el8.10.0+1590+a67ab969 RLSA-2024:2962
Rocky Linux 8 swtpm 0.7.0-4.20211109gitb79fd91.module+el8.10.0+1590+a67ab969 RLSA-2024:2962
Rocky Linux 8 virt-v2v 1:1.42.0-22.module+el8.10.0+1590+a67ab969 RLSA-2024:2962
ReleasePackageFixed inAdvisory
SLES 15 SP5 qemu 7.1.0-150500.49.12.1 SUSE-SU-2024:1103-1
SLES 12 SP5 qemu 3.1.1.1-75.1 SUSE-SU-2024:3229-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 12 SP5 qemu 3.1.1.1-75.1 SUSE-SU-2024:3229-1
SLE Micro 5.5 qemu 7.1.0-150500.49.12.1 SUSE-SU-2024:1103-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed qemu 8.2.1-1.1 openSUSE-SU-2024:13705-1
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-13 —
Azure Linux 2 (CBL-Mariner) qemu 6.2.0-21 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 qemu-img +18 17:9.0.0-10.el9_5.3 ELSA-2025-4492, ELSA-2024-12407
Oracle Linux 9 qemu-virtiofsd +2 30:7.2.0-11.el9 ELSA-2024-12407
Oracle Linux 8 hivex +6 1.3.18-23.module+el8.9.0+90075+85334608 ELSA-2024-12605, ELSA-2024-12276, ELSA-2024-2962
Oracle Linux 8 libguestfs-winsupport 8.6-1.module+el8.10.0+90374+95a91213 ELSA-2024-12605, ELSA-2024-12276, ELSA-2024-2962
Oracle Linux 8 libiscsi +2 1.18.0-8.module+el8.9.0+90052+d3bf71d8 ELSA-2024-12605, ELSA-2024-12276, ELSA-2024-2962
Oracle Linux 8 libnbd +6 1.6.0-5.module+el8.9.0+90052+d3bf71d8 ELSA-2024-12605, ELSA-2024-12276, ELSA-2024-2962
Oracle Linux 8 libtpms +1 0.9.1-0.20211126git1ff6fe1f43.module+el8.10.0+90374+95a91213 ELSA-2024-12605, ELSA-2024-12276, ELSA-2024-2962
Oracle Linux 8 libvirt +28 7.10.0-4.module+el8.10.0+90374+95a91213 ELSA-2024-12605, ELSA-2024-12276, ELSA-2024-2962
Oracle Linux 8 libvirt-client-qemu 9.0.0-5.module+el8.9.0+90173+a3f3e83a ELSA-2024-12276
Oracle Linux 8 libvirt-dbus 1.3.0-2.module+el8.9.0+90052+d3bf71d8 ELSA-2024-12605, ELSA-2024-12276, ELSA-2024-2962
Oracle Linux 8 nbdkit +18 1.24.0-4.module+el8.10.0+90374+95a91213 ELSA-2024-12605, ELSA-2024-12276, ELSA-2024-2962
Oracle Linux 8 netcf +2 0.2.8-12.module+el8.9.0+90052+d3bf71d8 ELSA-2024-12605, ELSA-2024-12276, ELSA-2024-2962
Oracle Linux 8 ocaml-libguestfs +1 1:1.44.0-9.0.2.module+el8.9.0+90052+d3bf71d8 ELSA-2024-2962
Oracle Linux 8 perl-Sys-Virt 6.0.0-1.module+el8.10.0+90374+95a91213 ELSA-2024-12605, ELSA-2024-12276, ELSA-2024-2962
Oracle Linux 8 qemu-img +10 15:6.1.1-9.module+el8.10.0+90374+95a91213 ELSA-2024-12605, ELSA-2024-12276, ELSA-2024-2962
Oracle Linux 8 qemu-kvm-docs +4 15:6.2.0-49.module+el8.10.0+90330+d0258130 ELSA-2024-2962
Oracle Linux 8 seabios +2 1.15.0-2.module+el8.10.0+90374+95a91213 ELSA-2024-12605, ELSA-2024-12276, ELSA-2024-2962
Oracle Linux 8 sgabios +1 1:0.20170427git-3.module+el8.9.0+90052+d3bf71d8 ELSA-2024-12605, ELSA-2024-12276, ELSA-2024-2962
Oracle Linux 8 supermin +1 5.2.1-1.module+el8.10.0+90374+95a91213 ELSA-2024-12605, ELSA-2024-12276, ELSA-2024-2962
Oracle Linux 8 swtpm +4 0.7.0-3.20211109gitb79fd91.module+el8.10.0+90374+95a91213 ELSA-2024-12605, ELSA-2024-12276, ELSA-2024-2962
Oracle Linux 8 virt-dib +22 1:1.44.0-5.0.1.module+el8.10.0+90374+95a91213 ELSA-2024-12605, ELSA-2024-12276, ELSA-2024-2962
Oracle Linux 8 virt-v2v +3 1:1.42.0-19.0.1.module+el8.10.0+90374+95a91213 ELSA-2024-12605, ELSA-2024-12276, ELSA-2024-2962

Advisories 15

References