CVE-2023-34322
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedFor migration as well as to work around kernels unaware of L1TF (see XSA-273), PV guests may be run in shadow paging mode. Since Xen itself needs to be mapped when PV guests run, Xen and shadowed PV guests run directly the respective shadow page tables. For 64-bit PV guests this means running on the shadow of the guest root page table. In the course of dealing with shortage of memory in the shadow pool associated with a domain, shadows of page tables may be torn down. This tearing down may include the shadow root page table that the CPU in question is presently running on. While a precaution exists to supposedly prevent the tearing down of the underlying live page table, the time window covered by that precaution isn't large enough.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · moderate confidenceA race condition in Xen's shadow paging mode allows the shadow root page table currently in use by a CPU to be torn down during memory shortage in the shadow pool. This occurs because the time window in the existing precaution is insufficient, potentially allowing a PV guest to crash the host or achieve privilege escalation.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data>= 3.2.0, < 4.15.0CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Local
- Complexity
- Low
- Privileges
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Determine installed Xen hypervisor versionRun `xl info -r` or `xl info` and look for the xen_version field, or check the package version with `rpm -q xen` (RHEL/CentOS), `dpkg -l xen*` (Debian/Ubuntu), or `zypper se xen` (SLES)Affected if The version is 3.2.0 or higher but lower than 4.15.0
-
Identify paravirtualized (PV) guestsRun `xl list` to list all guests. PV guests typically show 'PV' in the type column. Run `xl cfgbootloader <guestname>` or inspect guest config files in /etc/xen/ (or /var/lib/xen/images/) for the guest typeAffected if There are PV guests running, as these are the guests that can trigger shadow paging usage
-
Check if shadow paging is enabled for guestsInspect each PV guest configuration file (typically in /etc/xen/ or /var/lib/xen/) and look for 'shadow_memory' setting, or run `xl list -l <guestname>` and search for 'shadow' in the outputAffected if shadow_memory is explicitly set or shadow paging is configured for any guest; PV guests may also use shadow paging automatically in certain conditions
-
Verify shadow paging status in hypervisor runtimeRun `xl dmesg | grep -i shadow` to check for shadow paging related messages in the hypervisor log, which may indicate active shadow paging usageAffected if Shadow paging messages appear in dmesg output indicating the feature is active
You are affected if your Xen version is >= 3.2.0 and < 4.15.0 AND you have PV guests with shadow paging enabled or automatically in use.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped4.15.0
Update Xen to the patched version. Alternatively, migrate affected PV guests to HVM mode or disable shadow paging if possible, though this may have compatibility or performance implications.
Xen 4.15.0 or later
- 1. Identify all Xen hosts in the infrastructure running Xen versions >= 3.2.0 and < 4.15.0 using 'xl version' or 'xm version' commands
- 2. Schedule a maintenance window for each affected Xen host
- 3. Before upgrading, ensure all VMs are safely migrated or shut down according to site policy
- 4. Upgrade Xen hypervisor to version 4.15.0 or later by installing the appropriate package for your distribution (e.g., 'apt-get update && apt-get install xen-hypervisor' or equivalent)
- 5. Reboot each Xen host to load the new hypervisor
- 6. After reboot, verify the running Xen version is >= 4.15.0 using 'xl version'
- 7. Resume normal operations by starting/migrating VMs back to the updated hosts
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation4.0 h
- Implementation8.0 h
- Testing6.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $5,600.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2023-34322 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2023-34322 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data