CVE-2020-25603: Xen - Race Condition
- Cve: CVE-2020-25603
- Name: Xen - Race Condition
- Description: An issue was discovered in Xen through 4.14.x. There are missing memory barriers when accessing/allocating an event channel. Event channels control structures can be accessed lockless as long as the port is considered to be valid. Such a sequence is missing an appropriate memory barrier (e.g., smp_*mb()) to prevent both the compiler and CPU from re-ordering access. A malicious guest may be able to cause a hypervisor crash resulting in a Denial of Service (DoS). Information leak and privilege escalation cannot be excluded. Systems running all versions of Xen are affected. Whether a system is vulnerable will depend on the CPU and compiler used to build Xen. For all systems, the presence and the scope of the vulnerability depend on the precise re-ordering performed by the compiler used to build Xen. We have not been able to survey compilers; consequently we cannot say which compiler(s) might produce vulnerable code (with which code generation options). GCC documentation clearly suggests that re-ordering is possible. Arm systems will also be vulnerable if the CPU is able to re-order memory access. Please consult your CPU vendor. x86 systems are only vulnerable if a compiler performs re-ordering.
- Impact: Attackers can cause hypervisor crashes leading to DoS, with potential for information leak and privilege escalation depending on system specifics.
- Remediation: Apply patches that include proper memory barriers, and verify compiler and CPU memory reordering behaviors; update to the latest Xen version if available.
- Vulnerability type: race_condition
- Vulnerability impact: denial_of_service, information_disclosure, privilege_escalation
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.8
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.00415
- Epss percentile: 0.36296
- Assignee: [email protected]
- Published at: 2020-09-23T22:15:13Z
- Age in days: 2253
- Modified at: 2026-06-17T03:06:57Z
- Patch available: yes
- References total: 7
- Products total: 4
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2020-25603
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-670 | Always-Incorrect Control Flow Implementation |
References
Same in every row:
- Source: nvd
Products
Same in every row:
- Platform bound: no
- Sources: nvd
| Product | Affected | Url |
|---|---|---|
| xen:xen | <= 4.14.0 | /v1/products/xen/xen |
| debian:debian_linux | = 10.0 | /v1/products/debian/debian_linux |
| fedoraproject:fedora | = 33, = 32, = 31 | /v1/products/fedoraproject/fedora |
| opensuse:leap | = 15.2 | /v1/products/opensuse/leap |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Authentication required: yes
- Exposed hosts: 4739835
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports