Race Condition Affecting xen package, versions <4.16.2-1


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.38% (30th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-XEN-18388883
  • published29 Jul 2026
  • disclosed9 Jun 2022

Introduced: 9 Jun 2022

CVE-2022-26362  (opens in a new tab)
CWE-362  (opens in a new tab)

How to fix?

Upgrade Echo:latest xen to version 4.16.2-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream xen package and not the xen package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1