CVE-2024-45818
NixOS vulnerability analysis and mitigation

Overview

CVE-2024-45818 (XSA-463) is a deadlock vulnerability in x86 HVM standard VGA handling discovered in the Xen hypervisor. The vulnerability was publicly released on November 12, 2024, and affects Xen versions 4.6 through 4.19. The issue stems from improper locking discipline in code designed to accelerate VGA memory accesses for HVM guests when the virtual VGA is in standard mode (Xen Advisory).

Technical details

The vulnerability arises from an unusual locking discipline where a lock remains acquired past the return from the function that acquired it. When emulating an instruction with two memory accesses that touch VGA memory, the system attempts to re-acquire an already held lock during the second access, resulting in a deadlock. This issue was previously identified when the code was first introduced, but the initial analysis was incorrect and the fix was incomplete. The functionality was accidentally disabled since Xen 4.7, and the current fix involves backporting the removal of most of the feature (Xen Advisory).

Impact

A guest kernel, without necessarily being malicious, can trigger a condition that locks up the entire host system. The vulnerability has received a CVSS v3.1 base score of 6.5 (MEDIUM) with vector AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N (NVD).

Mitigation and workarounds

The primary mitigation is to run only PV or PVH guests to avoid the vulnerability. For affected systems, patches have been released for Xen versions 4.16 through 4.19. System administrators are advised to apply the appropriate patches to their stable branches (Xen Advisory).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-61619HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61618HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61617HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61610HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61609HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management