mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
free domain's vcpu array
This was overlooked infb442e2171("x86_64: allow more vCPU-s per guest"). This is CVE-2015-7969 / XSA-149. Reported-by: Ian Campbell <ian.campbell@citrix.com> Signed-off-by: Jan Beulich <jbeulich@suse.com> Reviewed-by: Ian Campbell <ian.campbell@citrix.com> master commit:d46896ebbbmaster date: 2015-10-29 13:35:40 +0100
This commit is contained in:
1 parent
3be91e6c20
commit
d7f7c5c655
1 file changed
+1
@@ -734,6 +734,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);
|
||||
|
||||