CVEfocus › CVE database › CVE-2023-46842

CVE-2023-46842x86 HVM hypercalls may trigger Xen bug check

CVSS 6.5 MediumEPSS 0.4% (higher than 24% of CVEs)Published 2024-05-16Updated 2025-11-04Assigner: XEN

Unlike 32-bit PV guests, HVM guests may switch freely between 64-bit and other modes. This in particular means that they may set registers used to pass 32-bit-mode hypercall arguments to values outside of the range 32-bit code would be able to set them to. When processing of hypercalls takes a considerable amount of time, the hypervisor may choose to invoke a hypercall continuation. Doing so involves putting (perhaps updated) hypercall arguments in respective registers. For guests not running in 64-bit mode this further involves a certain amount of translation of the values. Unfortunately internal sanity checking of these translated values assumes high halves of registers to always be clear when invoking a hypercall. When this is found not to be the case, it triggers a consistency check in the hypervisor and causes a crash.

CWE-843

What to do

Fixed builds are available from Alpine, Debian: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

12Fixed
3Fix pending
3Under investigation
2Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10xenFix pendingUBUNTU-CVE-2023-46842
Ubuntu 26.04xenUnder investigationUBUNTU-CVE-2023-46842
Ubuntu 25.10xenWill not fix
hypervisor packages are in universe. For issues in the hypervisor, add appropriate tags to each section, ex: Tags_xen: universe-binary
UBUNTU-CVE-2023-46842
Ubuntu 24.04xenUnder investigationUBUNTU-CVE-2023-46842
Ubuntu 22.04xenUnder investigationUBUNTU-CVE-2023-46842
Ubuntu 20.04xenWill not fix
hypervisor packages are in universe. For issues in the hypervisor, add appropriate tags to each section, ex: Tags_xen: universe-binary
UBUNTU-CVE-2023-46842
Ubuntu 18.04xenFix pendingUBUNTU-CVE-2023-46842
Ubuntu 16.04xenFix pendingUBUNTU-CVE-2023-46842
Debian 14xenFixed4.19.1-1DEBIAN-CVE-2023-46842
Debian 13xenFixed4.19.1-1DEBIAN-CVE-2023-46842
Debian 12xenFixed4.17.5+23-ga4e5191dc0-1DEBIAN-CVE-2023-46842
Alpine Linux 3.24xenFixed4.18.2-r0ALPINE-CVE-2023-46842
Alpine Linux 3.23xenFixed4.18.2-r0ALPINE-CVE-2023-46842
Alpine Linux 3.22xenFixed4.18.2-r0ALPINE-CVE-2023-46842
Alpine Linux 3.21xenFixed4.18.2-r0ALPINE-CVE-2023-46842
Alpine Linux 3.20xenFixed4.18.2-r0ALPINE-CVE-2023-46842
Alpine Linux 3.19xenFixed4.18.2-r0ALPINE-CVE-2023-46842
Alpine Linux 3.18xenFixed4.17.4-r0ALPINE-CVE-2023-46842
Alpine Linux 3.17xenFixed4.16.6-r0ALPINE-CVE-2023-46842
Alpine Linux 3.16xenFixed4.16.6-r0ALPINE-CVE-2023-46842

What the vendor says

As published in the CVE record by XEN, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Workaround: Not using HVM / PVH guests will avoid the vulnerability.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.