mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
XSA-322 fixed a domid reuse vulnerability by assigning Dom0 as the owner of any nodes left after a domain is shutdown (e.g. outside its /local/domain/N tree). However Dom0 has no quota on purpose, so this opened up another potential attack vector. Avoid it by deleting these nodes instead of assigning them to Dom0. This is part of XSA-419 / CVE-2022-42323. Fixes:c46eff9212("tools/ocaml/xenstored: clean up permissions for dead domains") Signed-off-by: Edwin Török <edvin.torok@citrix.com> Acked-by: Christian Lindig <christian.lindig@citrix.com> (cherry picked from commitdb471408ed)