An issue was discovered in Xen through 4.13.x, allowing Intel guest OS users to gain privileges or cause a denial of service because of non-atomic modification of a live EPT PTE. When mapping guest EPT (nested paging) tables, Xen would in some circumstances use a series of non-atomic bitfield writes. Depending on the compiler version and optimisation flags, Xen might expose a dangerous partially written PTE to the hardware, which an attacker might be able to race to exploit. A guest administrator or perhaps even an unprivileged guest user might be able to cause denial of service, data corruption, or privilege escalation. Only systems using Intel CPUs are vulnerable. Systems using AMD CPUs, and Arm systems, are not vulnerable. Only systems using nested paging (hap, aka nested paging, aka in this case Intel EPT) are vulnerable. Only HVM and PVH guests can exploit the vulnerability. The presence and scope of the vulnerability depends on the precise optimisations performed by the compiler used to build Xen. If the compiler generates (a) a single 64-bit write, or (b) a series of read-modify-write operations in the same order as the source code, the hypervisor is not vulnerable. For example, in one test build using GCC 8.3 with normal settings, the compiler generated multiple (unlocked) read-modify-write operations in source-code order, which did not constitute a vulnerability. We have not been able to survey compilers; consequently we cannot say which compiler(s) might produce vulnerable code (with which code-generation options). The source code clearly violates the C rules, and thus should be considered vulnerable.
{ "availability": "No subscription required", "ubuntu_priority": "medium", "binaries": [ { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3", "binary_name": "libxen-dev" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3", "binary_name": "libxencall1" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3", "binary_name": "libxencall1-dbgsym" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3", "binary_name": "libxendevicemodel1" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3", "binary_name": "libxendevicemodel1-dbgsym" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3", "binary_name": "libxenevtchn1" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3", "binary_name": "libxenevtchn1-dbgsym" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3", "binary_name": "libxenforeignmemory1" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3", "binary_name": "libxenforeignmemory1-dbgsym" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3", "binary_name": "libxengnttab1" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3", "binary_name": "libxengnttab1-dbgsym" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3", "binary_name": "libxenmisc4.11" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3", "binary_name": "libxenmisc4.11-dbgsym" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3", "binary_name": "libxenstore3.0" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3", "binary_name": "libxenstore3.0-dbgsym" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3", "binary_name": "libxentoolcore1" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3", "binary_name": "libxentoolcore1-dbgsym" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3", "binary_name": "libxentoollog1" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3", "binary_name": "libxentoollog1-dbgsym" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3", "binary_name": "xen-doc" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3", "binary_name": "xen-hypervisor-4.11-amd64" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3", "binary_name": "xen-hypervisor-4.11-arm64" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3", "binary_name": "xen-hypervisor-4.11-armhf" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3", "binary_name": "xen-hypervisor-4.9-amd64" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3", "binary_name": "xen-hypervisor-4.9-arm64" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3", "binary_name": "xen-hypervisor-4.9-armhf" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3", "binary_name": "xen-hypervisor-common" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3", "binary_name": "xen-system-amd64" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3", "binary_name": "xen-system-arm64" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3", "binary_name": "xen-system-armhf" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3", "binary_name": "xen-utils-4.11" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3", "binary_name": "xen-utils-4.11-dbgsym" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3", "binary_name": "xen-utils-common" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3", "binary_name": "xen-utils-common-dbgsym" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3", "binary_name": "xenstore-utils" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3", "binary_name": "xenstore-utils-dbgsym" } ] }
{ "availability": "No subscription required", "ubuntu_priority": "medium", "binaries": [ { "binary_version": "4.11.4+24-gddaaccbbab-1ubuntu2", "binary_name": "libxen-dev" }, { "binary_version": "4.11.4+24-gddaaccbbab-1ubuntu2", "binary_name": "libxencall1" }, { "binary_version": "4.11.4+24-gddaaccbbab-1ubuntu2", "binary_name": "libxencall1-dbgsym" }, { "binary_version": "4.11.4+24-gddaaccbbab-1ubuntu2", "binary_name": "libxendevicemodel1" }, { "binary_version": "4.11.4+24-gddaaccbbab-1ubuntu2", "binary_name": "libxendevicemodel1-dbgsym" }, { "binary_version": "4.11.4+24-gddaaccbbab-1ubuntu2", "binary_name": "libxenevtchn1" }, { "binary_version": "4.11.4+24-gddaaccbbab-1ubuntu2", "binary_name": "libxenevtchn1-dbgsym" }, { "binary_version": "4.11.4+24-gddaaccbbab-1ubuntu2", "binary_name": "libxenforeignmemory1" }, { "binary_version": "4.11.4+24-gddaaccbbab-1ubuntu2", "binary_name": "libxenforeignmemory1-dbgsym" }, { "binary_version": "4.11.4+24-gddaaccbbab-1ubuntu2", "binary_name": "libxengnttab1" }, { "binary_version": "4.11.4+24-gddaaccbbab-1ubuntu2", "binary_name": "libxengnttab1-dbgsym" }, { "binary_version": "4.11.4+24-gddaaccbbab-1ubuntu2", "binary_name": "libxenmisc4.11" }, { "binary_version": "4.11.4+24-gddaaccbbab-1ubuntu2", "binary_name": "libxenmisc4.11-dbgsym" }, { "binary_version": "4.11.4+24-gddaaccbbab-1ubuntu2", "binary_name": "libxenstore3.0" }, { "binary_version": "4.11.4+24-gddaaccbbab-1ubuntu2", "binary_name": "libxenstore3.0-dbgsym" }, { "binary_version": "4.11.4+24-gddaaccbbab-1ubuntu2", "binary_name": "libxentoolcore1" }, { "binary_version": "4.11.4+24-gddaaccbbab-1ubuntu2", "binary_name": "libxentoolcore1-dbgsym" }, { "binary_version": "4.11.4+24-gddaaccbbab-1ubuntu2", "binary_name": "libxentoollog1" }, { "binary_version": "4.11.4+24-gddaaccbbab-1ubuntu2", "binary_name": "libxentoollog1-dbgsym" }, { "binary_version": "4.11.4+24-gddaaccbbab-1ubuntu2", "binary_name": "xen-doc" }, { "binary_version": "4.11.4+24-gddaaccbbab-1ubuntu2", "binary_name": "xen-hypervisor-4.11-amd64" }, { "binary_version": "4.11.4+24-gddaaccbbab-1ubuntu2", "binary_name": "xen-hypervisor-4.11-arm64" }, { "binary_version": "4.11.4+24-gddaaccbbab-1ubuntu2", "binary_name": "xen-hypervisor-4.11-armhf" }, { "binary_version": "4.11.4+24-gddaaccbbab-1ubuntu2", "binary_name": "xen-hypervisor-common" }, { "binary_version": "4.11.4+24-gddaaccbbab-1ubuntu2", "binary_name": "xen-system-amd64" }, { "binary_version": "4.11.4+24-gddaaccbbab-1ubuntu2", "binary_name": "xen-system-arm64" }, { "binary_version": "4.11.4+24-gddaaccbbab-1ubuntu2", "binary_name": "xen-system-armhf" }, { "binary_version": "4.11.4+24-gddaaccbbab-1ubuntu2", "binary_name": "xen-utils-4.11" }, { "binary_version": "4.11.4+24-gddaaccbbab-1ubuntu2", "binary_name": "xen-utils-4.11-dbgsym" }, { "binary_version": "4.11.4+24-gddaaccbbab-1ubuntu2", "binary_name": "xen-utils-common" }, { "binary_version": "4.11.4+24-gddaaccbbab-1ubuntu2", "binary_name": "xen-utils-common-dbgsym" }, { "binary_version": "4.11.4+24-gddaaccbbab-1ubuntu2", "binary_name": "xenstore-utils" }, { "binary_version": "4.11.4+24-gddaaccbbab-1ubuntu2", "binary_name": "xenstore-utils-dbgsym" } ] }