CVE-2021-3750
Published: 2 May 2022
A DMA reentrancy issue was found in the USB EHCI controller emulation of QEMU. EHCI does not verify if the Buffer Pointer overlaps with its MMIO region when it transfers the USB packets. Crafted content may be written to the controller's registers and trigger undesirable actions (such as reset) while the device is still transferring packets. This can ultimately lead to a use-after-free issue. A malicious guest could use this flaw to crash the QEMU process on the host, resulting in a denial of service condition, or potentially execute arbitrary code within the context of the QEMU process on the host. This flaw affects QEMU versions before 7.0.0.
Priority
CVSS 3 base score: 8.2
Status
Package | Release | Status |
---|---|---|
qemu Launchpad, Ubuntu, Debian |
bionic |
Needed
|
focal |
Needed
|
|
hirsute |
Ignored
(reached end-of-life)
|
|
impish |
Needed
|
|
jammy |
Needed
|
|
trusty |
Needed
|
|
upstream |
Needs triage
|
|
xenial |
Needed
|
|
Patches: upstream: https://lists.nongnu.org/archive/html/qemu-devel/2021-08/msg03692.html upstream: https://lists.nongnu.org/archive/html/qemu-devel/2021-12/msg02356.html (newer) upstream: https://git.qemu.org/?p=qemu.git;a=commit;h=58e74682baf4e1ad26b064d8c02e5bc99c75c5d9 upstream: https://git.qemu.org/?p=qemu.git;a=commit;h=3ab6fdc91b72e156da22848f0003ff4225690ced |
Notes
Author | Note |
---|---|
mdeslaur | as of 2022-06-09, the proposed patches have not been committed into the upstream tree Part of the DMA reentrancy issues need to investigate the 3rd patch that was not commited |