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.
{ "availability": "No subscription required", "ubuntu_priority": "medium", "binaries": [ { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu1", "binary_name": "libxen-dev" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu1", "binary_name": "libxencall1" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu1", "binary_name": "libxencall1-dbgsym" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu1", "binary_name": "libxendevicemodel1" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu1", "binary_name": "libxendevicemodel1-dbgsym" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu1", "binary_name": "libxenevtchn1" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu1", "binary_name": "libxenevtchn1-dbgsym" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu1", "binary_name": "libxenforeignmemory1" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu1", "binary_name": "libxenforeignmemory1-dbgsym" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu1", "binary_name": "libxengnttab1" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu1", "binary_name": "libxengnttab1-dbgsym" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu1", "binary_name": "libxenmisc4.11" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu1", "binary_name": "libxenmisc4.11-dbgsym" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu1", "binary_name": "libxenstore3.0" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu1", "binary_name": "libxenstore3.0-dbgsym" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu1", "binary_name": "libxentoolcore1" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu1", "binary_name": "libxentoolcore1-dbgsym" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu1", "binary_name": "libxentoollog1" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu1", "binary_name": "libxentoollog1-dbgsym" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu1", "binary_name": "xen-doc" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu1", "binary_name": "xen-hypervisor-4.11-amd64" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu1", "binary_name": "xen-hypervisor-4.11-arm64" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu1", "binary_name": "xen-hypervisor-4.11-armhf" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu1", "binary_name": "xen-hypervisor-4.9-amd64" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu1", "binary_name": "xen-hypervisor-4.9-arm64" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu1", "binary_name": "xen-hypervisor-4.9-armhf" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu1", "binary_name": "xen-hypervisor-common" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu1", "binary_name": "xen-system-amd64" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu1", "binary_name": "xen-system-arm64" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu1", "binary_name": "xen-system-armhf" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu1", "binary_name": "xen-utils-4.11" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu1", "binary_name": "xen-utils-4.11-dbgsym" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu1", "binary_name": "xen-utils-common" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu1", "binary_name": "xen-utils-common-dbgsym" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu1", "binary_name": "xenstore-utils" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu1", "binary_name": "xenstore-utils-dbgsym" } ] }