Skip to content
OpenAdvisories
Unscored CVE-2020-25597 EUVD-2020-18276GHSA-jfr2-c4pw-p2hx

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

Published Sep 23, 2020 · Updated Aug 4, 2024 · Assigned by mitre

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 xen 4.14.0+80-gd101b417b7-1 —
Debian 13 xen 4.14.0+80-gd101b417b7-1 —
Debian 12 xen 4.14.0+80-gd101b417b7-1 —
Debian 10 xen 4.11.4+37-g3263f257ca-1 DSA-4769-1
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS xen 4.11.3+24-g14b62ab3e5-1ubuntu2.3 USN-5617-1
Ubuntu 18.04 LTS xen No fix yet —
Ubuntu 16.04 LTS xen No fix yet —
ReleasePackageFixed inAdvisory
SLES 15 SP2 xen 4.13.1_08-3.10.1 SUSE-SU-2020:2791-1
SLES 15 SP1 xen 4.12.3_08-3.28.1 SUSE-SU-2020:2790-1
SLES 12 SP5 xen 4.12.3_08-3.24.1 SUSE-SU-2020:2788-1
SLES 12 SP4 xen 4.11.4_08-2.36.1 SUSE-SU-2020:2786-1
SLES 12 SP3 xen 4.9.4_12-3.74.1 SUSE-SU-2020:2787-1
Show 15 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP2 xen 4.7.6_10-43.67.1 SUSE-SU-2020:2822-1
SLES 11 SP4 xen 4.4.4_44-61.55.1 SUSE-SU-2020:14521-1
SLES for SAP 15 xen 4.10.4_16-3.41.1 SUSE-SU-2020:2789-1
SLES for SAP 12 SP5 xen 4.12.3_08-3.24.1 SUSE-SU-2020:2788-1
SLES for SAP 12 SP4 xen 4.11.4_08-2.36.1 SUSE-SU-2020:2786-1
SLES for SAP 12 SP3 xen 4.9.4_12-3.74.1 SUSE-SU-2020:2787-1
SLES for SAP 12 SP2 xen 4.7.6_10-43.67.1 SUSE-SU-2020:2822-1
SLE HPC 15 xen 4.10.4_16-3.41.1 SUSE-SU-2020:2789-1
SUSE OpenStack Cloud Crowbar 9 xen 4.11.4_08-2.36.1 SUSE-SU-2020:2786-1
SUSE OpenStack Cloud Crowbar 8 xen 4.9.4_12-3.74.1 SUSE-SU-2020:2787-1
SUSE OpenStack Cloud 9 xen 4.11.4_08-2.36.1 SUSE-SU-2020:2786-1
SUSE OpenStack Cloud 8 xen 4.9.4_12-3.74.1 SUSE-SU-2020:2787-1
SUSE OpenStack Cloud 7 xen 4.7.6_10-43.67.1 SUSE-SU-2020:2822-1
SUSE HPE Helion OpenStack 8 xen 4.9.4_12-3.74.1 SUSE-SU-2020:2787-1
SUSE Enterprise Storage 5 xen 4.9.4_12-3.74.1 SUSE-SU-2020:2787-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed xen 4.15.1_01-1.2 openSUSE-SU-2024:11520-1
openSUSE Leap 15.2 xen 4.13.1_08-lp152.2.9.1 openSUSE-SU-2020:1608-1
ReleasePackageFixed inAdvisory
Alpine v3.24 xen 4.14.0-r1 —
Alpine v3.23 xen 4.14.0-r1 —
Alpine v3.22 xen 4.14.0-r1 —
Alpine v3.21 xen 4.14.0-r1 —
Alpine v3.20 xen 4.14.0-r1 —
Show 11 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 xen 4.14.0-r1 —
Alpine v3.18 xen 4.14.0-r1 —
Alpine v3.17 xen 4.14.0-r1 —
Alpine v3.16 xen 4.14.0-r1 —
Alpine v3.15 xen 4.14.0-r1 —
Alpine v3.14 xen 4.14.0-r1 —
Alpine v3.13 xen 4.14.0-r1 —
Alpine v3.12 xen 4.13.1-r4 —
Alpine v3.11 xen 4.13.1-r4 —
Alpine v3.10 xen 4.12.3-r4 —
Alpine v3.9 xen 4.11.4-r2 —

Advisories 12

References