CVE-2020-25598
An issue was discovered in Xen 4.14.x. There is a missing unlock in the XENMEM_acquire_resource error path. The RCU (Read, Copy, Update) mechanism is a synchronisation primitive. A buggy error path in the XENMEM_acquire_resource exits without releasing an RCU reference, which is conceptually similar to forgetting to unlock a spinlock. A buggy or malicious HVM stubdomain can cause an RCU reference to be leaked. This causes subsequent administration operations, (e.g., CPU offline) to livelock, resulting in a host Denial of Service. The buggy codepath has been present since Xen 4.12. Xen 4.14 and later are vulnerable to the DoS. The side effects are believed to be benign on Xen 4.12 and 4.13, but patches are provided nevertheless. The vulnerability can generally only be exploited by x86 HVM VMs, as these are generally the only type of VM that have a Qemu stubdomain. x86 PV and PVH domains, as well as ARM VMs, typically don't use a stubdomain. Only VMs using HVM stubdomains can exploit the vulnerability. VMs using PV stubdomains, or with emulators running in dom0, cannot exploit the vulnerability.
What to do
Fixed builds are available from Alpine: 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 22.04 | xen | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | xen | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | xen | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | xen | Fix pending | ||
| Ubuntu 14.04 | xen | Fix pending | ||
| Red Hat Enterprise Linux 5 | kernel-xen | Not affected | ||
| Alpine Linux 3.24 | xen | Fixed | 4.14.0-r1 | ALPINE-CVE-2020-25598 |
| Alpine Linux 3.23 | xen | Fixed | 4.14.0-r1 | ALPINE-CVE-2020-25598 |
| Alpine Linux 3.22 | xen | Fixed | 4.14.0-r1 | ALPINE-CVE-2020-25598 |
| Alpine Linux 3.21 | xen | Fixed | 4.14.0-r1 | ALPINE-CVE-2020-25598 |
| Alpine Linux 3.20 | xen | Fixed | 4.14.0-r1 | ALPINE-CVE-2020-25598 |
| Alpine Linux 3.19 | xen | Fixed | 4.14.0-r1 | ALPINE-CVE-2020-25598 |
| Alpine Linux 3.18 | xen | Fixed | 4.14.0-r1 | ALPINE-CVE-2020-25598 |
| Alpine Linux 3.17 | xen | Fixed | 4.14.0-r1 | ALPINE-CVE-2020-25598 |
| Alpine Linux 3.16 | xen | Fixed | 4.14.0-r1 | ALPINE-CVE-2020-25598 |
| Alpine Linux 3.15 | xen | Fixed | 4.14.0-r1 | ALPINE-CVE-2020-25598 |
| Alpine Linux 3.14 | xen | Fixed | 4.14.0-r1 | ALPINE-CVE-2020-25598 |
| Alpine Linux 3.13 | xen | Fixed | 4.14.0-r1 | ALPINE-CVE-2020-25598 |
| Alpine Linux 3.12 | xen | Fixed | 4.13.1-r4 | ALPINE-CVE-2020-25598 |
| Alpine Linux 3.11 | xen | Fixed | 4.13.1-r4 | ALPINE-CVE-2020-25598 |
| Alpine Linux 3.10 | xen | Fixed | 4.12.3-r4 | ALPINE-CVE-2020-25598 |
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)
- 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-334.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/
- 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.