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.
References
Link | Resource |
---|---|
http://www.openwall.com/lists/oss-security/2022/06/09/3 | Mailing List Third Party Advisory |
https://xenbits.xenproject.org/xsa/advisory-401.txt | Vendor Advisory |
http://xenbits.xen.org/xsa/advisory-401.html | Patch Vendor Advisory |
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OH65U6FTTB5MLH5A6Q3TW7KVCGOG4MYI/ | Mailing List Third Party Advisory |
http://packetstormsecurity.com/files/167718/Xen-TLB-Flush-Bypass.html | Third Party Advisory VDB Entry |
https://www.debian.org/security/2022/dsa-5184 | Third Party Advisory |
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RKRXZ4LHGCGMOG24ZCEJNY6R2BTS4S2Q/ | Mailing List Third Party Advisory |
https://security.gentoo.org/glsa/202208-23 | Third Party Advisory |
Information
Published : 2022-06-09 10:15
Updated : 2022-08-24 11:35
NVD link : CVE-2022-26362
Mitre link : CVE-2022-26362
JSON object : View
CWE
CWE-362
Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
Products Affected
debian
- debian_linux
xen
- xen
fedoraproject
- fedora