CVE-2020-15567 Race condition in n/a

High 7.8 Published Updated

A race condition in Xen's Intel EPT handling allows guest users to cause privilege escalation or denial of service on vulnerable compiler builds.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2020-15567?

CVE-2020-15567 is a high-severity vulnerability in Debian Debian Linux, published on 7 Jul 2020. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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.

Weakness: CWE-362

Which versions are affected by CVE-2020-15567?

It affects 4 products.

Products include Debian Debian Linux, Fedoraproject Fedora, Opensuse Leap, Xen Xen.

How do I fix CVE-2020-15567?

Apply the vendor's patch.

Is CVE-2020-15567 being exploited?

There is no known exploitation of CVE-2020-15567 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2020-15567, DEBIAN-CVE-2020-15567, GHSA-mpwm-7x8j-q5j2, UBUNTU-CVE-2020-15567.

Is CVE-2020-15567 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free