Access of Uninitialized Pointer Affecting qemu-project/qemu package, versions [,6.1.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.05% (17th 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-UNMANAGED-QEMUPROJECTQEMU-2933521
  • published22 Jun 2022
  • disclosed22 Jun 2022
  • creditUnknown

Introduced: 22 Jun 2022

CVE-2021-3608  (opens in a new tab)
CWE-824  (opens in a new tab)

How to fix?

Upgrade qemu-project/qemu to version 6.1.0 or higher.

Overview

Affected versions of this package are vulnerable to Access of Uninitialized Pointer in the pvrdma_ring_init() function that can occur while handling a PVRDMA_REG_DSRHIGH write from the guest. This is due to improper initialization of the ring->pages array. rdma_pci_dma_unmap() may pass an uninitialized pointer as an argument, leading to undefined behavior and possible crash of the QEMU process on the host.

CVSS Scores

version 3.1