Skip to content
OpenAdvisories
Unscored CVE-2020-12829 EUVD-2020-5111GHSA-39p4-wghg-36vf

In QEMU through 5.0.0, an integer overflow was found in the SM501 display driver implementation. This flaw occurs in the COPY_AREA macro wh…

Published Aug 31, 2020 · Updated Aug 4, 2024 · Assigned by mitre

Description

In QEMU through 5.0.0, an integer overflow was found in the SM501 display driver implementation. This flaw occurs in the COPY_AREA macro while handling MMIO write operations through the sm501_2d_engine_write() callback. A local attacker could abuse this flaw to crash the QEMU process in sm501_2d_operation() in hw/display/sm501.c on the host, resulting in a denial of service.

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:5.0-12 —
Debian 13 qemu 1:5.0-12 —
Debian 12 qemu 1:5.0-12 —
Debian 10 qemu 1:3.1+dfsg-8+deb10u8 DSA-4760-1
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS qemu 1:4.2-3ubuntu6.4 USN-4467-1
Ubuntu 18.04 LTS qemu 1:2.11+dfsg-1ubuntu7.31 USN-4467-1
Ubuntu 16.04 LTS qemu 1:2.5+dfsg-5ubuntu10.45 USN-4467-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 14.04 LTS qemu 2.0.0+dfsg-2ubuntu1.47+esm6 —
ReleasePackageFixed inAdvisory
SLES 15 SP2 qemu 4.2.1-11.16.3 SUSE-SU-2021:1243-1
SLES 15 SP1 qemu 3.1.1.1-9.24.3 SUSE-SU-2021:1245-1
SLES 15 qemu 2.11.2-9.43.1 SUSE-SU-2021:1244-1
SLES 12 SP5 qemu 3.1.1.1-48.2 SUSE-SU-2021:1242-1
SLES 12 SP4 qemu 2.11.2-5.29.1 SUSE-SU-2021:1241-1
Show 21 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP3 qemu 2.9.1-6.47.1 SUSE-SU-2021:1240-1
SLES 12 SP2 qemu 2.6.2-41.62.1 SUSE-SU-2021:1305-1
SLES 11 SP4 kvm 1.4.2-60.34.1 SUSE-SU-2021:14704-1
SLES for SAP 15 SP1 qemu 3.1.1.1-9.24.3 SUSE-SU-2021:1245-1
SLES for SAP 15 qemu 2.11.2-9.43.1 SUSE-SU-2021:1244-1
SLES for SAP 12 SP5 qemu 3.1.1.1-48.2 SUSE-SU-2021:1242-1
SLES for SAP 12 SP4 qemu 2.11.2-5.29.1 SUSE-SU-2021:1241-1
SLES for SAP 12 SP3 qemu 2.9.1-6.47.1 SUSE-SU-2021:1240-1
SLE Micro 5.0 qemu 4.2.1-11.16.3 SUSE-SU-2021:1243-1
SLE HPC 15 SP1 qemu 3.1.1.1-9.24.3 SUSE-SU-2021:1245-1
SLE HPC 15 qemu 2.11.2-9.43.1 SUSE-SU-2021:1244-1
SUSE OpenStack Cloud Crowbar 9 qemu 2.11.2-5.29.1 SUSE-SU-2021:1241-1
SUSE OpenStack Cloud Crowbar 8 qemu 2.9.1-6.47.1 SUSE-SU-2021:1240-1
SUSE OpenStack Cloud 9 qemu 2.11.2-5.29.1 SUSE-SU-2021:1241-1
SUSE OpenStack Cloud 8 qemu 2.9.1-6.47.1 SUSE-SU-2021:1240-1
SUSE Manager Server 4.0 qemu 3.1.1.1-9.24.3 SUSE-SU-2021:1245-1
SUSE Manager Retail Branch Server 4.0 qemu 3.1.1.1-9.24.3 SUSE-SU-2021:1245-1
SUSE Manager Proxy 4.0 qemu 3.1.1.1-9.24.3 SUSE-SU-2021:1245-1
SUSE Linux Enterprise Point of Sale 11 SP3 kvm 1.4.2-53.38.1 SUSE-SU-2021:14706-1
SUSE HPE Helion OpenStack 8 qemu 2.9.1-6.47.1 SUSE-SU-2021:1240-1
SUSE Enterprise Storage 6 qemu 3.1.1.1-9.24.3 SUSE-SU-2021:1245-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.2 qemu +2 4.2.1-lp152.9.12.1 openSUSE-SU-2021:0600-1

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 qemu +12 15:4.2.1-4.el7 ELSA-2021-9034

Advisories 13

References