Vulnerability record
Xen/gnttab: improve error handling in gnttab_dma_{alloc,free}_pages()
In the Linux kernel, the following vulnerability has been resolved:
Xen/gnttab: improve error handling in gnttab_dma_{alloc,free}_pages()
Both decrease-reservation and populate-physmap can succeed partially. For the former this may be pretty unlikely, but clearly the latter can hit both out-of-memory conditions in the hypervisor or denial because of the allocation exceeding the domain's allowance (there's no interaction with the balloon driver here either).
In gnttab_dma_free_pages() we simply can't give back to the system what hasn't been re-filled with backing memory. For…
Remediation
No fixed version has been published for this vulnerability yet. Check the references below for vendor advisories, workarounds and mitigation guidance.
Sources