CVE-2022-23033

HIGH

Xen >=4.12.0 - Improper Resource Shutdown or Release in p2m Mapping Removal

Title source: llm
STIX 2.1

Description

arm: guest_physmap_remove_page not removing the p2m mappings The functions to remove one or more entries from a guest p2m pagetable on Arm (p2m_remove_mapping, guest_physmap_remove_page, and p2m_set_entry with mfn set to INVALID_MFN) do not actually clear the pagetable entry if the entry doesn't have the valid bit set. It is possible to have a valid pagetable entry without the valid bit set when a guest operating system uses set/way cache maintenance instructions. For instance, a guest issuing a set/way cache maintenance instruction, then calling the XENMEM_decrease_reservation hypercall to give back memory pages to Xen, might be able to retain access to those pages even after Xen started reusing them for other purposes.

References (5)

Core 5
Core References
Vendor Advisory x_refsource_misc
https://xenbits.xenproject.org/xsa/advisory-393.txt
Mailing List, Patch, Third Party Advisory mailing-list x_refsource_mlist
http://www.openwall.com/lists/oss-security/2022/01/25/2
Third Party Advisory vendor-advisory x_refsource_debian
https://www.debian.org/security/2022/dsa-5117
Third Party Advisory vendor-advisory x_refsource_gentoo
https://security.gentoo.org/glsa/202208-23

Scores

CVSS v3 7.8
EPSS 0.0009
EPSS Percentile 25.7%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-404
Status published
Products (3)
debian/debian_linux 11.0
fedoraproject/fedora 34
xen/xen 4.12.0
Published Jan 25, 2022
Tracked Since Feb 18, 2026