CVE-2020-15566
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.
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 22.04 | xen | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | xen | Fixed | 4.11.3+24-g14b62ab3e5-1ubuntu2.3 | UBUNTU-CVE-2020-15566 |
| Ubuntu 18.04 | xen | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | xen | Fix pending | ||
| Ubuntu 14.04 | xen | Fix pending | ||
| Debian 14 | xen | Fixed | 4.11.4+24-gddaaccbbab-1 | DEBIAN-CVE-2020-15566 |
| Debian 13 | xen | Fixed | 4.11.4+24-gddaaccbbab-1 | DEBIAN-CVE-2020-15566 |
| Debian 12 | xen | Fixed | 4.11.4+24-gddaaccbbab-1 | DEBIAN-CVE-2020-15566 |
| Red Hat Enterprise Linux 5 | kernel-xen | Not affected | ||
| Alpine Linux 3.24 | xen | Fixed | 4.13.1-r4 | ALPINE-CVE-2020-15566 |
| Alpine Linux 3.23 | xen | Fixed | 4.13.1-r4 | ALPINE-CVE-2020-15566 |
| Alpine Linux 3.22 | xen | Fixed | 4.13.1-r4 | ALPINE-CVE-2020-15566 |
| Alpine Linux 3.21 | xen | Fixed | 4.13.1-r4 | ALPINE-CVE-2020-15566 |
| Alpine Linux 3.20 | xen | Fixed | 4.13.1-r4 | ALPINE-CVE-2020-15566 |
| Alpine Linux 3.19 | xen | Fixed | 4.13.1-r4 | ALPINE-CVE-2020-15566 |
| Alpine Linux 3.18 | xen | Fixed | 4.13.1-r4 | ALPINE-CVE-2020-15566 |
| Alpine Linux 3.17 | xen | Fixed | 4.13.1-r4 | ALPINE-CVE-2020-15566 |
| Alpine Linux 3.16 | xen | Fixed | 4.13.1-r4 | ALPINE-CVE-2020-15566 |
| Alpine Linux 3.15 | xen | Fixed | 4.13.1-r4 | ALPINE-CVE-2020-15566 |
| Alpine Linux 3.14 | xen | Fixed | 4.13.1-r4 | ALPINE-CVE-2020-15566 |
| Alpine Linux 3.13 | xen | Fixed | 4.13.1-r4 | ALPINE-CVE-2020-15566 |
| Alpine Linux 3.12 | xen | Fixed | 4.13.1-r2 | ALPINE-CVE-2020-15566 |
| Alpine Linux 3.11 | xen | Fixed | 4.13.1-r2 | ALPINE-CVE-2020-15566 |
| Alpine Linux 3.10 | xen | Fixed | 4.12.3-r2 | ALPINE-CVE-2020-15566 |
| Alpine Linux 3.9 | xen | Fixed | 4.11.4-r0 | ALPINE-CVE-2020-15566 |
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://www.debian.org/security/2020/dsa-4723 (vendor-advisory)
- http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00024.html (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00031.html (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://security.gentoo.org/glsa/202007-02 (vendor-advisory)
References
- http://xenbits.xen.org/xsa/advisory-317.html
- http://www.openwall.com/lists/oss-security/2020/07/07/2
- https://www.debian.org/security/2020/dsa-4723
- http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00024.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VB3QJJZV23Z2IDYEMIHELWYSQBUEW6JP/
- http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00031.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MXESCOVI7AVRNC7HEAMFM7PMEO6D3AUH/
- https://security.gentoo.org/glsa/202007-02
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.