The grant-table feature in Xen through 4.8.x does not ensure sufficient type counts for a GNTMAP_device_map and GNTMAP_host_map mapping, which allows guest OS users to cause a denial of service (count mismanagement and memory corruption) or obtain privileged host OS access, aka XSA-224 bug 2.
https://xenbits.xen.org/xsa/advisory-224.html
https://security.gentoo.org/glsa/201710-17
https://security.gentoo.org/glsa/201708-03