cve.bz

CVE-2020-15566

6.5 mediumEPSS 0.4%

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

On this page
An issue was discovered in Xen through 4.13.x, allowing guest OS users to cause a host OS crash because of incorrect error handling in event-channel port allocation. The allocation of an event-channel port may fail for multiple reasons: (1) port is already in use, (2) the memory allocation failed, or (3) the port we try to allocate is higher than what is supported by the ABI (e.g., 2L or FIFO) used by the guest or the limit set by an administrator (max_event_channels in xl cfg). Due to the missing error checks, only (1) will be considered an error. All the other cases will provide a valid port and will result in a crash when trying to access the event channel. When the administrator configured a guest to allow more than 1023 event channels, that guest may be able to crash the host. When Xen is out-of-memory, allocation of new event channels will result in crashing the host rather than reporting an error. Xen versions 4.10 and later are affected. All architectures are affected. The default configuration, when guests are created with xl/libxl, is not vulnerable, because of the default event-channel limit.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/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; 36th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-754 Improper Check for Unusual or Exceptional Conditions
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
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-15566 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-15566?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-15566?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-15566 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.10.0 through 4.13.1
debian:debian_linux10.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10xen4.11.4+24-gddaaccbbab-1~deb10u1DSA-4723-1
Debian12, 13, 14xen4.11.4+24-gddaaccbbab-1DEBIAN-CVE-2020-15566
Ubuntu20.04:LTSxen4.11.3+24-g14b62ab3e5-1ubuntu2.3UBUNTU-CVE-2020-15566 USN-5617-1
SUSELinux Enterprise High Performance Computing 15-ESPOS, Linux Enterprise High Performance Computing 15-LTSS, Linux Enterprise Server for SAP Applications 15xen4.10.4_12-3.35.1SUSE-SU-2020:1888-1
SUSELinux Enterprise Module for Basesystem 15 SP1, Linux Enterprise Module for Server Applications 15 SP1xen4.12.3_04-3.22.1SUSE-SU-2020:1889-1
SUSELinux Enterprise Module for Basesystem 15 SP2, Linux Enterprise Module for Server Applications 15 SP2xen4.13.1_04-3.4.1SUSE-SU-2020:1902-1
SUSELinux Enterprise Server 12 SP4-LTSS, Linux Enterprise Server for SAP Applications 12 SP4, OpenStack Cloud 9 and 1 morexen4.11.4_04-2.30.1SUSE-SU-2020:1891-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5xen4.12.3_04-3.18.1SUSE-SU-2020:1887-1
openSUSELeap 15.1xen4.12.3_04-lp151.2.21.1openSUSE-SU-2020:0965-1
openSUSELeap 15.2xen4.13.1_04-lp152.2.3.1openSUSE-SU-2020:0985-1
openSUSETumbleweedxen4.15.1_01-1.2openSUSE-SU-2024:11520-1
Alpinev3.9xen4.11.4-r0ALPINE-CVE-2020-15566
Alpinev3.10xen4.12.3-r2ALPINE-CVE-2020-15566
Alpinev3.11, v3.12xen4.13.1-r2ALPINE-CVE-2020-15566
Alpinev3.13, v3.14, v3.15 and 9 morexen4.13.1-r4ALPINE-CVE-2020-15566

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 Xen versions 4.10 and later are affected by this flaw. The default configuration, when guests are created with xl/libxl, is not vulnerable, because of the default event channel limit (see Mitigation).

Red Hat's mitigation

The issue can be avoided by reducing the number of event channels available to the guest to no more than 1023. For example, setting `max_event_channels=1023` in the xl domain configuration, or deleting any existing setting (since 1023 is the default for xl/libxl).

For ARM systems, any limit no more than 4095 is safe. For 64-bit x86 PV guests, any limit no more than 4095 is likewise safe if the host configuration prevents the guest administrator from substituting and running a 32-bit kernel (and thereby putting the guest into 32-bit PV mode).

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

References

Check your stackJSON