CVE-2022-26364
JSON

6.7medium

x86 pv: Insufficient care with non-coherent mappings T[his CNA information record relates to multiple CVEs; the text explains which aspects…

Severity
6.7medium CVSS:3.1 by NVD
Exploit likelihood
0.51% (higher than 44% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
XEN

Description

x86 pv: Insufficient care with non-coherent mappings T[his CNA information record relates to multiple CVEs; the text explains which aspects/vulnerabilities correspond to which CVE.] Xen maintains a type reference count for pages, in addition to a regular reference count. This scheme is used to maintain invariants required for Xen's safety, e.g. PV guests may not have direct writeable access to pagetables; updates need auditing by Xen. Unfortunately, Xen's safety logic doesn't account for CPU-induced cache non-coherency; cases where the CPU can cause the content of the cache to be different to the content in main memory. In such cases, Xen's safety logic can incorrectly conclude that the contents of a page is safe.

Affected

Product or packageVersionsReported by
Xen xenconsult Xen advisory XSA-402CVE List, NVD
fedoraproject fedora35, 36NVD
debian debian_linux11.0NVD

All scores

NVD6.7medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
NVD7.2high CVSS:2.0AV:L/AC:L/Au:N/C:C/I:C/A:C

What each source says

CVE List

x86 pv: Insufficient care with non-coherent mappings T[his CNA information record relates to multiple CVEs; the text explains which aspects/vulnerabilities correspond to which CVE.] Xen maintains a type reference count for pages, in addition to a regular reference count. This scheme is used to maintain invariants required for Xen's safety, e.g. PV guests may not have direct writeable access to pagetables; updates need auditing by Xen. Unfortunately, Xen's safety logic doesn't account for CPU-induced cache non-coherency; cases where the CPU can cause the content of the cache to be different to the content in main memory. In such cases, Xen's safety logic can incorrectly conclude that the contents of a page is safe.

NVD (es)

x86 pv: Cuidado insuficiente con los mapeos no coherentes [Este registro de información CNA se relaciona con múltiples CVEs; el texto explica qué aspectos/vulnerabilidades corresponden a cada CVE]. Xen mantiene un recuento de referencias de tipo para las páginas, además de un recuento de referencias regulares. Este esquema es usado para mantener invariantes requeridos para la seguridad de Xen, por ejemplo, los invitados de PV no pueden tener acceso directo de escritura a las tablas de páginas; las actualizaciones necesitan ser auditadas por Xen. Desafortunadamente, la lógica de seguridad de Xen no presenta en cuenta la no-coherencia de la caché inducida por la CPU; casos en los que la CPU puede causar que el contenido de la caché sea diferente al contenido en la memoria principal. En estos casos, la lógica de seguridad de Xen puede concluir incorrectamente que el contenido de una página es seguro

References

https://xenbits.xenproject.org/xsa/advisory-402.txtvendor-advisory
http://xenbits.xen.org/xsa/advisory-402.htmlpatch, vendor-advisory
http://www.openwall.com/lists/oss-security/2022/06/09/4mailing-list, third-party-advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OH65U6FTTB5MLH5A6Q3TW7KVCGOG4MYI/vendor-advisory
http://packetstormsecurity.com/files/167710/Xen-PV-Guest-Non-SELFSNOOP-CPU-Memory-Corruption.htmlexploit, third-party-advisory, vdb-entry
https://www.debian.org/security/2022/dsa-5184third-party-advisory, vendor-advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RKRXZ4LHGCGMOG24ZCEJNY6R2BTS4S2Q/vendor-advisory
https://security.gentoo.org/glsa/202208-23third-party-advisory, vendor-advisory

Sources

SourceRecordLicence
CVE ListCVE-2022-26364 changed 2024-08-03CVE Terms of Use
NVDCVE-2022-26364 changed 2026-06-17Public domain