CVE-2023-31364
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedImproper handling of direct memory writes in the input-output memory management unit could allow a malicious guest virtual machine (VM) to flood a host with writes, potentially causing a fatal machine check error resulting in denial of service.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · moderate confidenceA vulnerability in the IOMMU (Input-Output Memory Management Unit) allows a malicious guest VM to flood the host with direct memory writes, causing a fatal machine check error (MCE) and resulting in host denial of service.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- Low
- Authentication
- X
- User interaction
- None
- Scope
- X
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Verify IOMMU is enabled in the systemCheck system firmware (BIOS/UEFI) settings for Intel VT-d or AMD-Vi (IOMMU) configuration, or run 'dmesg | grep -i iommu' on Linux hosts to see if IOMMU is active at boot.Affected if IOMMU is enabled - this is a prerequisite for the vulnerability to be exploitable; if IOMMU is disabled, the specific attack surface may not exist.
-
Identify the hypervisor and version in useRun commands such as 'xl info' (Xen), 'virsh version' (KVM/libvirt), 'vmware -v' (VMware), or check Hyper-V host information to determine the hypervisor type and version.Affected if The hypervisor version falls within any vendor-specific affected range (check respective vendor advisories for CVE-2023-31364).
-
Confirm IOMMU is exposed to guest VMsCheck hypervisor configuration files or settings to determine whether IOMMU/direct memory access (DMA) is being passed through to any VMs, particularly untrusted or third-party VMs.Affected if Untrusted VMs have direct IOMMU passthrough or SR-IOV device assignment enabled, allowing them to perform DMA operations.
-
Check host system logs for machine check errorsReview system logs (Linux: 'dmesg' or /var/log/messages, VMware: vmware.log, Xen: /var/log/xen/dom0.log) for Machine Check Exception (MCE), PCI errors, or IOMMU fault messages.Affected if Recent MCE errors or IOMMU fault events are present, which may indicate exploitation attempts or successful abuse.
-
Audit VM configuration for excessive DMA permissionsInspect VM definition files (e.g., XML for libvirt, .vmx for VMware, .cfg for Xen) for any 'passthrough' or 'iommu' settings that grant guests direct hardware access without isolation.Affected if VMs are configured with direct hardware passthrough or IOMMU group isolation is not enforced.
You are affected if your system has IOMMU enabled and exposes it to guest VMs, and your hypervisor version matches a vendor-advisory affected range for CVE-2023-31364, or you observe unexplained MCE errors suggesting possible exploitation.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
From vendor dataApply vendor-provided patches to the hypervisor or firmware containing IOMMU fixes. Consider restricting direct device assignment to untrusted VMs and ensuring IOMMU is properly configured with appropriate bounce buffering or memory protection limits.
- Consultation4.0 h
- Implementation2.0 h
- Testing8.0 h
- Review / QA4.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $4,928.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2023-31364 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2023-31364 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data