CVE-2024-45818

MEDIUM EPSS 15.7%
Published Dec 19, 20241y ago · Modified Jun 17, 20262w ago
6.5 CVSS 3.1
Medium
Find Similar
Published Dec 19, 2024 1y ago
Last Modified Jun 17, 2026 2w ago

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 Details

Base Score
6.5
Exploitability
2.0
Impact
4.0
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
Attack Vector Local
Attack Complexity Low
Privileges Required Low
User Interaction None
Scope Changed
Confidentiality High
Integrity None
Availability None

Threat Intelligence

EPSS Exploit Probability
15.7% percentile
Exploit & Patch Status
No Known Exploit
Patch Available

Weaknesses 1

CWE-667

Affected Products 1

VendorProductVersionRange
xenxen*≥4.6.0  –  <4.20.0

References 3

  • openwall.com http://www.openwall.com/lists/oss-security/2024/11/12/2
    PatchThird Party Advisory
  • xenbits.xen.org http://xenbits.xen.org/xsa/advisory-463.html
    PatchVendor Advisory
  • xenbits.xenproject.org https://xenbits.xenproject.org/xsa/advisory-463.html
    PatchVendor Advisory

Remediation

  • openwall.com http://www.openwall.com/lists/oss-security/2024/11/12/2
    PatchThird Party Advisory
  • xenbits.xen.org http://xenbits.xen.org/xsa/advisory-463.html
    PatchVendor Advisory
  • xenbits.xenproject.org https://xenbits.xenproject.org/xsa/advisory-463.html
    PatchVendor Advisory