he 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.
| Link | Resource |
|---|---|
| https://xenbits.xenproject.org/xsa/advisory-463.html | Patch Vendor Advisory |
| http://www.openwall.com/lists/oss-security/2024/11/12/2 | Patch Third Party Advisory |
| http://xenbits.xen.org/xsa/advisory-463.html | Patch Vendor Advisory |
20 May 2025, 16:28
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://xenbits.xenproject.org/xsa/advisory-463.html - Patch, Vendor Advisory | |
| References | () http://www.openwall.com/lists/oss-security/2024/11/12/2 - Patch, Third Party Advisory | |
| References | () http://xenbits.xen.org/xsa/advisory-463.html - Patch, Vendor Advisory | |
| CPE | cpe:2.3:o:xen:xen:*:*:*:*:*:*:x86:* | |
| First Time |
Xen xen
Xen |
31 Dec 2024, 19:15
| Type | Values Removed | Values Added |
|---|---|---|
| Summary |
|
|
| CWE | CWE-667 | |
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 6.5 |
19 Dec 2024, 12:15
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Published : 2024-12-19 12:15
Updated : 2025-05-20 16:28
NVD link : CVE-2024-45818
Mitre link : CVE-2024-45818
CVE.ORG link : CVE-2024-45818
JSON object : View
Improper Locking