CVE-2021-3608
NixOS vulnerability analysis and mitigation

Overview

CVE-2021-3608 is a vulnerability discovered in QEMU's implementation of VMWare's paravirtual RDMA device. The vulnerability was identified in the pvrdmaringinit() function within hw/rdma/vmw/pvrdmadevring.c and affects QEMU versions prior to 6.1.0. The issue was disclosed and patched in June 2021 (Bugzilla Report, QEMU Patch).

Technical details

The vulnerability stems from improper initialization of the 'ring->pages' array in the pvrdmaringinit() function. When handling a 'PVRDMAREGDSRHIGH' write from the guest, rdmapcidma_unmap() may be passed an uninitialized pointer as an argument. The vulnerability has been assigned a CVSS score of 3.2 (LOW) with the vector CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:L (NetApp Advisory).

Impact

The vulnerability could lead to undefined behavior and potentially cause the QEMU process to crash on the host, resulting in a denial of service (DoS) condition (Bugzilla Report).

Mitigation and workarounds

The vulnerability was fixed in QEMU version 6.1.0 by modifying the ring initialization error flow. The fix involves using gmalloc0 instead of gmalloc to ensure proper initialization of memory. Various Linux distributions have released security updates to address this vulnerability, including Ubuntu, Debian, and Red Hat (Ubuntu Notice, Debian Notice).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-14330CRITICAL9.8
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox:*:*:*:*:esr:*:*:*
NoYesDec 09, 2025
CVE-2025-14329HIGH8.8
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox_esr
NoYesDec 09, 2025
CVE-2025-14333HIGH8.1
  • NixOSNixOS
  • firefox-esr
NoYesDec 09, 2025
CVE-2025-14332HIGH7.3
  • NixOSNixOS
  • thunderbird
NoYesDec 09, 2025
CVE-2025-14331MEDIUM6.5
  • NixOSNixOS
  • firefox
NoYesDec 09, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management