The physdev_get_free_pirq hypercall in arch/x86/physdev.c in Xen 4.1.x and Citrix XenServer 6.0.2 and earlier uses the return value of the get_free_pirq function as an array index without checking that the return value indicates an error, which allows guest OS users to cause a denial of service (invalid memory write and host crash) and possibly gain privileges via unspecified vectors.
lists.opensuse.org/opensuse-security-announce/2012-09/msg00003.html
lists.opensuse.org/opensuse-security-announce/2012-09/msg00004.html
lists.opensuse.org/opensuse-security-announce/2012-09/msg00017.html
lists.opensuse.org/opensuse-security-announce/2012-11/msg00017.html
lists.opensuse.org/opensuse-security-announce/2012-11/msg00018.html
lists.xen.org/archives/html/xen-announce/2012-09/msg00001.html
secunia.com/advisories/51413
secunia.com/advisories/55082
security.gentoo.org/glsa/glsa-201309-24.xml
support.citrix.com/article/CTX134708
wiki.xen.org/wiki/Security_Announcements#XSA-13_hypercall_physdev_get_free_pirq_vulnerability
www.openwall.com/lists/oss-security/2012/09/05/6
www.securityfocus.com/bid/55406
www.securitytracker.com/id?1027480
xenbits.xen.org/hg/xen-4.1-testing.hg/rev/6779ddca8593
security.gentoo.org/glsa/201604-03