CVE-2022-26362

Name
CVE-2022-26362
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.
NVD Severity
medium
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
MLIST http://www.openwall.com/lists/oss-security/2022/06/09/3
MISC https://xenbits.xenproject.org/xsa/advisory-401.txt
CONFIRM http://xenbits.xen.org/xsa/advisory-401.html
Mailing List https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OH65U6FTTB5MLH5A6Q3TW7KVCGOG4MYI/
Third Party Advisory http://packetstormsecurity.com/files/167718/Xen-TLB-Flush-Bypass.html
Third Party Advisory https://www.debian.org/security/2022/dsa-5184
Mailing List https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RKRXZ4LHGCGMOG24ZCEJNY6R2BTS4S2Q/
Third Party Advisory https://security.gentoo.org/glsa/202208-23
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OH65U6FTTB5MLH5A6Q3TW7KVCGOG4MYI/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RKRXZ4LHGCGMOG24ZCEJNY6R2BTS4S2Q/

Match rules

CPE URI Source package Min version Max version
cpe:2.3:o:xen:xen:*:*:*:*:*:*:x86:* xen == None == None

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
xen 3.14-main 4.15.4-r0 Natanael Copa <ncopa@alpinelinux.org> fixed
xen 3.15-main 4.15.5-r4 Natanael Copa <ncopa@alpinelinux.org> fixed
xen 3.16-main 4.16.6-r0 Natanael Copa <ncopa@alpinelinux.org> fixed
xen edge-main 4.19.0-r1 Natanael Copa <ncopa@alpinelinux.org> fixed
xen 3.20-main 4.18.3-r2 Natanael Copa <ncopa@alpinelinux.org> fixed
xen 3.19-main 4.18.3-r2 Natanael Copa <ncopa@alpinelinux.org> fixed
xen 3.17-main 4.16.6-r3 Natanael Copa <ncopa@alpinelinux.org> fixed
xen 3.18-main 4.17.5-r2 Natanael Copa <ncopa@alpinelinux.org> fixed
xen edge-main 4.19.1-r0 Natanael Copa <ncopa@alpinelinux.org> fixed
xen edge-main 4.19.1-r1 Natanael Copa <ncopa@alpinelinux.org> fixed
xen edge-main 4.19.2-r0 Natanael Copa <ncopa@alpinelinux.org> fixed
xen edge-main 4.20.0-r0 Natanael Copa <ncopa@alpinelinux.org> fixed