A flaw was found in the QXL display device emulation in QEMU. A double fetch of guest controlled values cursor->header.width
and cursor->header.height
can lead to the allocation of a small cursor object followed by a subsequent heap-based buffer overflow. A malicious privileged guest user could use this flaw to crash the QEMU process on the host or potentially execute arbitrary code within the context of the QEMU process.
The product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating concurrently.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Qemu | Qemu | * | 7.0.0 (excluding) |
Advanced Virtualization for RHEL 8.4.0.EUS | RedHat | virt:av-8040020220517095834.522a0ee4 | * |
Advanced Virtualization for RHEL 8.4.0.EUS | RedHat | virt-devel:av-8040020220517095834.522a0ee4 | * |
Red Hat Enterprise Linux 8 | RedHat | virt-devel:rhel-8060020220616155742.ad008a3a | * |
Red Hat Enterprise Linux 8 | RedHat | virt:rhel-8060020220616155742.ad008a3a | * |
Qemu | Ubuntu | bionic | * |
Qemu | Ubuntu | devel | * |
Qemu | Ubuntu | esm-infra/bionic | * |
Qemu | Ubuntu | esm-infra/focal | * |
Qemu | Ubuntu | focal | * |
Qemu | Ubuntu | impish | * |
Qemu | Ubuntu | jammy | * |
Qemu | Ubuntu | kinetic | * |
Qemu | Ubuntu | lunar | * |
Qemu | Ubuntu | mantic | * |
Qemu | Ubuntu | noble | * |
Qemu | Ubuntu | oracular | * |
Qemu | Ubuntu | plucky | * |
Qemu | Ubuntu | questing | * |
Qemu | Ubuntu | trusty | * |
Qemu | Ubuntu | trusty/esm | * |
Qemu | Ubuntu | xenial | * |
A race condition occurs within concurrent environments, and it is effectively a property of a code sequence. Depending on the context, a code sequence may be in the form of a function call, a small number of instructions, a series of program invocations, etc. A race condition violates these properties, which are closely related:
A race condition exists when an “interfering code sequence” can still access the shared resource, violating exclusivity. The interfering code sequence could be “trusted” or “untrusted.” A trusted interfering code sequence occurs within the product; it cannot be modified by the attacker, and it can only be invoked indirectly. An untrusted interfering code sequence can be authored directly by the attacker, and typically it is external to the vulnerable product.