| Name | CVE-2020-12829 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DSA-4760-1 |
| Debian Bugs | 961451 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| qemu (PTS) | bullseye | 1:5.2+dfsg-11+deb11u3 | fixed |
| bullseye (security) | 1:5.2+dfsg-11+deb11u5 | fixed | |
| bookworm | 1:7.2+dfsg-7+deb12u16 | fixed | |
| bookworm (security) | 1:7.2+dfsg-7+deb12u15 | fixed | |
| trixie | 1:10.0.3+ds-0+deb13u1 | fixed | |
| trixie (security) | 1:10.0.2+ds-2+deb13u1 | fixed | |
| forky, sid | 1:10.1.2+ds-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| qemu | source | stretch | (not affected) | |||
| qemu | source | buster | 1:3.1+dfsg-8+deb10u8 | DSA-4760-1 | ||
| qemu | source | (unstable) | 1:5.0-12 | low | 961451 |
[stretch] - qemu <not-affected> (SM501 only compiled for misc/sh4 where it's not enabled as a graphics device yet; intrusive)
https://bugzilla.redhat.com/show_bug.cgi?id=1808510
https://bugzilla.redhat.com/show_bug.cgi?id=1786026
https://git.qemu.org/?p=qemu.git;a=commit;h=b15a22bbcbe6a78dc3d88fe3134985e4cdd87de4