x86 HVM hypercalls may trigger Xen bug check (Xen Xen)
At a glance
- Source
- NVD
- EPSS
- EPSS 8.53 % · percentile 95 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- XEN
- NVD status
- Analyzed
Description
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.
Weaknesses (CWE)
- CWE-843 — Access of Resource Using Incompatible Type
References
- https://xenbits.xenproject.org/xsa/advisory-454.html
- http://xenbits.xen.org/xsa/advisory-454.html
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/D5OK6MH75S7YWD34EWW7QIZTS627RIE3/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RYAZ7P6YFJ2E3FHKAGIKHWS46KYMMTZH/
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H | CISA-ADP |
| CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H | NVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) |
European references
- ENISA EUVD · EUVD-2023-51008
- GCVE · GCVE-0-2023-46842
CERT-FR advisories
- CERTFR-2024-AVI-0299 — Multiples vulnérabilités dans les produits Citrix · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0286 — Multiples vulnérabilités dans les produits Xen · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:o:xen:xen:*:*:*:*:*:*:x86:*≥ 3.2.0cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:*cpe:2.3:o:fedoraproject:fedora:40:*:*:*:*:*:*:*
Affected products
| Product | Versions |
|---|---|
| Xen · Xen | unknown consult Xen advisory XSA-454 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |