CVE-2020-25597
An issue was discovered in Xen through 4.14.x. There is mishandling of the constraint that once-valid event channels may not turn invalid. Logic in the handling of event channel operations in Xen assumes that an event channel, once valid, will not become invalid over the life time of a guest. However, operations like the resetting of all event channels may involve decreasing one of the bounds checked when determining validity. This may lead to bug checks triggering, crashing the host. An unprivileged guest may be able to crash Xen, leading to a Denial of Service (DoS) for the entire system. All Xen versions from 4.4 onwards are vulnerable. Xen versions 4.3 and earlier are not vulnerable. Only systems with untrusted guests permitted to create more than the default number of event channels are vulnerable. This number depends on the architecture and type of guest. For 32-bit x86 PV guests, this is 1023; for 64-bit x86 PV guests, and for all ARM guests, this number is 4095. Systems where untrusted guests are limited to fewer than this number are not vulnerable. Note that xl and libxl limit max_event_channels to 1023 by default, so systems using exclusively xl, libvirt+libxl, or their own toolstack based on libxl, and not explicitly setting max_event_channels, are not vulnerable.
What to do
Fixed builds are available from Alpine, Debian, Ubuntu: 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 26.04 | xen | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | xen | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | xen | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | xen | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | xen | Fixed | 4.11.3+24-g14b62ab3e5-1ubuntu2.3 | UBUNTU-CVE-2020-25597 |
| Ubuntu 18.04 | xen | Fix pending | UBUNTU-CVE-2020-25597 | |
| Ubuntu 16.04 | xen | Fix pending | UBUNTU-CVE-2020-25597 | |
| Ubuntu 14.04 | xen | Fix pending | ||
| Debian 14 | xen | Fixed | 4.14.0+80-gd101b417b7-1 | DEBIAN-CVE-2020-25597 |
| Debian 13 | xen | Fixed | 4.14.0+80-gd101b417b7-1 | DEBIAN-CVE-2020-25597 |
| Debian 12 | xen | Fixed | 4.14.0+80-gd101b417b7-1 | DEBIAN-CVE-2020-25597 |
| Red Hat Enterprise Linux 5 | kernel-xen | Not affected | ||
| Alpine Linux 3.24 | xen | Fixed | 4.14.0-r1 | ALPINE-CVE-2020-25597 |
| Alpine Linux 3.23 | xen | Fixed | 4.14.0-r1 | ALPINE-CVE-2020-25597 |
| Alpine Linux 3.22 | xen | Fixed | 4.14.0-r1 | ALPINE-CVE-2020-25597 |
| Alpine Linux 3.21 | xen | Fixed | 4.14.0-r1 | ALPINE-CVE-2020-25597 |
| Alpine Linux 3.20 | xen | Fixed | 4.14.0-r1 | ALPINE-CVE-2020-25597 |
| Alpine Linux 3.19 | xen | Fixed | 4.14.0-r1 | ALPINE-CVE-2020-25597 |
| Alpine Linux 3.18 | xen | Fixed | 4.14.0-r1 | ALPINE-CVE-2020-25597 |
| Alpine Linux 3.17 | xen | Fixed | 4.14.0-r1 | ALPINE-CVE-2020-25597 |
| Alpine Linux 3.16 | xen | Fixed | 4.14.0-r1 | ALPINE-CVE-2020-25597 |
| Alpine Linux 3.15 | xen | Fixed | 4.14.0-r1 | ALPINE-CVE-2020-25597 |
| Alpine Linux 3.14 | xen | Fixed | 4.14.0-r1 | ALPINE-CVE-2020-25597 |
| Alpine Linux 3.13 | xen | Fixed | 4.14.0-r1 | ALPINE-CVE-2020-25597 |
| Alpine Linux 3.12 | xen | Fixed | 4.13.1-r4 | ALPINE-CVE-2020-25597 |
| Alpine Linux 3.11 | xen | Fixed | 4.13.1-r4 | ALPINE-CVE-2020-25597 |
| Alpine Linux 3.10 | xen | Fixed | 4.12.3-r4 | ALPINE-CVE-2020-25597 |
| Alpine Linux 3.9 | xen | Fixed | 4.11.4-r2 | ALPINE-CVE-2020-25597 |
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)
- https://www.debian.org/security/2020/dsa-4769 (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-338.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/
- https://www.debian.org/security/2020/dsa-4769
- 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.