Skip to content
OpenAdvisories
Unscored CVE-2020-25598 EUVD-2020-18277GHSA-6vvr-9x9v-68j4

An issue was discovered in Xen 4.14.x. There is a missing unlock in the XENMEM_acquire_resource error path. The RCU (Read, Copy, Update) me…

Published Sep 23, 2020 · Updated Aug 4, 2024 · Assigned by mitre

Description

An issue was discovered in Xen 4.14.x. There is a missing unlock in the XENMEM_acquire_resource error path. The RCU (Read, Copy, Update) mechanism is a synchronisation primitive. A buggy error path in the XENMEM_acquire_resource exits without releasing an RCU reference, which is conceptually similar to forgetting to unlock a spinlock. A buggy or malicious HVM stubdomain can cause an RCU reference to be leaked. This causes subsequent administration operations, (e.g., CPU offline) to livelock, resulting in a host Denial of Service. The buggy codepath has been present since Xen 4.12. Xen 4.14 and later are vulnerable to the DoS. The side effects are believed to be benign on Xen 4.12 and 4.13, but patches are provided nevertheless. The vulnerability can generally only be exploited by x86 HVM VMs, as these are generally the only type of VM that have a Qemu stubdomain. x86 PV and PVH domains, as well as ARM VMs, typically don't use a stubdomain. Only VMs using HVM stubdomains can exploit the vulnerability. VMs using PV stubdomains, or with emulators running in dom0, cannot exploit the vulnerability.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
SLES 15 SP2 xen 4.13.1_08-3.10.1 SUSE-SU-2020:2791-1
SLES 15 SP1 xen 4.12.3_08-3.28.1 SUSE-SU-2020:2790-1
SLES 12 SP5 xen 4.12.3_08-3.24.1 SUSE-SU-2020:2788-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 12 SP5 xen 4.12.3_08-3.24.1 SUSE-SU-2020:2788-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed xen 4.15.1_01-1.2 openSUSE-SU-2024:11520-1
openSUSE Leap 15.2 xen 4.13.1_08-lp152.2.9.1 openSUSE-SU-2020:1608-1
ReleasePackageFixed inAdvisory
Alpine v3.24 xen 4.14.0-r1 —
Alpine v3.23 xen 4.14.0-r1 —
Alpine v3.22 xen 4.14.0-r1 —
Alpine v3.21 xen 4.14.0-r1 —
Alpine v3.20 xen 4.14.0-r1 —
Show 10 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 xen 4.14.0-r1 —
Alpine v3.18 xen 4.14.0-r1 —
Alpine v3.17 xen 4.14.0-r1 —
Alpine v3.16 xen 4.14.0-r1 —
Alpine v3.15 xen 4.14.0-r1 —
Alpine v3.14 xen 4.14.0-r1 —
Alpine v3.13 xen 4.14.0-r1 —
Alpine v3.12 xen 4.13.1-r4 —
Alpine v3.11 xen 4.13.1-r4 —
Alpine v3.10 xen 4.12.3-r4 —

Advisories 5

References