1. Accueil
  2. Vulnérabilités
  3. CVE-2024-45818

CVE-2024-45818

The hypervisor contains code to accelerate VGA memory accesses for HVM guests, when the (virtual) VGA is in…

Publiée le 19 déc. 2024 · modifiée le 17 juin 2026 · Sources : NVD, CNA (éditeur ou attributeur), EPSS (FIRST)

Faible 31/100

Résumé

The hypervisor contains code to accelerate VGA memory accesses for HVM guests, when the (virtual) VGA is in "standard" mode. Locking involved there has an unusual discipline, leaving a lock acquired past the return from the function that acquired it. This behavior results in a problem when emulating an instruction with two memory accesses, both of which touch VGA memory (plus some further constraints which aren't relevant here). When emulating the 2nd access, the lock that is already being held would be attempted to be re-acquired, resulting in a deadlock. This deadlock was already found when the code was first introduced, but was analysed incorrectly and the fix was incomplete. Analysis in light of the new finding cannot find a way to make the existing locking discipline work. In staging, this logic has all been removed because it was discovered to be accidentally disabled since Xen 4.7. Therefore, we are fixing the locking problem by backporting the removal of most of the feature. Note that even with the feature disabled, the lock would still be acquired for any accesses to the VGA MMIO region.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

Xen (1 ligne(s))
Xen
ProduitVersionsCorrigé dansSource
Xen de 4.6.0 (inclus) à 4.20.0 (exclu) — NVD

Correctif

Non renseigné par l’éditeur.

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
NVD
Score CVSS
CNA (éditeur ou attributeur)
Faiblesse (CWE)
CNA (éditeur ou attributeur)
Vecteur CVSS
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N (CVSS 3.1, CNA:134c704f-9b21-4f2e-91b3-4a467353bcc0)
Faiblesse
CWE-667 · Autre (CWE-667)

Comment sont obtenues et calculées ces données