CVE-2020-15565
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.
What to do
Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | xen | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | xen | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | xen | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | xen | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | xen | Fixed | 4.11.3+24-g14b62ab3e5-1ubuntu2.3 | UBUNTU-CVE-2020-15565 |
| Ubuntu 18.04 | xen | Fix pending | UBUNTU-CVE-2020-15565 | |
| Ubuntu 16.04 | xen | Fix pending | UBUNTU-CVE-2020-15565 | |
| Ubuntu 14.04 | xen | Fix pending | ||
| Debian 14 | xen | Fixed | 4.11.4+24-gddaaccbbab-1 | DEBIAN-CVE-2020-15565 |
| Debian 13 | xen | Fixed | 4.11.4+24-gddaaccbbab-1 | DEBIAN-CVE-2020-15565 |
| Debian 12 | xen | Fixed | 4.11.4+24-gddaaccbbab-1 | DEBIAN-CVE-2020-15565 |
| Red Hat Enterprise Linux 5 | kernel-xen | Will not fix Out of support scope | ||
| Alpine Linux 3.24 | xen | Fixed | 4.13.1-r4 | ALPINE-CVE-2020-15565 |
| Alpine Linux 3.23 | xen | Fixed | 4.13.1-r4 | ALPINE-CVE-2020-15565 |
| Alpine Linux 3.22 | xen | Fixed | 4.13.1-r4 | ALPINE-CVE-2020-15565 |
| Alpine Linux 3.21 | xen | Fixed | 4.13.1-r4 | ALPINE-CVE-2020-15565 |
| Alpine Linux 3.20 | xen | Fixed | 4.13.1-r4 | ALPINE-CVE-2020-15565 |
| Alpine Linux 3.19 | xen | Fixed | 4.13.1-r4 | ALPINE-CVE-2020-15565 |
| Alpine Linux 3.18 | xen | Fixed | 4.13.1-r4 | ALPINE-CVE-2020-15565 |
| Alpine Linux 3.17 | xen | Fixed | 4.13.1-r4 | ALPINE-CVE-2020-15565 |
| Alpine Linux 3.16 | xen | Fixed | 4.13.1-r4 | ALPINE-CVE-2020-15565 |
| Alpine Linux 3.15 | xen | Fixed | 4.13.1-r4 | ALPINE-CVE-2020-15565 |
| Alpine Linux 3.14 | xen | Fixed | 4.13.1-r4 | ALPINE-CVE-2020-15565 |
| Alpine Linux 3.13 | xen | Fixed | 4.13.1-r4 | ALPINE-CVE-2020-15565 |
| Alpine Linux 3.12 | xen | Fixed | 4.13.1-r2 | ALPINE-CVE-2020-15565 |
| Alpine Linux 3.11 | xen | Fixed | 4.13.1-r2 | ALPINE-CVE-2020-15565 |
| Alpine Linux 3.10 | xen | Fixed | 4.12.3-r2 | ALPINE-CVE-2020-15565 |
| Alpine Linux 3.9 | xen | Fixed | 4.11.4-r0 | ALPINE-CVE-2020-15565 |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- https://www.debian.org/security/2020/dsa-4723 (vendor-advisory)
- http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00024.html (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00031.html (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://security.gentoo.org/glsa/202007-02 (vendor-advisory)
References
- http://xenbits.xen.org/xsa/advisory-321.html
- http://www.openwall.com/lists/oss-security/2020/07/07/4
- https://www.debian.org/security/2020/dsa-4723
- http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00024.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VB3QJJZV23Z2IDYEMIHELWYSQBUEW6JP/
- http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00031.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MXESCOVI7AVRNC7HEAMFM7PMEO6D3AUH/
- https://security.gentoo.org/glsa/202007-02
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.