Skip to content
OpenAdvisories

Description

A flaw was found in the QEMU virtual crypto device while handling data encryption/decryption requests in virtio_crypto_handle_sym_req. There is no check for the value of `src_len` and `dst_len` in virtio_crypto_sym_op_helper, potentially leading to a heap buffer overflow when the two values differ.

Affected products

VendorProductAffectedFixed
— qemu — —
Red Hat Red Hat Enterprise Linux 6 — —
Red Hat Red Hat Enterprise Linux 7 — —
Red Hat Red Hat Enterprise Linux 8 — —
Red Hat Red Hat Enterprise Linux 8 Advanced Virtualization — —
Red Hat Red Hat Enterprise Linux 9 — —
Fedora Fedora — —
Fedora Extra Packages for Enterprise Linux — —

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.0.4+dfsg-1 —
Debian 13 qemu 1:8.0.4+dfsg-1 —
Debian 12 qemu 1:7.2+dfsg-7+deb12u2 —
Debian 10 qemu 1:3.1+dfsg-8+deb10u11 DLA-3604-1
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS qemu 1:6.2+dfsg-2ubuntu6.16 USN-6567-1
Ubuntu 20.04 LTS qemu 1:4.2-3ubuntu6.28 USN-6567-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS qemu 1:2.11+dfsg-1ubuntu7.42+esm5 —
ReleasePackageFixed inAdvisory
SLES 15 SP5 qemu 7.1.0-150500.49.9.2 SUSE-SU-2024:0589-1, SUSE-SU-2023:4662-1
SLES 15 SP4 qemu 6.2.0-150400.37.23.1 SUSE-SU-2023:4056-1
SLES 15 SP3 qemu 5.2.0-150300.127.3 SUSE-SU-2023:3444-1
SLES 15 SP2 qemu 4.2.1-150200.79.1 SUSE-SU-2023:3721-1
SLES 15 SP1 qemu 3.1.1.1-150100.80.51.5 SUSE-SU-2023:3800-1
Show 16 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP5 qemu 3.1.1.1-72.1 SUSE-SU-2024:1395-1
SLES for SAP 15 SP3 qemu 5.2.0-150300.127.3 SUSE-SU-2023:3444-1
SLES for SAP 15 SP2 qemu 4.2.1-150200.79.1 SUSE-SU-2023:3721-1
SLES for SAP 15 SP1 qemu 3.1.1.1-150100.80.51.5 SUSE-SU-2023:3800-1
SLES for SAP 12 SP5 qemu 3.1.1.1-72.1 SUSE-SU-2024:1395-1
SLE Micro 5.5 qemu 7.1.0-150500.49.9.2 SUSE-SU-2023:4662-1
SLE Micro 5.4 qemu 6.2.0-150400.37.23.1 SUSE-SU-2023:4056-1
SLE Micro 5.3 qemu 6.2.0-150400.37.23.1 SUSE-SU-2023:4056-1
SLE Micro 5.2 qemu 5.2.0-150300.127.3 SUSE-SU-2023:3444-1
SLE Micro 5.1 qemu 5.2.0-150300.127.3 SUSE-SU-2023:3444-1
SLE HPC 15 SP3 qemu 5.2.0-150300.127.3 SUSE-SU-2023:3444-1
SLE HPC 15 SP2 qemu 4.2.1-150200.79.1 SUSE-SU-2023:3721-1
SLE HPC 15 SP1 qemu 3.1.1.1-150100.80.51.5 SUSE-SU-2023:3800-1
SUSE Manager Server 4.2 qemu 5.2.0-150300.127.3 SUSE-SU-2023:3444-1
SUSE Manager Proxy 4.2 qemu 5.2.0-150300.127.3 SUSE-SU-2023:3444-1
SUSE Enterprise Storage 7.1 qemu 5.2.0-150300.127.3 SUSE-SU-2023:3444-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed qemu 8.0.4-1.1 openSUSE-SU-2024:13114-1
openSUSE Leap 15.5 qemu 7.1.0-150500.49.9.2 SUSE-SU-2023:4662-1
openSUSE Leap 15.4 qemu 4.2.1-150200.79.1 SUSE-SU-2023:4056-1, SUSE-SU-2023:3721-1

