Vulnerability in Xen
CVE-2022-26362
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.
Vulnerability class: Race Condition
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.4 (Medium). Vector: CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.004, 33.1th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Xen — versions consult Xen advisory XSA-401
- Debian Linux — versions 11.0
- Fedoraproject Fedora — versions 35, 36
Weakness classification (CWE)
References
- xenbits.xenproject.org/xsa/advisory-401.txt (Vendor Advisory)
- xenbits.xen.org/xsa/advisory-401.html (Patch, Vendor Advisory)
- [oss-security] 20220609 Xen Security Advisory 401 v2 (CVE-2022-26362) - x86 pv: Race condition in typeref acquisition (mailing-list, Mailing List, Third Party Advisory)
- FEDORA-2022-0142d562ca (vendor-advisory)
- packetstormsecurity.com/files/167718/Xen-TLB-Flush-Bypass.html (VDB Entry, Third Party Advisory)
- DSA-5184 (vendor-advisory, Third Party Advisory)
- FEDORA-2022-2c9f8224f8 (vendor-advisory)
- GLSA-202208-23 (vendor-advisory, Third Party Advisory)