Skip to content

CVE-2020-29483 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 connect...

MediumCVSS 6.5 EPSS 0.38%
Published
Updated
Exploit status
No public exploit known
Technology
UbuntuDebian

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.

Upgrade path

23 packages: 18 fixed, 3 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/xen(Ubuntu 16.04) = 4.5.1-0ubuntu1; = 4.5.1-0ubuntu2; = 4.6.0-1ubuntu1; = 4.6.0-1ubuntu2 +9 more No fix listed No fix yet
ubuntu/xen(Ubuntu 18.04) = 4.9.0-0ubuntu3; = 4.9.0-0ubuntu4; = 4.9.2-0ubuntu1; All versions No fix listed No fix yet
ubuntu/xen(Ubuntu 20.04) = 4.9.2-0ubuntu2; = 4.9.2-0ubuntu6; = 4.9.2-0ubuntu7; = 4.11.3+24-g14b62ab3e5-1ubuntu1 +4 more No fix listed No fix yet
alpine/xen(Alpine v3.11) < 4.13.2-r3 4.13.2-r3 Fixed
alpine/xen(Alpine v3.12) < 4.13.2-r3 4.13.2-r3 Fixed
alpine/xen(Alpine v3.13) < 4.14.1-r0 4.14.1-r0 Fixed
alpine/xen(Alpine v3.14) < 4.14.1-r0 4.14.1-r0 Fixed
alpine/xen(Alpine v3.15) < 4.14.1-r0 4.14.1-r0 Fixed
alpine/xen(Alpine v3.16) < 4.14.1-r0 4.14.1-r0 Fixed
alpine/xen(Alpine v3.17) < 4.14.1-r0 4.14.1-r0 Fixed
alpine/xen(Alpine v3.18) < 4.14.1-r0 4.14.1-r0 Fixed
alpine/xen(Alpine v3.19) < 4.14.1-r0 4.14.1-r0 Fixed
alpine/xen(Alpine v3.20) < 4.14.1-r0 4.14.1-r0 Fixed
alpine/xen(Alpine v3.21) < 4.14.1-r0 4.14.1-r0 Fixed
alpine/xen(Alpine v3.22) < 4.14.1-r0 4.14.1-r0 Fixed
alpine/xen(Alpine v3.23) < 4.14.1-r0 4.14.1-r0 Fixed
alpine/xen(Alpine v3.24) < 4.14.1-r0 4.14.1-r0 Fixed
debian/xen(Debian 12) < 4.14.0+88-g1d1d1f5391-1 4.14.0+88-g1d1d1f5391-1 Fixed
debian/xen(Debian 13) < 4.14.0+88-g1d1d1f5391-1 4.14.0+88-g1d1d1f5391-1 Fixed
debian/xen(Debian 14) < 4.14.0+88-g1d1d1f5391-1 4.14.0+88-g1d1d1f5391-1 Fixed
Xen <= 4.14.0 after 4.14.0 Fixed
debian linux = 10.0 No fix listed Versions listed
fedoraproject fedora = 32; = 33 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
debian/xen(Debian:12) < 4.14.0+88-g1d1d1f5391-1 4.14.0+88-g1d1d1f5391-1
debian/xen(Debian:13) < 4.14.0+88-g1d1d1f5391-1 4.14.0+88-g1d1d1f5391-1
debian/xen(Debian:14) < 4.14.0+88-g1d1d1f5391-1 4.14.0+88-g1d1d1f5391-1
Xen <= 4.14.0 No fix listed
debian linux = 10.0 No fix listed
fedoraproject fedora = 32 No fix listed
fedoraproject fedora = 33 No fix listed
alpine/xen(Alpine:v3.11) < 4.13.2-r3 4.13.2-r3
alpine/xen(Alpine:v3.12) < 4.13.2-r3 4.13.2-r3
alpine/xen(Alpine:v3.13) < 4.14.1-r0 4.14.1-r0
alpine/xen(Alpine:v3.14) < 4.14.1-r0 4.14.1-r0
alpine/xen(Alpine:v3.15) < 4.14.1-r0 4.14.1-r0
alpine/xen(Alpine:v3.16) < 4.14.1-r0 4.14.1-r0
alpine/xen(Alpine:v3.17) < 4.14.1-r0 4.14.1-r0
alpine/xen(Alpine:v3.18) < 4.14.1-r0 4.14.1-r0
alpine/xen(Alpine:v3.19) < 4.14.1-r0 4.14.1-r0
alpine/xen(Alpine:v3.20) < 4.14.1-r0 4.14.1-r0
alpine/xen(Alpine:v3.21) < 4.14.1-r0 4.14.1-r0
alpine/xen(Alpine:v3.22) < 4.14.1-r0 4.14.1-r0
alpine/xen(Alpine:v3.23) < 4.14.1-r0 4.14.1-r0
alpine/xen(Alpine:v3.24) < 4.14.1-r0 4.14.1-r0
ubuntu/xen(Ubuntu:16.04) All versions No fix listed
ubuntu/xen(Ubuntu:16.04) = 4.5.1-0ubuntu1 No fix listed
ubuntu/xen(Ubuntu:16.04) = 4.5.1-0ubuntu2 No fix listed
ubuntu/xen(Ubuntu:16.04) = 4.6.0-1ubuntu1 No fix listed
Show 21 more
ProductAffected versionsFixed in
ubuntu/xen(Ubuntu:16.04) = 4.6.0-1ubuntu2 No fix listed
ubuntu/xen(Ubuntu:16.04) = 4.6.0-1ubuntu4 No fix listed
ubuntu/xen(Ubuntu:16.04) = 4.6.0-1ubuntu4.1 No fix listed
ubuntu/xen(Ubuntu:16.04) = 4.6.0-1ubuntu4.2 No fix listed
ubuntu/xen(Ubuntu:16.04) = 4.6.0-1ubuntu4.3 No fix listed
ubuntu/xen(Ubuntu:16.04) = 4.6.5-0ubuntu1 No fix listed
ubuntu/xen(Ubuntu:16.04) = 4.6.5-0ubuntu1.1 No fix listed
ubuntu/xen(Ubuntu:16.04) = 4.6.5-0ubuntu1.2 No fix listed
ubuntu/xen(Ubuntu:16.04) = 4.6.5-0ubuntu1.4 No fix listed
ubuntu/xen(Ubuntu:18.04) All versions No fix listed
ubuntu/xen(Ubuntu:18.04) = 4.9.0-0ubuntu3 No fix listed
ubuntu/xen(Ubuntu:18.04) = 4.9.0-0ubuntu4 No fix listed
ubuntu/xen(Ubuntu:18.04) = 4.9.2-0ubuntu1 No fix listed
ubuntu/xen(Ubuntu:20.04) All versions No fix listed
ubuntu/xen(Ubuntu:20.04) = 4.9.2-0ubuntu2 No fix listed
ubuntu/xen(Ubuntu:20.04) = 4.9.2-0ubuntu6 No fix listed
ubuntu/xen(Ubuntu:20.04) = 4.9.2-0ubuntu7 No fix listed
ubuntu/xen(Ubuntu:20.04) = 4.11.3+24-g14b62ab3e5-1ubuntu1 No fix listed
ubuntu/xen(Ubuntu:20.04) = 4.11.3+24-g14b62ab3e5-1ubuntu2 No fix listed
ubuntu/xen(Ubuntu:20.04) = 4.11.3+24-g14b62ab3e5-1ubuntu2.2 No fix listed
ubuntu/xen(Ubuntu:20.04) = 4.11.3+24-g14b62ab3e5-1ubuntu2.3 No fix listed

References