Use After Free Affecting qemu package, versions <1:6.2+dfsg-2ubuntu6.2


Severity

Recommended
low

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.09% (40th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2204-QEMU-2781331
  • published25 Dec 2021
  • disclosed25 Aug 2022

Introduced: 25 Dec 2021

CVE-2021-3929  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade Ubuntu:22.04 qemu to version 1:6.2+dfsg-2ubuntu6.2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream qemu package and not the qemu package as distributed by Ubuntu. See How to fix? for Ubuntu:22.04 relevant fixed versions and status.

A DMA reentrancy issue was found in the NVM Express Controller (NVME) emulation in QEMU. This CVE is similar to CVE-2021-3750 and, just like it, when the reentrancy write triggers the reset function nvme_ctrl_reset(), data structs will be freed leading 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, executing arbitrary code within the context of the QEMU process on the host.

CVSS Scores

version 3.1