cve.bz

CVE-2020-25604 Race Condition

4.7 mediumEPSS 0.3%Fix available

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

On this page
An issue was discovered in Xen through 4.14.x. There is a race condition when migrating timers between x86 HVM vCPUs. When migrating timers of x86 HVM guests between its vCPUs, the locking model used allows for a second vCPU of the same guest (also operating on the timers) to release a lock that it didn't acquire. The most likely effect of the issue is a hang or crash of the hypervisor, i.e., a Denial of Service (DoS). All versions of Xen are affected. Only x86 systems are vulnerable. Arm systems are not vulnerable. Only x86 HVM guests can leverage the vulnerability. x86 PV and PVH cannot leverage the vulnerability. Only guests with more than one vCPU can exploit the vulnerability.

Severity

CVSS 3.1

4.7 medium
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 18th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization (Race Condition)
OWASP Top 10
A06:2025 Insecure Design
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-25604 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-25604?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-25604?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-25604 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:xenthrough 4.14.0
fedoraproject:fedora31
fedoraproject:fedora32
fedoraproject:fedora33
debian:debian_linux10.0
opensuse:leap15.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10xen4.11.4+37-g3263f257ca-1DSA-4769-1
Debian12, 13, 14xen4.14.0+80-gd101b417b7-1DEBIAN-CVE-2020-25604
Ubuntu16.04:LTS, 18.04:LTSxenno fix listedUBUNTU-CVE-2020-25604
Ubuntu20.04:LTSxen4.11.3+24-g14b62ab3e5-1ubuntu2.3UBUNTU-CVE-2020-25604 USN-5617-1
SUSEEnterprise Storage 5, HPE Helion OpenStack 8, Linux Enterprise Server 12 SP3-BCL and 4 morexen4.9.4_12-3.74.1SUSE-SU-2020:2787-1
SUSELinux Enterprise High Performance Computing 15-ESPOS, Linux Enterprise High Performance Computing 15-LTSS, Linux Enterprise Server for SAP Applications 15xen4.10.4_16-3.41.1SUSE-SU-2020:2789-1
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 11 SP4-LTSSxen4.4.4_44-61.55.1SUSE-SU-2020:14521-1
SUSELinux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP2-LTSS, Linux Enterprise Server for SAP Applications 12 SP2 and 1 morexen4.7.6_10-43.67.1SUSE-SU-2020:2822-1
SUSELinux Enterprise Server 12 SP4-LTSS, Linux Enterprise Server for SAP Applications 12 SP4, OpenStack Cloud 9 and 1 morexen4.11.4_08-2.36.1SUSE-SU-2020:2786-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.9xen4.11.4-r2ALPINE-CVE-2020-25604
Alpinev3.10xen4.12.3-r4ALPINE-CVE-2020-25604
Alpinev3.11, v3.12xen4.13.1-r4ALPINE-CVE-2020-25604
Alpinev3.13, v3.14, v3.15 and 9 morexen4.14.0-r1ALPINE-CVE-2020-25604

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; 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: Debian · Ubuntu · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Only x86 HVM guests with more than one vCPU can exploit this vulnerability. ARM systems as well as x86 PV and PVH guests are not affected by this flaw.

This flaw has been rated as having a security impact of Moderate, and is not currently planned to be addressed in future updates of Red Hat Enterprise Linux 5. Red Hat Enterprise Linux 5 is now in Extended Life Phase of the support and maintenance life cycle. For additional information, refer to the Red Hat Enterprise Linux Life Cycle: https://access.redhat.com/support/policy/updates/errata/.

Red Hat's mitigation

There is no known mitigation for this flaw apart from applying the patch.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 5kernel-xenOut of support scope

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-25604.

Attack patterns (CAPEC)

  • CAPEC-26 Leveraging Race Conditions Likelihood: High · Severity: High
  • CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON