CVE-2022-23033

Name
CVE-2022-23033
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.
NVD Severity
medium
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
MISC https://xenbits.xenproject.org/xsa/advisory-393.txt
Mailing List http://www.openwall.com/lists/oss-security/2022/01/25/2
Mailing List https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OMR6UBGJW6JKND7IILGQ2CU35EQPF3E3/
DEBIAN https://www.debian.org/security/2022/dsa-5117
Third Party Advisory https://security.gentoo.org/glsa/202208-23
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OMR6UBGJW6JKND7IILGQ2CU35EQPF3E3/

Match rules

CPE URI Source package Min version Max version
cpe:2.3:o:xen:xen:*:*:*:*:*:*:arm:* xen >= 4.12.0 <= None

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
xen 3.12-main 4.13.4-r3 Natanael Copa <ncopa@alpinelinux.org> fixed
xen 3.13-main 4.14.5-r7 Natanael Copa <ncopa@alpinelinux.org> fixed
xen 3.14-main 4.15.4-r0 Natanael Copa <ncopa@alpinelinux.org> fixed
xen 3.15-main 4.15.5-r4 Natanael Copa <ncopa@alpinelinux.org> fixed
xen 3.16-main 4.16.6-r0 Natanael Copa <ncopa@alpinelinux.org> fixed
xen edge-main 4.19.0-r1 Natanael Copa <ncopa@alpinelinux.org> fixed
xen 3.20-main 4.18.3-r2 Natanael Copa <ncopa@alpinelinux.org> fixed
xen 3.19-main 4.18.3-r2 Natanael Copa <ncopa@alpinelinux.org> fixed
xen 3.17-main 4.16.6-r3 Natanael Copa <ncopa@alpinelinux.org> fixed
xen 3.18-main 4.17.5-r2 Natanael Copa <ncopa@alpinelinux.org> fixed
xen edge-main 4.19.1-r0 Natanael Copa <ncopa@alpinelinux.org> fixed