Skip to content
OpenAdvisories
Unscored CVE-2020-29483 EUVD-2020-21851GHSA-q89m-rx2c-6v2g

An issue was discovered in Xen through 4.14.x. Xenstored and guests communicate via a shared memory page using a specific protocol. When a …

Published Dec 15, 2020 · Updated Aug 4, 2024 · Assigned by mitre

Description

An issue was discovered in Xen through 4.14.x. Xenstored and guests communicate via a shared memory page using a specific protocol. When a guest violates this protocol, xenstored will drop the connection to that guest. Unfortunately, this is done by just removing the guest from xenstored's internal management, resulting in the same actions as if the guest had been destroyed, including sending an @releaseDomain event. @releaseDomain events do not say that the guest has been removed. All watchers of this event must look at the states of all guests to find the guest that has been removed. When an @releaseDomain is generated due to a domain xenstored protocol violation, because the guest is still running, the watchers will not react. Later, when the guest is actually destroyed, xenstored will no longer have it stored in its internal data base, so no further @releaseDomain event will be sent. This can lead to a zombie domain; memory mappings of that guest's memory will not be removed, due to the missing event. This zombie domain will be cleaned up only after another domain is destroyed, as that will trigger another @releaseDomain event. If the device model of the guest that violated the Xenstore protocol is running in a stub-domain, a use-after-free case could happen in xenstored, after having removed the guest from its internal data base, possibly resulting in a crash of xenstored. A malicious guest can block resources of the host for a period after its own death. Guests with a stub domain device model can eventually crash xenstored, resulting in a more serious denial of service (the prevention of any further domain management operations). Only the C variant of Xenstore is affected; the Ocaml variant is not affected. Only HVM guests with a stubdom device model can cause a serious DoS.

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+88-g1d1d1f5391-1 —
Debian 13 xen 4.14.0+88-g1d1d1f5391-1 —
Debian 12 xen 4.14.0+88-g1d1d1f5391-1 —
Debian 10 xen 4.11.4+57-g41a822c392-2 DSA-4812-1
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS xen No fix yet —
Ubuntu 18.04 LTS xen No fix yet —
Ubuntu 16.04 LTS xen No fix yet —
ReleasePackageFixed inAdvisory
SLES 15 SP2 xen 4.13.2_06-3.22.1 SUSE-SU-2020:3915-1
SLES 15 SP1 xen 4.12.4_06-3.40.1 SUSE-SU-2020:3881-1
SLES 12 SP5 xen 4.12.4_06-3.36.1 SUSE-SU-2020:3880-1
SLES 12 SP4 xen 4.11.4_16-2.48.1 SUSE-SU-2020:3914-1
SLES 12 SP3 xen 4.9.4_16-3.80.1 SUSE-SU-2020:3945-1
Show 15 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP2 xen 4.7.6_14-43.73.1 SUSE-SU-2020:3913-1
SLES 11 SP4 xen 4.4.4_48-61.61.1 SUSE-SU-2020:14578-1
SLES for SAP 15 xen 4.10.4_24-3.53.1 SUSE-SU-2020:3916-1
SLES for SAP 12 SP5 xen 4.12.4_06-3.36.1 SUSE-SU-2020:3880-1
SLES for SAP 12 SP4 xen 4.11.4_16-2.48.1 SUSE-SU-2020:3914-1
SLES for SAP 12 SP3 xen 4.9.4_16-3.80.1 SUSE-SU-2020:3945-1
SLES for SAP 12 SP2 xen 4.7.6_14-43.73.1 SUSE-SU-2020:3913-1
SLE HPC 15 xen 4.10.4_24-3.53.1 SUSE-SU-2020:3916-1
SUSE OpenStack Cloud Crowbar 9 xen 4.11.4_16-2.48.1 SUSE-SU-2020:3914-1
SUSE OpenStack Cloud Crowbar 8 xen 4.9.4_16-3.80.1 SUSE-SU-2020:3945-1
SUSE OpenStack Cloud 9 xen 4.11.4_16-2.48.1 SUSE-SU-2020:3914-1
SUSE OpenStack Cloud 8 xen 4.9.4_16-3.80.1 SUSE-SU-2020:3945-1
SUSE OpenStack Cloud 7 xen 4.7.6_14-43.73.1 SUSE-SU-2020:3913-1
SUSE HPE Helion OpenStack 8 xen 4.9.4_16-3.80.1 SUSE-SU-2020:3945-1
SUSE Enterprise Storage 5 xen 4.9.4_16-3.80.1 SUSE-SU-2020:3945-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed xen 4.15.1_01-1.2 openSUSE-SU-2024:11520-1
openSUSE Leap 15.2 xen 4.13.2_06-lp152.2.21.1 openSUSE-SU-2020:2331-1
openSUSE Leap 15.1 xen 4.12.4_06-lp151.2.36.1 openSUSE-SU-2020:2313-1
ReleasePackageFixed inAdvisory
Alpine v3.24 xen 4.14.1-r0 —
Alpine v3.23 xen 4.14.1-r0 —
Alpine v3.22 xen 4.14.1-r0 —
Alpine v3.21 xen 4.14.1-r0 —
Alpine v3.20 xen 4.14.1-r0 —
Show 9 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 xen 4.14.1-r0 —
Alpine v3.18 xen 4.14.1-r0 —
Alpine v3.17 xen 4.14.1-r0 —
Alpine v3.16 xen 4.14.1-r0 —
Alpine v3.15 xen 4.14.1-r0 —
Alpine v3.14 xen 4.14.1-r0 —
Alpine v3.13 xen 4.14.1-r0 —
Alpine v3.12 xen 4.13.2-r3 —
Alpine v3.11 xen 4.13.2-r3 —

Advisories 12

References