Vulnerability in Xen
CVE-2022-23033
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.003, 27.8th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Xen — versions consult Xen advisory XSA-393
- Debian Linux — versions 11.0
- Fedoraproject Fedora — versions 34
Weakness classification (CWE)
References
- xenbits.xenproject.org/xsa/advisory-393.txt (Vendor Advisory)
- [oss-security] 20220125 Xen Security Advisory 393 v2 (CVE-2022-23033) - arm: guest_physmap_remove_page not removing the p2m mappings (mailing-list, Patch, Mailing List, Third Party Advisory)
- FEDORA-2022-0cc3916e08 (vendor-advisory)
- DSA-5117 (vendor-advisory, Third Party Advisory)
- GLSA-202208-23 (vendor-advisory, Third Party Advisory)