An issue was discovered in Xen through 4.13.x, allowing guest OS users to cause a denial of service because of a bad error path in GNTTABOPmapgrant. Grant table operations are expected to return 0 for success, and a negative number for errors. Some misplaced brackets cause one error path to return 1 instead of a negative value. The grant table code in Linux treats this condition as success, and proceeds with incorrectly initialised state. A buggy or malicious guest can construct its grant table in such a way that, when a backend domain tries to map a grant, it hits the incorrect error path. This will crash a Linux based dom0 or backend domain.
{ "availability": "No subscription required", "ubuntu_priority": "medium", "binaries": [ { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3", "binary_name": "libxen-dev" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3", "binary_name": "libxencall1" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3", "binary_name": "libxencall1-dbgsym" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3", "binary_name": "libxendevicemodel1" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3", "binary_name": "libxendevicemodel1-dbgsym" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3", "binary_name": "libxenevtchn1" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3", "binary_name": "libxenevtchn1-dbgsym" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3", "binary_name": "libxenforeignmemory1" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3", "binary_name": "libxenforeignmemory1-dbgsym" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3", "binary_name": "libxengnttab1" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3", "binary_name": "libxengnttab1-dbgsym" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3", "binary_name": "libxenmisc4.11" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3", "binary_name": "libxenmisc4.11-dbgsym" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3", "binary_name": "libxenstore3.0" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3", "binary_name": "libxenstore3.0-dbgsym" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3", "binary_name": "libxentoolcore1" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3", "binary_name": "libxentoolcore1-dbgsym" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3", "binary_name": "libxentoollog1" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3", "binary_name": "libxentoollog1-dbgsym" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3", "binary_name": "xen-doc" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3", "binary_name": "xen-hypervisor-4.11-amd64" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3", "binary_name": "xen-hypervisor-4.11-arm64" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3", "binary_name": "xen-hypervisor-4.11-armhf" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3", "binary_name": "xen-hypervisor-4.9-amd64" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3", "binary_name": "xen-hypervisor-4.9-arm64" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3", "binary_name": "xen-hypervisor-4.9-armhf" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3", "binary_name": "xen-hypervisor-common" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3", "binary_name": "xen-system-amd64" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3", "binary_name": "xen-system-arm64" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3", "binary_name": "xen-system-armhf" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3", "binary_name": "xen-utils-4.11" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3", "binary_name": "xen-utils-4.11-dbgsym" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3", "binary_name": "xen-utils-common" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3", "binary_name": "xen-utils-common-dbgsym" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3", "binary_name": "xenstore-utils" }, { "binary_version": "4.11.3+24-g14b62ab3e5-1ubuntu2.3", "binary_name": "xenstore-utils-dbgsym" } ] }