CVE-2020-25595
An issue was discovered in Xen through 4.14.x. The PCI passthrough code improperly uses register data. Code paths in Xen's MSI handling have been identified that act on unsanitized values read back from device hardware registers. While devices strictly compliant with PCI specifications shouldn't be able to affect these registers, experience shows that it's very common for devices to have out-of-spec "backdoor" operations that can affect the result of these reads. A not fully trusted guest may be able to crash Xen, leading to a Denial of Service (DoS) for the entire system. Privilege escalation and information leaks cannot be excluded. All versions of Xen supporting PCI passthrough are affected. Only x86 systems are vulnerable. Arm systems are not vulnerable. Only guests with passed through PCI devices may be able to leverage the vulnerability. Only systems passing through devices with out-of-spec ("backdoor") functionality can cause issues. Experience shows that such out-of-spec functionality is common; unless you have reason to believe that your device does not have such functionality, it's better to assume that it does.
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-25595 |
| Ubuntu 18.04 | xen | Fix pending | UBUNTU-CVE-2020-25595 | |
| Ubuntu 16.04 | xen | Fix pending | UBUNTU-CVE-2020-25595 | |
| Ubuntu 14.04 | xen | Fix pending | ||
| Debian 14 | xen | Fixed | 4.14.0+80-gd101b417b7-1 | DEBIAN-CVE-2020-25595 |
| Debian 13 | xen | Fixed | 4.14.0+80-gd101b417b7-1 | DEBIAN-CVE-2020-25595 |
| Debian 12 | xen | Fixed | 4.14.0+80-gd101b417b7-1 | DEBIAN-CVE-2020-25595 |
| Red Hat Enterprise Linux 5 | kernel-xen | Will not fix Out of support scope | ||
| Alpine Linux 3.24 | xen | Fixed | 4.14.0-r1 | ALPINE-CVE-2020-25595 |
| Alpine Linux 3.23 | xen | Fixed | 4.14.0-r1 | ALPINE-CVE-2020-25595 |
| Alpine Linux 3.22 | xen | Fixed | 4.14.0-r1 | ALPINE-CVE-2020-25595 |
| Alpine Linux 3.21 | xen | Fixed | 4.14.0-r1 | ALPINE-CVE-2020-25595 |
| Alpine Linux 3.20 | xen | Fixed | 4.14.0-r1 | ALPINE-CVE-2020-25595 |
| Alpine Linux 3.19 | xen | Fixed | 4.14.0-r1 | ALPINE-CVE-2020-25595 |
| Alpine Linux 3.18 | xen | Fixed | 4.14.0-r1 | ALPINE-CVE-2020-25595 |
| Alpine Linux 3.17 | xen | Fixed | 4.14.0-r1 | ALPINE-CVE-2020-25595 |
| Alpine Linux 3.16 | xen | Fixed | 4.14.0-r1 | ALPINE-CVE-2020-25595 |
| Alpine Linux 3.15 | xen | Fixed | 4.14.0-r1 | ALPINE-CVE-2020-25595 |
| Alpine Linux 3.14 | xen | Fixed | 4.14.0-r1 | ALPINE-CVE-2020-25595 |
| Alpine Linux 3.13 | xen | Fixed | 4.14.0-r1 | ALPINE-CVE-2020-25595 |
| Alpine Linux 3.12 | xen | Fixed | 4.13.1-r4 | ALPINE-CVE-2020-25595 |
| Alpine Linux 3.11 | xen | Fixed | 4.13.1-r4 | ALPINE-CVE-2020-25595 |
| Alpine Linux 3.10 | xen | Fixed | 4.12.3-r4 | ALPINE-CVE-2020-25595 |
| Alpine Linux 3.9 | xen | Fixed | 4.11.4-r2 | ALPINE-CVE-2020-25595 |
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://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://www.debian.org/security/2020/dsa-4769 (vendor-advisory)
- http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00008.html (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://security.gentoo.org/glsa/202011-06 (vendor-advisory)
References
- https://xenbits.xen.org/xsa/advisory-337.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4JRXMKEMQRQYWYEPHVBIWUEAVQ3LU4FN/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DA633Y3G5KX7MKRN4PFEGM3IVTJMBEOM/
- https://www.debian.org/security/2020/dsa-4769
- http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00008.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RJZERRBJN6E6STDCHT4JHP4MI6TKBCJE/
- https://security.gentoo.org/glsa/202011-06
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.