CVE-2015-8104: Critical severity xen xapi vulnerability

Published Nov 5, 2015
·
Updated

It was found that a malicious HVM guest administrator can cause DoS, specifically prevent use of physical CPU for significant, perhaps indefinite period. When a benign exception occurs while delivering another benign exception, it is architecturally specified that these would be delivered sequentially. There are, however, cases where this results in an infinite loop inside the CPU, which (in the virtualized case) can be broken only by intercepting delivery of the respective exception.

When a guest sets up a hardware breakpoint covering a data structure involved in delivering #DB (Debug Exception), upon completion of the delivery of the first exception another #DB will need to be delivered. The effects slightly differ depending on further guest characteristics:

Guests running in 32-bit mode would be expected to sooner or later encounter another fault due to the stack pointer decreasing during each iteration of the loop. The most likely case would be #PF (Page Fault) due to running into unmapped virtual space. However, an infinite loop cannot be excluded (e.g. when the guest is running with paging disabled).

Guests running in long mode, but not using the IST (Interrupt Stack Table) feature for the IDT entry corresponding to #DB would behave similarly to guests running in 32-bit mode, just that the larger virtual address space allows for a much longer loop. The loop can't, however, be infinite, as eventually the stack pointer would move into non-canonical address space, causing #SS (Stack Fault) instead.

Guests running in long mode and using the IST for the IDT entry corresponding to #DB would enter an infinite loop, as the stack pointer wouldn't change between #DB instances.

If a host watchdog (Xen or dom0) is in use, this can lead to a watchdog timeout and consequently a reboot of the host. If another, innocent, guest, is configured with a watchdog, this issue can lead to a reboot of such a guest.

A privileged user inside guest could use this flaw to crash the host kernel resulting in DoS.

For KVM virtualisation, it only affects the AMD processor support, as for Intel it already intercepts the #DB exception.

Upstream KVM patch: ------------------- -> http://permalink.gmane.org/gmane.linux.kernel/2082332

References: ----------- -> http://www.openwall.com/lists/oss-security/2015/11/10/1

Other sources

The KVM subsystem in the Linux kernel through 4.2.6, and Xen 4.3.x through 4.6.x, allows guest OS users to cause a denial of service (host OS panic or hang) by triggering many #DB (aka Debug) exceptions, related to svm.c.

Launchpad

Affected Software

33 affected componentsFixes available
XEN Xen=4.3.0
XEN Xen=4.3.1
XEN Xen=4.3.2
XEN Xen=4.3.3
XEN Xen=4.3.4
XEN Xen=4.4.0
XEN Xen=4.4.1
XEN Xen=4.4.2
XEN Xen=4.4.3
XEN Xen=4.5.0
XEN Xen=4.5.1
XEN Xen=4.5.2
XEN Xen=4.6.0
XEN Xen=4.6.1
XEN Xen=4.6.2
XEN Xen=4.6.4
XEN Xen=4.6.5
Oracle Solaris=11.3
Oracle VM VirtualBox>=4.0.0<=4.0.34
Oracle VM VirtualBox>=4.1.0<=4.1.42
Oracle VM VirtualBox>=4.2.0<=4.2.34
Oracle VM VirtualBox>=4.3.0<=4.3.35
Oracle VM VirtualBox>=5.0.0<=5.0.13
Linux Linux kernel<=4.2.3
Debian Debian Linux=7.0
Debian Debian Linux=8.0
Debian Debian Linux=9.0
Canonical Ubuntu Linux=12.04
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=15.04
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-1
debian/virtualbox
7.0.20-dfsg-1.2
debian/xen
4.14.6-14.14.5+94-ge49571868d-14.17.5+23-ga4e5191dc0-1+deb12u14.17.5+23-ga4e5191dc0-14.20.0-1

Event History

Nov 5, 2015
Data Sourced
via Red Hat·03:49 PM
DescriptionSeverityAffected Software
Nov 16, 2015
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Jan 11, 2024
Data Sourced
via Launchpad·10:12 PM
Description
Sep 16, 2024
Data Sourced
via Ubuntu·01:09 AM
RemedyDescriptionSeverityAffected Software
Mar 27, 2025
Data Sourced
via Debian·03:22 AM
DescriptionAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2015-8104?

CVE-2015-8104 has a high severity level due to its potential to cause Denial of Service (DoS) by exploiting the Xen hypervisor.

2

How do I fix CVE-2015-8104?

To remediate CVE-2015-8104, upgrade to patched versions of the affected Xen hypervisor or related distributions as specified in security advisories.

3

Which software versions are affected by CVE-2015-8104?

CVE-2015-8104 affects Xen versions from 4.3.0 to 4.6.5 and certain versions of Oracle VM VirtualBox and Debian Linux.

4

What is the impact of CVE-2015-8104 on system performance?

Exploitation of CVE-2015-8104 can lead to significant performance degradation by preventing the use of physical CPU resources.

5

Who can exploit CVE-2015-8104?

This vulnerability can be exploited by a malicious HVM guest administrator within the Xen hypervisor environment.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203