{
    "CVE_data_meta": {
        "ASSIGNER": "security@xen.org",
        "ID": "CVE-2022-26362",
        "STATE": "PUBLIC"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "xen",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_affected": "?",
                                            "version_value": "consult Xen advisory XSA-401"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "Xen"
                }
            ]
        }
    },
    "configuration": {
        "configuration_data": {
            "description": {
                "description_data": [
                    {
                        "lang": "eng",
                        "value": "All versions of Xen are vulnerable.\n\nOnly x86 PV guests can trigger this vulnerability.\n\nTo exploit the vulnerability, there needs to be an undue delay at just\nthe wrong moment in _get_page_type().  The degree to which an x86 PV\nguest can practically control this race condition is unknown."
                    }
                ]
            }
        }
    },
    "credit": {
        "credit_data": {
            "description": {
                "description_data": [
                    {
                        "lang": "eng",
                        "value": "This issue was discovered by Jann Horn of Google Project Zero."
                    }
                ]
            }
        }
    },
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "x86 pv: Race condition in typeref acquisition 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, the logic for acquiring a type reference has a race condition, whereby a safely TLB flush is issued too early and creates a window where the guest can re-establish the read/write mapping before writeability is prohibited."
            }
        ]
    },
    "impact": {
        "impact_data": {
            "description": {
                "description_data": [
                    {
                        "lang": "eng",
                        "value": "Malicious x86 PV guest administrators may be able to escalate privilege\nso as to control the whole system."
                    }
                ]
            }
        }
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "unknown"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "url": "https://xenbits.xenproject.org/xsa/advisory-401.txt",
                "refsource": "MISC",
                "name": "https://xenbits.xenproject.org/xsa/advisory-401.txt"
            },
            {
                "refsource": "CONFIRM",
                "name": "http://xenbits.xen.org/xsa/advisory-401.html",
                "url": "http://xenbits.xen.org/xsa/advisory-401.html"
            },
            {
                "refsource": "MLIST",
                "name": "[oss-security] 20220609 Xen Security Advisory 401 v2 (CVE-2022-26362) - x86 pv: Race condition in typeref acquisition",
                "url": "http://www.openwall.com/lists/oss-security/2022/06/09/3"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2022-0142d562ca",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OH65U6FTTB5MLH5A6Q3TW7KVCGOG4MYI/"
            },
            {
                "refsource": "MISC",
                "name": "http://packetstormsecurity.com/files/167718/Xen-TLB-Flush-Bypass.html",
                "url": "http://packetstormsecurity.com/files/167718/Xen-TLB-Flush-Bypass.html"
            },
            {
                "refsource": "DEBIAN",
                "name": "DSA-5184",
                "url": "https://www.debian.org/security/2022/dsa-5184"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2022-2c9f8224f8",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RKRXZ4LHGCGMOG24ZCEJNY6R2BTS4S2Q/"
            },
            {
                "refsource": "GENTOO",
                "name": "GLSA-202208-23",
                "url": "https://security.gentoo.org/glsa/202208-23"
            }
        ]
    },
    "workaround": {
        "workaround_data": {
            "description": {
                "description_data": [
                    {
                        "lang": "eng",
                        "value": "Not running x86 PV guests will avoid the vulnerability."
                    }
                ]
            }
        }
    }
}