CVE-2020-15565 Privilege escalation in n/a

High 8.8 Published Updated

A malicious guest can gain host privileges or cause denial of service due to missing cache write-back during page table splitting in Xen.

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-15565?

CVE-2020-15565 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 x86 Intel HVM guest OS users to cause a host OS denial of service or possibly gain privileges because of insufficient cache write-back under VT-d. When page tables are shared between IOMMU and CPU, changes to them require flushing of both TLBs. Furthermore, IOMMUs may be non-coherent, and hence prior to flushing IOMMU TLBs, a CPU cache also needs writing back to memory after changes were made. Such writing back of cached data was missing in particular when splitting large page mappings into smaller granularity ones. A malicious guest may be able to retain read/write DMA access to frames returned to Xen's free pool, and later reused for another purpose. Host crashes (leading to a Denial of Service) and privilege escalation cannot be ruled out. Xen versions from at least 3.2 onwards are affected. Only x86 Intel systems are affected. x86 AMD as well as Arm systems are not affected. Only x86 HVM guests using hardware assisted paging (HAP), having a passed through PCI device assigned, and having page table sharing enabled can leverage the vulnerability. Note that page table sharing will be enabled (by default) only if Xen considers IOMMU and CPU large page size support compatible.

Weakness: CWE-400

Which versions are affected by CVE-2020-15565?

It affects 4 products.

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

How do I fix CVE-2020-15565?

Apply the vendor's patch.

Is CVE-2020-15565 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2020-15565, DEBIAN-CVE-2020-15565, GHSA-xcjp-mj7m-5f57, UBUNTU-CVE-2020-15565.

Is CVE-2020-15565 in your software?

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

Check your SBOMs for free