Database/Kernel, userspace & hypervisor

Xen through 4.12.x - passed-through PCI devices left able to DMA into host memory after being handed to an untrusted
Impact
A guest that has been assigned a physical device gains host privileges through DMA, because the device retains reach into memory it should have lost. For a GPU-passthrough cloud this is the direct form of the failure everyone worries about: the tenant you gave a GPU to uses that GPU to read and write the hypervisor. It also breaks tenant handoff, since the state that makes the device dangerous is set up around assignment and de-assignment - the exact transition that happens between customers.
Who can reach it
A tenant in a guest domain with a physical device assigned to it. That is the normal configuration of a GPU-passthrough product, not an unusual one.
What to do
Patch Xen (XSA-302) and reboot the hypervisor - a rolling drain across the fleet. Structurally, use the assignable-add workflow so devices are explicitly quarantined before and after assignment rather than being handed straight from host to guest. Beyond this specific CVE, the general lesson holds for every passthrough platform including KVM/VFIO: reset the device, flush its DMA mappings and re-verify its firmware between tenants, and treat 'the device was assigned to someone else five minutes ago' as untrusted state.
References
Related entries
- Xen on AMD-Vi (AMD IOMMU) - ACPI IVMD unity-map page permissions: Xen honours ACPI-described IOMMU unity mappings butCVE-2021-28694 · Xen on AMD-Vi (AMD IOMMU) - ACPI IVMD unity-map page permissionsMedium
- Xen on AMD-Vi - IOMMU page mapping permissions: Second of the XSA-378 IOMMU page-mapping issues on AMD-Vi. IncorrectCVE-2021-28695 · Xen on AMD-Vi - IOMMU page mapping permissionsMedium
- Xen on AMD-Vi - IOMMU page mapping permissions: Third of the XSA-378 AMD-Vi mapping issues. Same practical consequenceCVE-2021-28696 · Xen on AMD-Vi - IOMMU page mapping permissionsMedium
- Linux kernel (arch/x86/kvm): A failed RSM leaves the vCPU's SMM flag and the MMU role out of sync, so KVM resolves aCVE-2021-47230 · Linux kernel (arch/x86/kvm)Medium
- VMware ESXi: AD-integrated ESXi grants full host admin to any member of a re-created "ESX Admins" groupCVE-2024-37085 · VMware ESXiMedium
- Linux kernel (drivers/pci): A Downstream Port Containment event and a device removal happening at the same time leaveCVE-2024-42302 · Linux kernel (drivers/pci)Medium
This entry is curated: imported from vendor advisories with machine assistance, not yet individually verified. Confirm against your vendor's advisory before acting, and report anything wrong.