CVEfocus › CVE database › CVE-2020-25598

CVE-2020-25598

CVSS 5.5 MediumEPSS 0.4% (higher than 28% of CVEs)Published 2020-09-23Updated 2024-08-04Assigner: mitre

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

15Fixed
2Fix pending
4Not affected

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04xenNot affected
vulnerable_code_not_present
Ubuntu 20.04xenNot affected
vulnerable_code_not_present
Ubuntu 18.04xenNot affected
vulnerable_code_not_present
Ubuntu 16.04xenFix pending
Ubuntu 14.04xenFix pending
Red Hat Enterprise Linux 5kernel-xenNot affected
Alpine Linux 3.24xenFixed4.14.0-r1ALPINE-CVE-2020-25598
Alpine Linux 3.23xenFixed4.14.0-r1ALPINE-CVE-2020-25598
Alpine Linux 3.22xenFixed4.14.0-r1ALPINE-CVE-2020-25598
Alpine Linux 3.21xenFixed4.14.0-r1ALPINE-CVE-2020-25598
Alpine Linux 3.20xenFixed4.14.0-r1ALPINE-CVE-2020-25598
Alpine Linux 3.19xenFixed4.14.0-r1ALPINE-CVE-2020-25598
Alpine Linux 3.18xenFixed4.14.0-r1ALPINE-CVE-2020-25598
Alpine Linux 3.17xenFixed4.14.0-r1ALPINE-CVE-2020-25598
Alpine Linux 3.16xenFixed4.14.0-r1ALPINE-CVE-2020-25598
Alpine Linux 3.15xenFixed4.14.0-r1ALPINE-CVE-2020-25598
Alpine Linux 3.14xenFixed4.14.0-r1ALPINE-CVE-2020-25598
Alpine Linux 3.13xenFixed4.14.0-r1ALPINE-CVE-2020-25598
Alpine Linux 3.12xenFixed4.13.1-r4ALPINE-CVE-2020-25598
Alpine Linux 3.11xenFixed4.13.1-r4ALPINE-CVE-2020-25598
Alpine Linux 3.10xenFixed4.12.3-r4ALPINE-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:

References

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.