# CVE-2020-12829: qemu-block-extra: In QEMU through 5.0.0, an integer overflow was found in the SM501 display driver implementation

CVE-2020-12829 is fixed in 21 products on 1 platform, first by qemu 1:2.11+dfsg-1ubuntu7.31, released August 11, 2020. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2020-12829
- Priority: Routine
- CVSS: n/a (Medium)
- EPSS: 0.0037
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: May 25, 2020

## 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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | qemu Ubuntu 18.04.6 LTS (bionic) | 1:2.11+dfsg-1ubuntu7.31 | [qemu 1:2.11+dfsg-1ubuntu7.31](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-qemu-1-2.11-dfsg-1ubuntu7.31.md) | Aug 11, 2020 |
| Linux | qemu Ubuntu 20.04 LTS (focal) | 1:4.2-3ubuntu6.4 | [qemu 1:4.2-3ubuntu6.4](https://patchblox.com/security/data/fix/linux/ubuntu-focal-qemu-1-4.2-3ubuntu6.4.md) | Aug 11, 2020 |
| Linux | qemu-block-extra Ubuntu 18.04.6 LTS (bionic) | 1:2.11+dfsg-1ubuntu7.31 | [qemu-block-extra 1:2.11+dfsg-1ubuntu7.31](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-qemu-block-extra-1-2.11-dfsg-1ubuntu7.31.md) | Aug 11, 2020 |
| Linux | qemu-block-extra Ubuntu 20.04 LTS (focal) | 1:4.2-3ubuntu6.4 | [qemu-block-extra 1:4.2-3ubuntu6.4](https://patchblox.com/security/data/fix/linux/ubuntu-focal-qemu-block-extra-1-4.2-3ubuntu6.4.md) | Aug 11, 2020 |
| Linux | qemu-guest-agent Ubuntu 18.04.6 LTS (bionic) | 1:2.11+dfsg-1ubuntu7.31 | [qemu-guest-agent 1:2.11+dfsg-1ubuntu7.31](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-qemu-guest-agent-1-2.11-dfsg-1ubuntu7.31.md) | Aug 11, 2020 |
| Linux | qemu-guest-agent Ubuntu 20.04 LTS (focal) | 1:4.2-3ubuntu6.4 | [qemu-guest-agent 1:4.2-3ubuntu6.4](https://patchblox.com/security/data/fix/linux/ubuntu-focal-qemu-guest-agent-1-4.2-3ubuntu6.4.md) | Aug 11, 2020 |
| Linux | qemu-kvm Ubuntu 18.04.6 LTS (bionic) | 1:2.11+dfsg-1ubuntu7.31 | [qemu-kvm 1:2.11+dfsg-1ubuntu7.31](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-qemu-kvm-1-2.11-dfsg-1ubuntu7.31.md) | Aug 11, 2020 |
| Linux | qemu-kvm Ubuntu 20.04 LTS (focal) | 1:4.2-3ubuntu6.4 | [qemu-kvm 1:4.2-3ubuntu6.4](https://patchblox.com/security/data/fix/linux/ubuntu-focal-qemu-kvm-1-4.2-3ubuntu6.4.md) | Aug 11, 2020 |
| Linux | qemu-system Ubuntu 18.04.6 LTS (bionic) | 1:2.11+dfsg-1ubuntu7.31 | [qemu-system 1:2.11+dfsg-1ubuntu7.31](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-qemu-system-1-2.11-dfsg-1ubuntu7.31.md) | Aug 11, 2020 |
| Linux | qemu-system Ubuntu 20.04 LTS (focal) | 1:4.2-3ubuntu6.4 | [qemu-system 1:4.2-3ubuntu6.4](https://patchblox.com/security/data/fix/linux/ubuntu-focal-qemu-system-1-4.2-3ubuntu6.4.md) | Aug 11, 2020 |
| Linux | qemu-system-arm Ubuntu 18.04.6 LTS (bionic) | 1:2.11+dfsg-1ubuntu7.31 | [qemu-system-arm 1:2.11+dfsg-1ubuntu7.31](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-qemu-system-arm-1-2.11-dfsg-1ubuntu7.31.md) | Aug 11, 2020 |
| Linux | qemu-system-arm Ubuntu 20.04 LTS (focal) | 1:4.2-3ubuntu6.4 | [qemu-system-arm 1:4.2-3ubuntu6.4](https://patchblox.com/security/data/fix/linux/ubuntu-focal-qemu-system-arm-1-4.2-3ubuntu6.4.md) | Aug 11, 2020 |
| Linux | qemu-system-common Ubuntu 18.04.6 LTS (bionic) | 1:2.11+dfsg-1ubuntu7.31 | [qemu-system-common 1:2.11+dfsg-1ubuntu7.31](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-qemu-system-common-1-2.11-dfsg-1ubuntu7.31.md) | Aug 11, 2020 |
| Linux | qemu-system-common Ubuntu 20.04 LTS (focal) | 1:4.2-3ubuntu6.4 | [qemu-system-common 1:4.2-3ubuntu6.4](https://patchblox.com/security/data/fix/linux/ubuntu-focal-qemu-system-common-1-4.2-3ubuntu6.4.md) | Aug 11, 2020 |
| Linux | qemu-system-data Ubuntu 20.04 LTS (focal) | 1:4.2-3ubuntu6.4 | [qemu-system-data 1:4.2-3ubuntu6.4](https://patchblox.com/security/data/fix/linux/ubuntu-focal-qemu-system-data-1-4.2-3ubuntu6.4.md) | Aug 11, 2020 |
| Linux | qemu-system-gui Ubuntu 20.04 LTS (focal) | 1:4.2-3ubuntu6.4 | [qemu-system-gui 1:4.2-3ubuntu6.4](https://patchblox.com/security/data/fix/linux/ubuntu-focal-qemu-system-gui-1-4.2-3ubuntu6.4.md) | Aug 11, 2020 |
| Linux | qemu-system-mips Ubuntu 18.04.6 LTS (bionic) | 1:2.11+dfsg-1ubuntu7.31 | [qemu-system-mips 1:2.11+dfsg-1ubuntu7.31](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-qemu-system-mips-1-2.11-dfsg-1ubuntu7.31.md) | Aug 11, 2020 |
| Linux | qemu-system-mips Ubuntu 20.04 LTS (focal) | 1:4.2-3ubuntu6.4 | [qemu-system-mips 1:4.2-3ubuntu6.4](https://patchblox.com/security/data/fix/linux/ubuntu-focal-qemu-system-mips-1-4.2-3ubuntu6.4.md) | Aug 11, 2020 |
| Linux | qemu-system-misc Ubuntu 18.04.6 LTS (bionic) | 1:2.11+dfsg-1ubuntu7.31 | [qemu-system-misc 1:2.11+dfsg-1ubuntu7.31](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-qemu-system-misc-1-2.11-dfsg-1ubuntu7.31.md) | Aug 11, 2020 |
| Linux | qemu-system-misc Ubuntu 20.04 LTS (focal) | 1:4.2-3ubuntu6.4 | [qemu-system-misc 1:4.2-3ubuntu6.4](https://patchblox.com/security/data/fix/linux/ubuntu-focal-qemu-system-misc-1-4.2-3ubuntu6.4.md) | Aug 11, 2020 |
| Linux | qemu-system-ppc Ubuntu 18.04.6 LTS (bionic) | 1:2.11+dfsg-1ubuntu7.31 | [qemu-system-ppc 1:2.11+dfsg-1ubuntu7.31](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-qemu-system-ppc-1-2.11-dfsg-1ubuntu7.31.md) | Aug 11, 2020 |
| Linux | qemu-system-ppc Ubuntu 20.04 LTS (focal) | 1:4.2-3ubuntu6.4 | [qemu-system-ppc 1:4.2-3ubuntu6.4](https://patchblox.com/security/data/fix/linux/ubuntu-focal-qemu-system-ppc-1-4.2-3ubuntu6.4.md) | Aug 11, 2020 |
| Linux | qemu-system-s390x Ubuntu 18.04.6 LTS (bionic) | 1:2.11+dfsg-1ubuntu7.31 | [qemu-system-s390x 1:2.11+dfsg-1ubuntu7.31](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-qemu-system-s390x-1-2.11-dfsg-1ubuntu7.31.md) | Aug 11, 2020 |
| Linux | qemu-system-s390x Ubuntu 20.04 LTS (focal) | 1:4.2-3ubuntu6.4 | [qemu-system-s390x 1:4.2-3ubuntu6.4](https://patchblox.com/security/data/fix/linux/ubuntu-focal-qemu-system-s390x-1-4.2-3ubuntu6.4.md) | Aug 11, 2020 |
| Linux | qemu-system-sparc Ubuntu 18.04.6 LTS (bionic) | 1:2.11+dfsg-1ubuntu7.31 | [qemu-system-sparc 1:2.11+dfsg-1ubuntu7.31](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-qemu-system-sparc-1-2.11-dfsg-1ubuntu7.31.md) | Aug 11, 2020 |
| Linux | qemu-system-sparc Ubuntu 20.04 LTS (focal) | 1:4.2-3ubuntu6.4 | [qemu-system-sparc 1:4.2-3ubuntu6.4](https://patchblox.com/security/data/fix/linux/ubuntu-focal-qemu-system-sparc-1-4.2-3ubuntu6.4.md) | Aug 11, 2020 |
| Linux | qemu-system-x86 Ubuntu 18.04.6 LTS (bionic) | 1:2.11+dfsg-1ubuntu7.31 | [qemu-system-x86 1:2.11+dfsg-1ubuntu7.31](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-qemu-system-x86-1-2.11-dfsg-1ubuntu7.31.md) | Aug 11, 2020 |
| Linux | qemu-system-x86 Ubuntu 20.04 LTS (focal) | 1:4.2-3ubuntu6.4 | [qemu-system-x86 1:4.2-3ubuntu6.4](https://patchblox.com/security/data/fix/linux/ubuntu-focal-qemu-system-x86-1-4.2-3ubuntu6.4.md) | Aug 11, 2020 |
| Linux | qemu-system-x86-microvm Ubuntu 20.04 LTS (focal) | 1:4.2-3ubuntu6.4 | [qemu-system-x86-microvm 1:4.2-3ubuntu6.4](https://patchblox.com/security/data/fix/linux/ubuntu-focal-qemu-system-x86-microvm-1-4.2-3ubuntu6.4.md) | Aug 11, 2020 |
| Linux | qemu-system-x86-xen Ubuntu 20.04 LTS (focal) | 1:4.2-3ubuntu6.4 | [qemu-system-x86-xen 1:4.2-3ubuntu6.4](https://patchblox.com/security/data/fix/linux/ubuntu-focal-qemu-system-x86-xen-1-4.2-3ubuntu6.4.md) | Aug 11, 2020 |
| Linux | qemu-user Ubuntu 18.04.6 LTS (bionic) | 1:2.11+dfsg-1ubuntu7.31 | [qemu-user 1:2.11+dfsg-1ubuntu7.31](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-qemu-user-1-2.11-dfsg-1ubuntu7.31.md) | Aug 11, 2020 |
| Linux | qemu-user Ubuntu 20.04 LTS (focal) | 1:4.2-3ubuntu6.4 | [qemu-user 1:4.2-3ubuntu6.4](https://patchblox.com/security/data/fix/linux/ubuntu-focal-qemu-user-1-4.2-3ubuntu6.4.md) | Aug 11, 2020 |
| Linux | qemu-user-binfmt Ubuntu 18.04.6 LTS (bionic) | 1:2.11+dfsg-1ubuntu7.31 | [qemu-user-binfmt 1:2.11+dfsg-1ubuntu7.31](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-qemu-user-binfmt-1-2.11-dfsg-1ubuntu7.31.md) | Aug 11, 2020 |
| Linux | qemu-user-binfmt Ubuntu 20.04 LTS (focal) | 1:4.2-3ubuntu6.4 | [qemu-user-binfmt 1:4.2-3ubuntu6.4](https://patchblox.com/security/data/fix/linux/ubuntu-focal-qemu-user-binfmt-1-4.2-3ubuntu6.4.md) | Aug 11, 2020 |
| Linux | qemu-user-static Ubuntu 18.04.6 LTS (bionic) | 1:2.11+dfsg-1ubuntu7.31 | [qemu-user-static 1:2.11+dfsg-1ubuntu7.31](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-qemu-user-static-1-2.11-dfsg-1ubuntu7.31.md) | Aug 11, 2020 |
| Linux | qemu-user-static Ubuntu 20.04 LTS (focal) | 1:4.2-3ubuntu6.4 | [qemu-user-static 1:4.2-3ubuntu6.4](https://patchblox.com/security/data/fix/linux/ubuntu-focal-qemu-user-static-1-4.2-3ubuntu6.4.md) | Aug 11, 2020 |
| Linux | qemu-utils Ubuntu 18.04.6 LTS (bionic) | 1:2.11+dfsg-1ubuntu7.31 | [qemu-utils 1:2.11+dfsg-1ubuntu7.31](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-qemu-utils-1-2.11-dfsg-1ubuntu7.31.md) | Aug 11, 2020 |
| Linux | qemu-utils Ubuntu 20.04 LTS (focal) | 1:4.2-3ubuntu6.4 | [qemu-utils 1:4.2-3ubuntu6.4](https://patchblox.com/security/data/fix/linux/ubuntu-focal-qemu-utils-1-4.2-3ubuntu6.4.md) | Aug 11, 2020 |

---

Data as of 2026-11-08T00:53:09Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
