Public bug reported: 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.
References: https://xenbits.xen.org/xsa/advisory-325.html https://xenbits.xen.org/xsa/xsa325-4.14.patch https://www.cve.org/CVERecord?id=CVE-2020-29483 Bugs: ** Affects: xen in Extended Security Maintenance (DEPRECATED) Importance: Medium Status: New ** Affects: xen in ESM Apps Security Importance: Medium Status: New ** Affects: xen in ESM Infrastructure Legacy Security Importance: Medium Status: New ** Affects: xen in ESM Infrastructure Security Importance: Medium Status: New ** Affects: xen (Ubuntu) Importance: Medium Status: Invalid ** Affects: xen in Extended Security Maintenance (DEPRECATED) (Ubuntu Precise) Importance: Medium Status: Does Not Exist ** Affects: xen (Ubuntu Trusty) Importance: Medium Status: Won't Fix ** Affects: xen in ESM Infrastructure Legacy Security (Ubuntu Trusty) Importance: Medium Status: Does Not Exist ** Affects: xen in ESM Infrastructure Security (Ubuntu Trusty) Importance: Medium Status: Does Not Exist ** Affects: xen (Ubuntu Xenial) Importance: Medium Status: Won't Fix ** Affects: xen in ESM Infrastructure Legacy Security (Ubuntu Xenial) Importance: Medium Status: New ** Affects: xen in ESM Infrastructure Security (Ubuntu Xenial) Importance: Medium Status: Won't Fix ** Affects: xen (Ubuntu Bionic) Importance: Medium Status: Won't Fix ** Affects: xen in ESM Infrastructure Security (Ubuntu Bionic) Importance: Medium Status: New ** Affects: xen (Ubuntu Focal) Importance: Medium Status: Won't Fix ** Affects: xen in ESM Apps Security (Ubuntu Focal) Importance: Medium Status: New ** Affects: xen (Ubuntu Groovy) Importance: Medium Status: Won't Fix ** Affects: xen (Ubuntu Hirsute) Importance: Medium Status: Won't Fix ** Affects: xen (Ubuntu Impish) Importance: Medium Status: Won't Fix ** Affects: xen (Ubuntu Jammy) Importance: Medium Status: Invalid ** Affects: xen in ESM Apps Security (Ubuntu Jammy) Importance: Medium Status: Invalid ** Affects: xen (Ubuntu Kinetic) Importance: Medium Status: Invalid ** Affects: xen (Ubuntu Lunar) Importance: Medium Status: Invalid ** Affects: xen (Ubuntu Mantic) Importance: Medium Status: Invalid ** Affects: xen (Ubuntu Noble) Importance: Medium Status: Invalid ** Affects: xen in ESM Apps Security (Ubuntu Noble) Importance: Medium Status: Invalid ** Affects: xen (Ubuntu Oracular) Importance: Medium Status: Invalid ** Affects: xen (Ubuntu Plucky) Importance: Medium Status: Invalid ** Affects: xen (Ubuntu Questing) Importance: Medium Status: Invalid ** Affects: xen (Ubuntu Resolute) Importance: Medium Status: Invalid ** Affects: xen in ESM Apps Security (Ubuntu Resolute) Importance: Medium Status: Invalid ** Affects: xen (Ubuntu Stonking) Importance: Medium Status: Invalid ** Affects: xen (Ubuntu Tenacious) Importance: Medium Status: Invalid ** Tags: xen.universe-binary -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2188741 Title: CVE-2020-29483 To manage notifications about this bug go to: https://bugs.launchpad.net/~ubuntu-esm/+archive/ubuntu/esm/+source/xen/+bug/2188741/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
