CVE-2021-3308
NixOS vulnerability analysis and mitigation

Overview

CVE-2021-3308 was discovered in Xen versions 4.12.3 through 4.12.4 and 4.13.1 through 4.14.x, disclosed on January 26, 2021. The vulnerability affects x86 systems running HVM guests with PCI pass-through devices. The issue was discovered by James McCoy, debugged with Samuel Verschelde of Vates, and recognized as a security issue by Roger Pau Monné of Citrix (Xen Advisory).

Technical details

The vulnerability allows an x86 HVM guest with PCI pass-through devices to force the allocation of all IDT vectors on the system by rebooting itself with MSI or MSI-X capabilities enabled and entries setup. Such reboots leak vectors used by the MSI(-X) entries, leading to vector exhaustion on the system, preventing further PCI pass-through devices from working properly. The vulnerability has been assigned a CVSS v3.1 Base Score of 5.5 (Medium) with vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

The vulnerability enables HVM guests with PCI pass-through devices to mount a Denial of Service (DoS) attack affecting the pass-through of PCI devices to other guests or the hardware domain. When affecting the hardware domain, the impact extends to the entire host. Even non-malicious guests can trigger this vulnerability during normal operation (Xen Advisory).

Exploitability

The vulnerability can be exploited by any HVM guest with PCI pass-through devices. The attack vector requires local access with privileged code execution capabilities in a guest VM. The vulnerability was reported and debugged publicly before its security implications were apparent (Xen Advisory).

Mitigation and workarounds

The primary mitigation is to not run HVM guests with PCI pass-through devices. For a permanent fix, system administrators should apply the appropriate patches provided by Xen or upgrade to fixed versions. Patches were prepared for the stable branches, and downstream users are encouraged to update to the tip of the stable branch before applying these patches (Xen Advisory).

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-2026-75874CRITICAL10
  • NixOS logoNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesAug 18, 2026
CVE-2026-74990CRITICAL9.8
  • NixOS logoNixOS
  • thunderbird
NoYesAug 18, 2026
CVE-2026-74989CRITICAL9.8
  • NixOS logoNixOS
  • thunderbird
NoYesAug 18, 2026
CVE-2026-74988CRITICAL9.8
  • NixOS logoNixOS
  • thunderbird
NoYesAug 18, 2026
CVE-2026-74987CRITICAL9.8
  • NixOS logoNixOS
  • MozillaFirefox
NoYesAug 18, 2026

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