Vulnerability · Published Jun 9, 2022 · Assigned by XEN
CVE-2022-26362
Medium 6.4
In plain English
A medium-severity security flaw in xen from Xen. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 33% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | xen | 4.16.1-r2 | ALPINE-CVE-2022-26362 |
| Alpine:v3.21 | xen | 4.16.1-r2 | ALPINE-CVE-2022-26362 |
| Alpine:v3.22 | xen | 4.16.1-r2 | ALPINE-CVE-2022-26362 |
| Alpine:v3.23 | xen | 4.16.1-r2 | ALPINE-CVE-2022-26362 |
| Alpine:v3.24 | xen | 4.16.1-r2 | ALPINE-CVE-2022-26362 |
| Debian:12 | xen | 4.16.2-1 | DEBIAN-CVE-2022-26362 |
| Debian:13 | xen | 4.16.2-1 | DEBIAN-CVE-2022-26362 |
| Debian:14 | xen | 4.16.2-1 | DEBIAN-CVE-2022-26362 |
| Ubuntu:22.04:LTS | xen | no fix listed | UBUNTU-CVE-2022-26362 |
| Ubuntu:24.04:LTS | xen | no fix listed | UBUNTU-CVE-2022-26362 |
| Ubuntu:25.10 | xen | no fix listed | UBUNTU-CVE-2022-26362 |
| Ubuntu:26.04:LTS | xen | no fix listed | UBUNTU-CVE-2022-26362 |
| Ubuntu:26.10 | xen | no fix listed | UBUNTU-CVE-2022-26362 |
Affected products (as reported)
References
- https://xenbits.xenproject.org/xsa/advisory-401.txt x_refsource_MISC
- http://xenbits.xen.org/xsa/advisory-401.html x_refsource_CONFIRM
- [oss-security] 20220609 Xen Security Advisory 401 v2 (CVE-2022-26362) - x86 pv: Race condition in typeref acquisition mailing-list, x_refsource_MLIST
- FEDORA-2022-0142d562ca vendor-advisory, x_refsource_FEDORA
- http://packetstormsecurity.com/files/167718/Xen-TLB-Flush-Bypass.html x_refsource_MISC
- DSA-5184 vendor-advisory, x_refsource_DEBIAN
- FEDORA-2022-2c9f8224f8 vendor-advisory, x_refsource_FEDORA
- GLSA-202208-23 vendor-advisory, x_refsource_GENTOO