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.
The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
Link | Tags |
---|---|
https://usn.ubuntu.com/4467-1/ | third party advisory vendor advisory |
https://bugzilla.redhat.com/show_bug.cgi?id=1808510 | issue tracking third party advisory patch |
https://www.debian.org/security/2020/dsa-4760 | third party advisory vendor advisory |