{"id":"CVE-2022-23033","state":"PUBLISHED","title":"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","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.","publishedAt":"2022-01-25T13:36:25.000Z","updatedAt":"2024-08-03T03:28:42.940Z","severity":null,"assigner":"XEN","products":["Xen xen"],"affected":[{"vendor":"Xen","product":"xen","versions":[{"version":"consult Xen advisory XSA-393","status":"unknown"}]}],"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"],"weaknesses":[],"ingestedAt":"2026-10-29T19:49:40.939Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/23xxx/CVE-2022-23033.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2022-23033","state":"PUBLISHED","datePublished":"2022-01-25T13:36:25.000Z","dateUpdated":"2024-08-03T03:28:42.940Z","assignerShortName":"XEN","assignerOrgId":"23aa2041-22e1-471f-9209-9b7396fa234f","dateReserved":"2022-01-10T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Xen","product":"xen","versions":[{"version":"consult Xen advisory XSA-393","status":"unknown"}]}],"references":[{"url":"https://xenbits.xenproject.org/xsa/advisory-393.txt","tags":["x_refsource_MISC"]},{"url":"http://www.openwall.com/lists/oss-security/2022/01/25/2","name":"[oss-security] 20220125 Xen Security Advisory 393 v2 (CVE-2022-23033) - arm: guest_physmap_remove_page not removing the p2m mappings","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OMR6UBGJW6JKND7IILGQ2CU35EQPF3E3/","name":"FEDORA-2022-0cc3916e08","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://www.debian.org/security/2022/dsa-5117","name":"DSA-5117","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"https://security.gentoo.org/glsa/202208-23","name":"GLSA-202208-23","tags":["vendor-advisory","x_refsource_GENTOO"]}],"metrics":[{"other":{"content":{"description":{"description_data":[{"lang":"eng","value":"A malicious guest may be able to access Xen and other domains' memory.\nThis could cause information leaks, host or domain Denial of Service\n(DoS), and privilege escalations."}]}},"type":"unknown"}}],"problemTypes":[{"descriptions":[{"description":"unknown","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"XEN","dateUpdated":"2022-08-14T20:08:37.000Z","orgId":"23aa2041-22e1-471f-9209-9b7396fa234f"},"credits":[{"lang":"en","value":"{'credit_data': {'description': {'description_data': [{'lang': 'eng', 'value': 'This issue was discovered by Dmytro Firsov of EPAM.'}]}}}"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security@xen.org","ID":"CVE-2022-23033","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"xen","version":{"version_data":[{"version_affected":"?","version_value":"consult Xen advisory XSA-393"}]}}]},"vendor_name":"Xen"}]}},"configuration":{"configuration_data":{"description":{"description_data":[{"lang":"eng","value":"Xen version 4.12 and newer are vulnerable.  Only Arm systems are\nvulnerable.\n\nx86 systems are not vulnerable."}]}}},"credit":{"credit_data":{"description":{"description_data":[{"lang":"eng","value":"This issue was discovered by Dmytro Firsov of EPAM."}]}}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"impact_data":{"description":{"description_data":[{"lang":"eng","value":"A malicious guest may be able to access Xen and other domains' memory.\nThis could cause information leaks, host or domain Denial of Service\n(DoS), and privilege escalations."}]}}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"unknown"}]}]},"references":{"reference_data":[{"name":"https://xenbits.xenproject.org/xsa/advisory-393.txt","refsource":"MISC","url":"https://xenbits.xenproject.org/xsa/advisory-393.txt"},{"name":"[oss-security] 20220125 Xen Security Advisory 393 v2 (CVE-2022-23033) - arm: guest_physmap_remove_page not removing the p2m mappings","refsource":"MLIST","url":"http://www.openwall.com/lists/oss-security/2022/01/25/2"},{"name":"FEDORA-2022-0cc3916e08","refsource":"FEDORA","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OMR6UBGJW6JKND7IILGQ2CU35EQPF3E3/"},{"name":"DSA-5117","refsource":"DEBIAN","url":"https://www.debian.org/security/2022/dsa-5117"},{"name":"GLSA-202208-23","refsource":"GENTOO","url":"https://security.gentoo.org/glsa/202208-23"}]},"workaround":{"workaround_data":{"description":{"description_data":[{"lang":"eng","value":"There is no known mitigation."}]}}}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://xenbits.xenproject.org/xsa/advisory-393.txt","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2022/01/25/2","name":"[oss-security] 20220125 Xen Security Advisory 393 v2 (CVE-2022-23033) - arm: guest_physmap_remove_page not removing the p2m mappings","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OMR6UBGJW6JKND7IILGQ2CU35EQPF3E3/","name":"FEDORA-2022-0cc3916e08","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"https://www.debian.org/security/2022/dsa-5117","name":"DSA-5117","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]},{"url":"https://security.gentoo.org/glsa/202208-23","name":"GLSA-202208-23","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T03:28:42.940Z"}}]}}}