Pcornel
Browse topics
Options
Recent
Favorites
Security · Technical reference

Passthrough Security

Direct answer

Passthrough security: assigning physical devices to VMs relies on the IOMMU to isolate DMA. Only pass through trusted devices, keep firmware updated and remember that the VM then controls real hardware.

When to use this

Use this when passing physical devices to VMs safely.

First 30 seconds

1. Passthrough gives VMs direct hardware access — DMA risk.

2. Require IOMMU with interrupt remapping.

3. Only for trusted VMs.

4. Device firmware can be an attack vector.

5. Reset devices between uses.

Operational verification

device → IOMMU → VM (DMA restricted)

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common mistakes
  • Passing devices without IOMMU, letting the VM DMA into host memory.
  • Using ACS override on multi-tenant hosts.
  • Passing storage controllers that also hold host disks.
  • Not resetting devices between VMs (data from the previous VM may remain in device memory).
Platform / version applicability
Platform and workload security
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformPlatform and workload security
Scope / prerequisiteUse this when passing physical devices to VMs safely.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Checks Verify boundary
  • IOMMU enabled (dmesg | grep -i iommu), with interrupt remapping.
  • Devices in their own IOMMU group (find /sys/kernel/iommu_groups/ -type l).
  • Firmware of passthrough devices updated.
  • Only trusted VMs get passthrough devices.
Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • The IOMMU isolates device DMA.
  • Pass through only trusted devices.
  • Keep device firmware updated.
Key checks
  • dmesg | grep -i -e DMAR -e 'interrupt remapping' — IOMMU safety
  • Passthrough device inventory — which VMs
  • Firmware of passed devices — trust
ReferenceWhy it matters1 section · depth on demand

Risks and controls

A passed-through device can DMA into memory; the IOMMU (VT-d/AMD-Vi) must be enabled to confine it to the VM. Devices in the same IOMMU group must go to the same VM. Firmware on passthrough devices (GPUs, NICs) is outside the hypervisor's control, so keep it updated and use trusted hardware. Passthrough VMs cannot be live-migrated easily.

ReferenceImportant terms & boundaries1 section · depth on demand

In depth

Device passthrough (PCI passthrough, SR-IOV, USB passthrough) gives a VM direct access to physical hardware for performance or special devices. It bypasses parts of the hypervisor's isolation, so a compromised VM with passthrough has more direct access to hardware and DMA.

Security measures:

  • Use passthrough only where required, and document why.
  • Ensure IOMMU (VT-d/AMD-Vi) is enabled so devices cannot DMA into other memory.
  • Keep device firmware updated.
  • Avoid passing through devices shared with other trust zones.
  • Note that passthrough often disables live migration and some snapshots, affecting availability and backup plans.
Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docPlatform and workload security current

Authoritative/upstream documentation reviewed for bounded claims in Virtualization Security → Passthrough Security. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://csrc.nist.gov/pubs/sp/800/125/final · confidence 94%
Confirmation

Confirm action

Continue?