Advisory

DEBIAN-CVE-2024-45818

Also known as: CVE-2024-45818

Summary

The record has no summary.

Details

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.

Severity

Medium Basis: CVSS v3 score 6.5, vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N

Dates

Published
2024-12-19 12:15 UTC
Modified
2026-11-02 12:03 UTC

Affected packages and fixes

xen

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 4.17.5+23-ga4e5191dc0-1 (ecosystem)

Fixed versions

4.17.5+23-ga4e5191dc0-1

Fix

  • Fixed version 4.17.5+23-ga4e5191dc0-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

xen

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 4.19.1-1 (ecosystem)

Fixed versions

4.19.1-1

Fix

  • Fixed version 4.19.1-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

xen

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 4.19.1-1 (ecosystem)

Fixed versions

4.19.1-1

Fix

  • Fixed version 4.19.1-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences