CVE-2022-42333
CVE-2022-42333
In short
A system managing virtual machines (hypervisor) allows unprivileged processes to control unlimited cache settings for virtual devices without proper coordination, potentially leading to system instability or unauthorized access to cached data.
Technical detail
CVE-2022-42333 involves unbounded allocation of pinned cache attribute regions in Xen's x86 HVM implementation. Deprivileged entities (e.g., qemu in Dom0 or stub-domains) can exploit the cache control interface to exhaust memory or manipulate cachability settings without rate limiting, affecting hypervisor stability and guest isolation.
Summary generated and translated by AI from the official description.
x86/HVM pinned cache attributes mis-handling T[his CNA information record relates to multiple CVEs; the text explains which aspects/vulnerabilities correspond to which CVE.] To allow cachability control for HVM guests with passed through devices, an interface exists to explicitly override defaults which would otherwise be put in place. While not exposed to the affected guests themselves, the interface specifically exists for domains controlling such guests. This interface may therefore be used by not fully privileged entities, e.g. qemu running deprivileged in Dom0 or qemu running in a so called stub-domain. With this exposure it is an issue that - the number of the such controlled regions was unbounded (CVE-2022-42333), - installation and removal of such regions was not properly serialized (CVE-2022-42334).
Affected products
Xen · xenWant to know if your infrastructure is exposed to this?
Talk to TrueHacking →References
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5L6PM4RE7MUE6OWA32ZVOXCP235RM2TM/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/APBMS2Q6746AXAFAITNJMGBNFGNMVLWR/https://security.gentoo.org/glsa/202402-07https://www.debian.org/security/2023/dsa-5378https://xenbits.xenproject.org/xsa/advisory-428.txthttp://www.openwall.com/lists/oss-security/2023/03/21/2http://xenbits.xen.org/xsa/advisory-428.html