projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe360c9
)
free domain's vcpu array
author
Jan Beulich
<jbeulich@suse.com>
Thu, 29 Oct 2015 12:35:40 +0000
(13:35 +0100)
committer
Jan Beulich
<jbeulich@suse.com>
Thu, 29 Oct 2015 12:35:40 +0000
(13:35 +0100)
This was overlooked in
fb442e2171
("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>
xen/common/domain.c
patch
|
blob
|
history
diff --git
a/xen/common/domain.c
b/xen/common/domain.c
index b95f29a015d8a1b02a74783741cc84e1f70f4e7e..f56b7ffb3d2f18f542fa16ee4bc535bb158b22d6 100644
(file)
--- a/
xen/common/domain.c
+++ b/
xen/common/domain.c
@@
-841,6
+841,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);