All reports
Medium

xen: race when migrating timers between x86 HVM vCPU-s (XSA-336)

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2020-25604

Probability of exploitation in the next 30 days: 0.26%

FIRST EPSS · 2026-11-22

Description

An issue was discovered in Xen through 4.14.x. There is a race condition when migrating timers between x86 HVM vCPUs. When migrating timers of x86 HVM guests between its vCPUs, the locking model used allows for a second vCPU of the same guest (also operating on the timers) to release a lock that it didn't acquire. The most likely effect of the issue is a hang or crash of the hypervisor, i.e., a Denial of Service (DoS). All versions of Xen are affected. Only x86 systems are vulnerable. Arm systems are not vulnerable. Only x86 HVM guests can leverage the vulnerability. x86 PV and PVH cannot leverage the vulnerability. Only guests with more than one vCPU can exploit the vulnerability.

A race condition flaw was found in Xen. When migrating timers of x86 HVM guests between its vCPUs, the locking model that is used allows for a second vCPU of the same guest that is also operating on the timers, to release a lock that was not acquired. The issue leads to the hypervisor hanging or crashing, resulting in a denial of service (DoS). The highest threat from this vulnerability is to system availability.