Bug 1778194 (CVE-2019-19577) - CVE-2019-19577 xen: vulnerability in dynamic height handling for AMD IOMMU pagetables (XSA-311 v2)
Summary: CVE-2019-19577 xen: vulnerability in dynamic height handling for AMD IOMMU pa...
Alias: CVE-2019-19577
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 1782208
Blocks: 1778196
TreeView+ depends on / blocked
Reported: 2019-11-29 13:16 UTC by Dhananjay Arunesh
Modified: 2021-02-16 20:57 UTC (History)
24 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2020-02-18 18:06:48 UTC

Attachments (Terms of Use)

Description Dhananjay Arunesh 2019-11-29 13:16:40 UTC
An issue was discovered in Xen through 4.12.x allowing x86 AMD HVM guest OS users to cause a denial of service or possibly gain privileges by triggering data-structure access during pagetable-height updates. When running on AMD systems with an IOMMU, Xen attempted to dynamically adapt the number of levels of pagetables (the pagetable height) in the IOMMU according to the guest's address space size. The code to select and update the height had several bugs. Notably, the update was done without taking a lock which is necessary for safe operation. A malicious guest administrator can cause Xen to access data structures while they are being modified, causing Xen to crash. Privilege escalation is thought to be very difficult but cannot be ruled out. Additionally, there is a potential memory leak of 4kb per guest boot, under memory pressure. Only Xen on AMD CPUs is vulnerable. Xen running on Intel CPUs is not vulnerable. ARM systems are not vulnerable. Only systems where guests are given direct access to physical devices are vulnerable. Systems which do not use PCI pass-through are not vulnerable. Only HVM guests can exploit the vulnerability. PV and PVH guests cannot. All versions of Xen with IOMMU support are vulnerable.

Comment 1 Marian Rehak 2019-12-11 12:38:37 UTC
Created xen tracking bugs for this issue:

Affects: fedora-all [bug 1782208]

Comment 2 Dhananjay Arunesh 2019-12-12 06:55:27 UTC
External References:


Note You need to log in before you can comment on or make changes to this bug.