CVE-2020-25598 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...
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- Debian
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.
Upgrade path
18 packages: 16 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| alpine/xen(Alpine v3.10) | >= 4.12.0, < 4.12.3-r4 | 4.12.3-r4 | Fixed |
| alpine/xen(Alpine v3.11) | >= 4.12.0, < 4.13.1-r4 | 4.13.1-r4 | Fixed |
| alpine/xen(Alpine v3.12) | >= 4.12.0, < 4.13.1-r4 | 4.13.1-r4 | Fixed |
| alpine/xen(Alpine v3.13) | >= 4.12.0, < 4.14.0-r1 | 4.14.0-r1 | Fixed |
| alpine/xen(Alpine v3.14) | >= 4.12.0, < 4.14.0-r1 | 4.14.0-r1 | Fixed |
| alpine/xen(Alpine v3.15) | >= 4.12.0, < 4.14.0-r1 | 4.14.0-r1 | Fixed |
| alpine/xen(Alpine v3.16) | >= 4.12.0, < 4.14.0-r1 | 4.14.0-r1 | Fixed |
| alpine/xen(Alpine v3.17) | >= 4.12.0, < 4.14.0-r1 | 4.14.0-r1 | Fixed |
| alpine/xen(Alpine v3.18) | >= 4.12.0, < 4.14.0-r1 | 4.14.0-r1 | Fixed |
| alpine/xen(Alpine v3.19) | >= 4.12.0, < 4.14.0-r1 | 4.14.0-r1 | Fixed |
| alpine/xen(Alpine v3.20) | >= 4.12.0, < 4.14.0-r1 | 4.14.0-r1 | Fixed |
| alpine/xen(Alpine v3.21) | >= 4.12.0, < 4.14.0-r1 | 4.14.0-r1 | Fixed |
| alpine/xen(Alpine v3.22) | >= 4.12.0, < 4.14.0-r1 | 4.14.0-r1 | Fixed |
| alpine/xen(Alpine v3.23) | >= 4.12.0, < 4.14.0-r1 | 4.14.0-r1 | Fixed |
| alpine/xen(Alpine v3.24) | >= 4.12.0, < 4.14.0-r1 | 4.14.0-r1 | Fixed |
| Xen | >= 4.12.0, <= 4.14.0 | after 4.14.0 | Fixed |
| fedoraproject fedora | = 31; = 32; = 33 | No fix listed | Versions listed |
| openSUSE leap | = 15.2 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Xen | >= 4.12.0, <= 4.14.0 | No fix listed |
| fedoraproject fedora | = 31 | No fix listed |
| fedoraproject fedora | = 32 | No fix listed |
| fedoraproject fedora | = 33 | No fix listed |
| openSUSE leap | = 15.2 | No fix listed |
| alpine/xen(Alpine:v3.10) | >= 4.12.0, < 4.12.3-r4 | 4.12.3-r4 |
| alpine/xen(Alpine:v3.11) | >= 4.12.0, < 4.13.1-r4 | 4.13.1-r4 |
| alpine/xen(Alpine:v3.12) | >= 4.12.0, < 4.13.1-r4 | 4.13.1-r4 |
| alpine/xen(Alpine:v3.13) | >= 4.12.0, < 4.14.0-r1 | 4.14.0-r1 |
| alpine/xen(Alpine:v3.14) | >= 4.12.0, < 4.14.0-r1 | 4.14.0-r1 |
| alpine/xen(Alpine:v3.15) | >= 4.12.0, < 4.14.0-r1 | 4.14.0-r1 |
| alpine/xen(Alpine:v3.16) | >= 4.12.0, < 4.14.0-r1 | 4.14.0-r1 |
| alpine/xen(Alpine:v3.17) | >= 4.12.0, < 4.14.0-r1 | 4.14.0-r1 |
| alpine/xen(Alpine:v3.18) | >= 4.12.0, < 4.14.0-r1 | 4.14.0-r1 |
| alpine/xen(Alpine:v3.19) | >= 4.12.0, < 4.14.0-r1 | 4.14.0-r1 |
| alpine/xen(Alpine:v3.20) | >= 4.12.0, < 4.14.0-r1 | 4.14.0-r1 |
| alpine/xen(Alpine:v3.21) | >= 4.12.0, < 4.14.0-r1 | 4.14.0-r1 |
| alpine/xen(Alpine:v3.22) | >= 4.12.0, < 4.14.0-r1 | 4.14.0-r1 |
| alpine/xen(Alpine:v3.23) | >= 4.12.0, < 4.14.0-r1 | 4.14.0-r1 |
| alpine/xen(Alpine:v3.24) | >= 4.12.0, < 4.14.0-r1 | 4.14.0-r1 |
References
- openSUSE-SU-2020:1608 mailing-list third-party-advisory vendor-advisory
- FEDORA-2020-306b84fd07 vendor-advisory
- FEDORA-2020-f668e579be vendor-advisory
- FEDORA-2020-d46fe34349 vendor-advisory
- GLSA-202011-06 third-party-advisory vendor-advisory
- xenbits.xen.org vendor-advisory
- security.alpinelinux.org vendor-advisory
- Debian Security Tracker CVE-2020-25598 vendor-advisory