Database/Kernel, userspace & hypervisor
AMD EPYC IOMMU: reads past the Device Table let a malicious guest corrupt hypervisor pages
Impact
Under specific circumstances the AMD IOMMU reads past the end of the Device Table that the OS or hypervisor allocated. It treats the next physical page, which may belong to a guest, as device configuration. AMD rates the outcome as hypervisor page corruption and a possible host crash. Xen's XSA-524 says a guest might take control of a device's IOMMU configuration, modify arbitrary host memory and escalate to hypervisor privilege. The exposure depends on the platform. Hosts are at risk where the IVRS table does not cover a full PCI bus (Device Table under 2MB) and a device sits at, or can use, an initiator ID outside that range. That makes GPU passthrough hosts with multiple tenants the setup to check first. The issue affects EPYC 7001 through 9005 and 4004/8004 series parts.
Who can reach it
A malicious guest VM on an affected AMD EPYC host, on platforms where the IVRS and device layout meet the conditions above. Requires guest-level privileges, and the attack is high complexity.
What to do
For Xen, apply the XSA-524 patch (xen-unstable and 4.17.x and the stable branches) and reboot each host into the patched hypervisor, which means migrating or stopping its guests. Xen states there are no mitigations. For KVM and other hypervisors, and for any firmware component, check AMD-SB-3060 and AMD-SB-4018 for what applies. The record does not name a firmware or kernel fix version.
References
Related entries
- Linux kernel (drivers/iommu/intel): On device release VT-d could dereference a NULL domain and, separately, leave theCVE-2024-27079 · Linux kernel (drivers/iommu/intel)Medium
- Linux kernel (vsock/virtio): Dangling pointer in vskCVE-2024-50264 · Linux kernel (vsock/virtio)Medium
- Linux kernel (drivers/gpu/drm/scheduler): When one tenant's scheduler entity is killed, its scheduled fences are notCVE-2025-38436 · Linux kernel (drivers/gpu/drm/scheduler)Medium
- Linux kernel (drivers/gpu/drm/xe): A batched array of VM_BIND operations could evict other buffer objects belonging toCVE-2025-40086 · Linux kernel (drivers/gpu/drm/xe)Medium
- Linux kernel (drivers/gpu/drm/scheduler): Tearing down a GPU scheduler entity takes locks from a fence-signallingCVE-2025-40329 · Linux kernel (drivers/gpu/drm/scheduler)Medium
- OpenSSL: timing side channel in DSA signing can leak the private keyCVE-2018-0734 · OpenSSL libcrypto (DSA signature generation)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.