ARM guests can send SGI (i.e. IPI) targeting a list of vCPUs using the
MMIO register GICD_SGIR (GICv2) or System Register ICC_SGI1R (GICv3).
However, the emulation code does not sanitize the list and will
directly access an array without checking whether the array index is
A guest may cause a hypervisor crash, resulting in a Denial of Service
Xen versions 4.6 and onwards are affected. Xen versions 4.5 and
earlier are not affected.
Only ARM systems are affected. x86 systems are not affected.
On systems where the guest kernel is controlled by the host rather than
guest administrator, running only kernels which only send sane IPIs
(i.e. targeting valid CPUs) will prevent untrusted guest users from
exploiting this issue. However untrusted guest administrators can
still trigger it unless further steps are taken to prevent them from
loading code into the kernel (e.g by disabling loadable modules etc) or
from using other mechanisms which allow them to run code at kernel
This issue was discovered by Julien Grall of ARM.
Applying the attached patch resolves this issue.
xsa225.patch xen-unstable, Xen 4.8.x, Xen 4.7.x, Xen 4.6.x
$ sha256sum xsa225*
DEPLOYMENT DURING EMBARGO
Deployment of the patches and/or mitigations described above (or
others which are substantially similar) is permitted during the
embargo, even on public-facing systems with untrusted guest users and
But: Distribution of updated software is prohibited (except to other
members of the predisclosure list).
Predisclosure list members who wish to deploy significantly different
patches and/or mitigations, please contact the Xen Project Security
(Note: this during-embargo deployment notice is retained in
post-embargo publicly released Xen Project advisories, even though it
is then no longer applicable. This is to enable the community to have
oversight of the Xen Project Security Team's decisionmaking.)
Author: Yixun Lan <firstname.lastname@example.org>
Date: Wed Jul 12 15:15:52 2017 +0800
app-emulation/xen: security bump
Package-Manager: Portage-2.3.6, Repoman-2.3.2
:100644 100644 6534404116c... 49df2654a33... M app-emulation/xen/Manifest
:000000 100644 00000000000... f66bd1b70f8... A app-emulation/xen/xen-4.7.3.ebuild
:000000 100644 00000000000... bf73951bc39... A app-emulation/xen/xen-4.8.1-r2.ebuild
Thank you Yixun Lan
Arches please let us know when all is stable
Changing since only ARM systems are affected. X86 not affected recategorizing whiteboard.
Even though GLSA is not needed for ~3, adding to an existing GLSA since we already have one in progress.
Maintainer(s), please drop the vulnerable version(s).
(In reply to Yury German from comment #3)
> Changing since only ARM systems are affected. X86 not affected
> recategorizing whiteboard.
> Even though GLSA is not needed for ~3, adding to an existing GLSA since we
> already have one in progress.
> Maintainer(s), please drop the vulnerable version(s).
Sorry, I see what you did there.