cve.bz

CVE-2020-25598

5.5 mediumEPSS 0.4%

Medium (5.5). EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 37th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-670 Always-Incorrect Control Flow Implementation
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-25598 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-25598?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-25598?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-25598 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
xen:xenfrom 4.12.0 through 4.14.0
fedoraproject:fedora31
fedoraproject:fedora32
fedoraproject:fedora33
opensuse:leap15.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
SUSELinux Enterprise Module for Basesystem 15 SP1, Linux Enterprise Module for Server Applications 15 SP1xen4.12.3_08-3.28.1SUSE-SU-2020:2790-1
SUSELinux Enterprise Module for Basesystem 15 SP2, Linux Enterprise Module for Server Applications 15 SP2xen4.13.1_08-3.10.1SUSE-SU-2020:2791-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5xen4.12.3_08-3.24.1SUSE-SU-2020:2788-1
openSUSELeap 15.2xen4.13.1_08-lp152.2.9.1openSUSE-SU-2020:1608-1
openSUSETumbleweedxen4.15.1_01-1.2openSUSE-SU-2024:11520-1
Alpinev3.10xen4.12.3-r4ALPINE-CVE-2020-25598
Alpinev3.11, v3.12xen4.13.1-r4ALPINE-CVE-2020-25598
Alpinev3.13, v3.14, v3.15 and 9 morexen4.14.0-r1ALPINE-CVE-2020-25598

From the distributions' data via OSV.dev: SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This issue can generally only be exploited by x86 HVM guests, as these are the only type of VM which have a QEMU stubdomain. x86 PV and PVH domains, as well as ARM guests typically don't use a stubdomain. Additionally, VMs using PV stubdomains or with emulators running in dom0 cannot exploit the vulnerability.

Xen 4.14 and later versions are vulnerable to this flaw. Red Hat Enterprise Linux 5 is not affected, as it shipped an older version of Xen which did not include the buggy code path.

Red Hat's mitigation

Reconfiguring x86 HVM guests to use a PV or no stubdomain will mitigate the vulnerability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 5kernel-xenNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2020-25598.

References

Check your stackJSON