6.5

CVE-2024-45818: Deadlock in x86 HVM standard VGA handling

Analyzed
AliasesALPINE-CVE-2024-45818UBUNTU-CVE-2024-45818DEBIAN-CVE-2024-45818
Published 19-12-2024Last modified 31-12-2024

Vulnerability summary

CVE-2024-45818 is a medium (CVSS 6.5) Improper Locking vulnerability in xen. EPSS estimates a 0.27% chance of exploitation in the next 30 days, higher than 19.2% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 6.5, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.5/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.27%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 9 · Related 7

Timeline

  1. 19-12-2024
    PublishedVulnerability first disclosed.
  2. 31-12-2024
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

0.27%

Chance of exploitation in the next 30 days

Percentile

19%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.27% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Alpine1 product
  • xen≥ 4.6.0, < 4.16.6-r3 | ≥ 4.6.0, < 4.17.5-r2 | ≥ 4.6.0, < 4.18.3-r2 | ≥ 4.6.0, < 4.19.0-r1
Debian1 product
  • xen< 4.17.5+23-ga4e5191dc0-1 | < 4.19.1-1
Ubuntu1 product
  • xenAll versions (No fix recorded)
Xen1 product
  • xen≥ 4.6.0, < 4.20.0

4 vendors · 4 products

References

8 links