From 63c4744f4eef34af1cd77a2abb3edaf46c0d9fd1 Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Thu, 29 Oct 2015 14:13:30 +0100 Subject: [PATCH] free domain's vcpu array This was overlooked in fb442e2171 ("x86_64: allow more vCPU-s per guest"). This is CVE-2015-7969 / XSA-149. Reported-by: Ian Campbell Signed-off-by: Jan Beulich Reviewed-by: Ian Campbell --- xen/common/domain.c | 1 + 1 file changed, 1 insertion(+) diff --git a/xen/common/domain.c b/xen/common/domain.c index b6601a3966..19e8470bc6 100644 --- a/xen/common/domain.c +++ b/xen/common/domain.c @@ -744,6 +744,7 @@ static void complete_domain_destroy(struct rcu_head *head) xsm_free_security_domain(d); free_cpumask_var(d->domain_dirty_cpumask); + xfree(d->vcpu); free_domain_struct(d); send_global_virq(VIRQ_DOM_EXC);