Amazon Linux

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

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 qemu 8.2.0-1 —
Azure Linux 2 (CBL-Mariner) qemu 6.2.0-23 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 hivex +4 1.3.18-21.module+el8.8.0+21148+e83324c8 ELSA-2024-12152, ELSA-2023-12855
Oracle Linux 8 libguestfs-appliance 1:1.44.0-9.0.1.module+el8.8.0+21147+1292344f ELSA-2023-12855
Oracle Linux 8 libguestfs-winsupport 8.2-1.module+el8.8.0+21148+e83324c8 ELSA-2024-12152, ELSA-2023-12855
Oracle Linux 8 libiscsi +2 1.18.0-8.module+el8.8.0+21147+1292344f ELSA-2024-12152, ELSA-2023-12855
Oracle Linux 8 libnbd +3 1.2.2-1.module+el8.8.0+21148+e83324c8 ELSA-2024-12152, ELSA-2023-12855
Oracle Linux 8 libnbd-bash-completion 1.6.0-5.module+el8.8.0+21147+1292344f ELSA-2023-12855
Oracle Linux 8 libtpms +1 0.9.1-1.20211126git1ff6fe1f43.module+el8.8.0+21147+1292344f ELSA-2023-12855
Oracle Linux 8 libvirt +29 5.7.0-41.module+el8.8.0+21148+e83324c8 ELSA-2024-12152, ELSA-2023-12855
Oracle Linux 8 libvirt-dbus 1.3.0-2.module+el8.8.0+21147+1292344f ELSA-2024-12152, ELSA-2023-12855
Oracle Linux 8 libvirt-wireshark +1 9.0.0-3.module+el8.8.0+21147+1292344f ELSA-2023-12855
Oracle Linux 8 nbdkit +13 1.16.2-4.0.1.module+el8.8.0+21148+e83324c8 ELSA-2024-12152, ELSA-2023-12855
Oracle Linux 8 nbdkit-nbd-plugin +4 1.24.0-4.module+el8.8.0+21147+1292344f ELSA-2023-12855
Oracle Linux 8 netcf +2 0.2.8-12.module+el8.8.0+21147+1292344f ELSA-2024-12152, ELSA-2023-12855
Oracle Linux 8 perl-Sys-Virt 4.5.0-5.module+el8.8.0+21148+e83324c8 ELSA-2024-12152, ELSA-2023-12855
Oracle Linux 8 qemu-img +9 15:4.2.1-28.module+el8.8.0+21148+e83324c8 ELSA-2024-12152, ELSA-2023-12855
Oracle Linux 8 qemu-virtiofsd 15:7.2.0-5.module+el8.8.0+21147+1292344f ELSA-2023-12855
Oracle Linux 8 seabios +2 1.16.0-3.module+el8.8.0+21147+1292344f ELSA-2024-12152, ELSA-2023-12855
Oracle Linux 8 sgabios +1 1:0.20170427git-3.module+el8.8.0+21147+1292344f ELSA-2024-12152, ELSA-2023-12855
Oracle Linux 8 supermin +1 5.1.19-10.module+el8.8.0+21148+e83324c8 ELSA-2024-12152, ELSA-2023-12855
Oracle Linux 8 swtpm +4 0.7.0-4.20211109gitb79fd91.module+el8.8.0+21147+1292344f ELSA-2023-12855
Oracle Linux 8 virt-dib +23 1:1.40.2-28.0.4.module+el8.8.0+21148+e83324c8 ELSA-2024-12152, ELSA-2023-12855
Oracle Linux 8 virt-v2v-man-pages-ja +2 1:1.42.0-21.module+el8.8.0+21147+1292344f ELSA-2023-12855
Oracle Linux 7 qemu +12 15:4.2.1-28.el7 ELSA-2023-12835, ELSA-2023-12834

Advisories 16

References