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.
What to do
Fixed builds are available from Alpine, Debian: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | xen | Fix pending | UBUNTU-CVE-2022-23033 | |
| Ubuntu 26.04 | xen | Under investigation | UBUNTU-CVE-2022-23033 | |
| Ubuntu 25.10 | xen | Will not fix hypervisor packages are in universe. For issues in the hypervisor, add appropriate tags to each section, ex: Tags_xen: universe-binary | UBUNTU-CVE-2022-23033 | |
| Ubuntu 24.04 | xen | Under investigation | UBUNTU-CVE-2022-23033 | |
| Ubuntu 22.04 | xen | Under investigation | UBUNTU-CVE-2022-23033 | |
| Ubuntu 20.04 | xen | Will not fix hypervisor packages are in universe. For issues in the hypervisor, add appropriate tags to each section, ex: Tags_xen: universe-binary | UBUNTU-CVE-2022-23033 | |
| Ubuntu 18.04 | xen | Will not fix hypervisor packages are in universe. For issues in the hypervisor, add appropriate tags to each section, ex: Tags_xen: universe-binary | UBUNTU-CVE-2022-23033 | |
| Ubuntu 16.04 | xen | Will not fix hypervisor packages are in universe. For issues in the hypervisor, add appropriate tags to each section, ex: Tags_xen: universe-binary | UBUNTU-CVE-2022-23033 | |
| Ubuntu 14.04 | xen | Will not fix hypervisor packages are in universe. For issues in the hypervisor, add appropriate tags to each section, ex: Tags_xen: universe-binary | ||
| Debian 14 | xen | Fixed | 4.16.0+51-g0941d6cb-1 | DEBIAN-CVE-2022-23033 |
| Debian 13 | xen | Fixed | 4.16.0+51-g0941d6cb-1 | DEBIAN-CVE-2022-23033 |
| Debian 12 | xen | Fixed | 4.16.0+51-g0941d6cb-1 | DEBIAN-CVE-2022-23033 |
| Red Hat Enterprise Linux 5 | kernel-xen | Not affected | ||
| Alpine Linux 3.24 | xen | Fixed | 4.16.1-r0 | ALPINE-CVE-2022-23033 |
| Alpine Linux 3.23 | xen | Fixed | 4.16.1-r0 | ALPINE-CVE-2022-23033 |
| Alpine Linux 3.22 | xen | Fixed | 4.16.1-r0 | ALPINE-CVE-2022-23033 |
| Alpine Linux 3.21 | xen | Fixed | 4.16.1-r0 | ALPINE-CVE-2022-23033 |
| Alpine Linux 3.20 | xen | Fixed | 4.16.1-r0 | ALPINE-CVE-2022-23033 |
| Alpine Linux 3.19 | xen | Fixed | 4.16.1-r0 | ALPINE-CVE-2022-23033 |
| Alpine Linux 3.18 | xen | Fixed | 4.16.1-r0 | ALPINE-CVE-2022-23033 |
| Alpine Linux 3.17 | xen | Fixed | 4.16.1-r0 | ALPINE-CVE-2022-23033 |
| Alpine Linux 3.16 | xen | Fixed | 4.16.1-r0 | ALPINE-CVE-2022-23033 |
| Alpine Linux 3.15 | xen | Fixed | 4.15.2-r0 | ALPINE-CVE-2022-23033 |
| Alpine Linux 3.14 | xen | Fixed | 4.15.2-r0 | ALPINE-CVE-2022-23033 |
| Alpine Linux 3.13 | xen | Fixed | 4.14.5-r0 | ALPINE-CVE-2022-23033 |
| Alpine Linux 3.12 | xen | Fixed | 4.13.4-r3 | ALPINE-CVE-2022-23033 |
What the vendor says
As published in the CVE record by XEN, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- xen
Vendor advisories:
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://www.debian.org/security/2022/dsa-5117 (vendor-advisory)
- https://security.gentoo.org/glsa/202208-23 (vendor-advisory)
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
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.