Every CVE Search/ Get API key

CVE-2015-8340

The memory_exchange function in common/memory.c in Xen 3.2.x through 4.6.x does not properly...

4.7 MediumFix available

The memory_exchange function in common/memory.c in Xen 3.2.x through 4.6.x does not properly release locks, which might allow guest OS administrators to cause a denial of service (deadlock or host crash) via unspecified vectors, related to XENMEM_exchange error handling.

Exploit likelihood

0.38%Down 0.7 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 4.7

The memory_exchange function in common/memory.c in Xen 3.2.x through 4.6.x does not properly release locks, which might allow guest OS administrators to cause a denial of service (deadlock or host crash) via unspecified vectors, related to XENMEM_exchange error handling.

Record
CVE-2015-8340
CVSS 2.0
4.7 MediumAV:L/AC:M/Au:N/C:N/I:N/A:C
Weakness
CWE-17
Updated
2026-11-02
CVE List No score

The memory_exchange function in common/memory.c in Xen 3.2.x through 4.6.x does not properly release locks, which might allow guest OS administrators to cause a denial of service (deadlock or host crash) via unspecified vectors, related to XENMEM_exchange error handling.

Record
CVE-2015-8340
Updated
2026-11-02
EUVDEUVD-2015-8224 No score

The memory_exchange function in common/memory.c in Xen 3.2.x through 4.6.x does not properly release locks, which might allow guest OS administrators to cause a denial of service (deadlock or host crash) via unspecified vectors, related to XENMEM_exchange error handling.

Record
EUVD-2015-8224
Updated
2026-11-03
GitHub AdvisoriesGHSA-m46m-c4vg-mwcw No score

The memory_exchange function in common/memory.c in Xen 3.2.x through 4.6.x does not properly...

The memory_exchange function in common/memory.c in Xen 3.2.x through 4.6.x does not properly release locks, which might allow guest OS administrators to cause a denial of service (deadlock or host crash) via unspecified vectors, related to XENMEM_exchange error handling.

Record
GHSA-m46m-c4vg-mwcw
Updated
2026-11-02
OSV No score

The memory_exchange function in common/memory.c in Xen 3.2.x through 4.6.x does not properly release locks, which might allow guest OS administrators to cause a denial of service (deadlock or host crash) via unspecified vectors, related to XENMEM_exchange error handling.

Record
CVE-2015-8340
Updated
2026-11-02
OSVDEBIAN-CVE-2015-8340 No score

The memory_exchange function in common/memory.c in Xen 3.2.x through 4.6.x does not properly release locks, which might allow guest OS administrators to cause a denial of service (deadlock or host crash) via unspecified vectors, related to XENMEM_exchange error handling.

Record
DEBIAN-CVE-2015-8340
Updated
2026-11-02
Show 8 moreShow less
OSVMGASA-2016-0098 No score

Updated xen packages fix security vulnerabilities

This xen update is based on upstream 4.5.2 maintenance release, and fixes the following security issues:

The vgic_v2_to_sgi function in arch/arm/vgic-v2.c in Xen 4.5.x, when running on ARM hardware with general interrupt controller (GIC) version 2, allows local guest users to cause a denial of service (host crash) by writing an invalid value to the GICD.SGIR register (CVE-2015-0268).

The ARM GIC distributor virtualization in Xen 4.4.x and 4.5.x allows local guests to cause a denial of service by causing a large number messages to be logged (CVE-2015-1563).

The emulation routines for unspecified X86 devices in Xen 3.2.x through 4.5.x does not properly initialize data, which allow local HVM guest users to obtain sensitive information via vectors involving an unsupported access size (CVE-2015-2044).

The HYPERVISOR_xen_version hypercall in Xen 3.2.x through 4.5.x does not properly initialize data structures, which allows local guest users to obtain sensitive information via unspecified vectors (CVE-2015-2045).

Xen 3.3.x through 4.5.x and the Linux kernel through 3.19.1 do not properly restrict access to PCI command registers, which might allow local guest users to cause a denial of service (non-maskable interrupt and host crash) by disabling the (1) memory or (2) I/O decoding for a PCI Express device and then accessing the device, which triggers an Unsupported Request (UR) response (CVE-2015-2150).

The x86 emulator in Xen 3.2.x through 4.5.x does not properly ignore segment overrides for instructions with register operands, which allows local guest users to obtain sensitive information, cause a denial of service (memory corruption), or possibly execute arbitrary code via unspecified vectors (CVE-2015-2151).

Xen 4.5.x and earlier enables certain default backends when emulating a VGA device for an x86 HVM guest qemu even when the configuration disables them, which allows local guest users to obtain access to the VGA console by (1) setting the DISPLAY environment variable, when compiled with SDL support, or connecting to the VNC server on (2) ::1 or (3) 127.0.0.1, when not compiled with SDL support (CVE-2015-2152).

Xen 4.3.x, 4.4.x, and 4.5.x, when using toolstack disaggregation, allows remote domains with partial management control to cause a denial of service (host lock) via unspecified domctl operations (CVE-2015-2751).

The XEN_DOMCTL_memory_mapping hypercall in Xen 3.2.x through 4.5.x, when using a PCI passthrough device, is not preemptable, which allows local x86 HVM domain users to cause a denial of service (host CPU consumption) via a crafted request to the device model (qemu-dm) (CVE-2015-2752).

QEMU, as used in Xen 3.3.x through 4.5.x, does not properly restrict access to PCI command registers, which might allow local HVM guest users to cause a denial of service (non-maskable interrupt and host crash) by disabling the (1) memory or (2) I/O decoding for a PCI Express device and then accessing the device, which triggers an Unsupported Request (UR) response (CVE-2015-2756).

Heap-based buffer overflow in the PCNET controller in QEMU allows remote attackers to execute arbitrary code by sending a packet with TXSTATUS_STARTPACKET set and then a crafted packet with TXSTATUS_DEVICEOWNS set (CVE-2015-3209).

Stack-based buffer overflow in the xl command line utility in Xen 4.1.x through 4.5.x allows local guest administrators to gain privileges via a long configuration argument (CVE-2015-3259).

Xen 4.2.x through 4.5.x does not initialize certain fields, which allows certain remote service domains to obtain sensitive information from memory via a (1) XEN_DOMCTL_gettscinfo or (2) XEN_SYSCTL_getdomaininfolist request (CVE-2015-3340).

The Floppy Disk Controller (FDC) in QEMU, as used in Xen 4.5.x and earlier and KVM, allows local guest users to cause a denial of service (out-of-bounds write and guest crash) or possibly execute arbitrary code via the (1) FD_CMD_READ_ID, (2) FD_CMD_DRIVE_SPECIFICATION_COMMAND, or other…

Record
MGASA-2016-0098
Updated
2026-11-02
OSVopenSUSE-SU-2024:10196-1 No score

xen-4.7.0_12-1.3 on GA media

These are all security issues fixed in the xen-4.7.0_12-1.3 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:10196-1
Updated
2026-11-02
OSVSUSE-SU-2015:2306-1 No score

Security update for xen

This update fixes the following security issues:

  • bsc#956832 - CVE-2015-8345: xen: qemu: net: eepro100: infinite loop in processing command block list

  • bsc#956408 - CVE-2015-8339, CVE-2015-8340: xen: XENMEM_exchange error handling issues (XSA-159) xsa159.patch

  • bsc#956411 - CVE-2015-7504: xen: heap buffer overflow vulnerability in pcnet emulator (XSA-162)

  • bsc#954405 - CVE-2015-8104: Xen: guest to host DoS by triggering an infinite loop in microcode via #DB exception

  • bsc#953527 - CVE-2015-5307: kernel: kvm/xen: x86: avoid guest->host DOS by intercepting #AC (XSA-156)

  • bsc#950704 - CVE-2015-7970: xen: x86: Long latency populate-on-demand operation is not preemptible (XSA-150)

  • bsc#951845 - CVE-2015-7972: xen: x86: populate-on-demand balloon size inaccuracy can crash guests (XSA-153)

  • bsc#950703 - CVE-2015-7969: xen: leak of main per-domain vcpu pointer array (DoS) (XSA-149)

  • bsc#950705 - CVE-2015-7969: xen: x86: leak of per-domain profiling-related vcpu pointer array (DoS) (XSA-151)

  • bsc#950706 - CVE-2015-7971: xen: x86: some pmu and profiling hypercalls log without rate limiting (XSA-152)

Record
SUSE-SU-2015:2306-1
Updated
2026-11-02
OSVSUSE-SU-2015:2324-1 No score

Security update for xen

This update fixes the following security issues:

  • bsc#956832 - CVE-2015-8345: xen: qemu: net: eepro100: infinite loop in processing command block list

  • Revert x86/IO-APIC: don't create pIRQ mapping from masked RTE until kernel maintenance release goes out.

  • bsc#956592 - xen: virtual PMU is unsupported (XSA-163)

  • bsc#956408 - CVE-2015-8339, CVE-2015-8340: xen: XENMEM_exchange error handling issues (XSA-159)

  • bsc#956409 - CVE-2015-8341: xen: libxl leak of pv kernel and initrd on error (XSA-160)

  • bsc#956411 - CVE-2015-7504: xen: heap buffer overflow vulnerability in pcnet emulator (XSA-162)

  • bsc#947165 - CVE-2015-7311: xen: libxl fails to honour readonly flag on disks with qemu-xen (xsa-142)

  • bsc#954405 - CVE-2015-8104: Xen: guest to host DoS by triggering an infinite loop in microcode via #DB exception

  • bsc#954018 - CVE-2015-5307: xen: x86: CPU lockup during fault delivery (XSA-156)

Record
SUSE-SU-2015:2324-1
Updated
2026-11-02
OSVSUSE-SU-2015:2326-1 No score

Security update for xen

This update fixes the following security issues:

  • bsc#956832 - CVE-2015-8345: xen: qemu: net: eepro100: infinite loop in processing command block list

  • bsc#956592 - xen: virtual PMU is unsupported (XSA-163)

  • bsc#956408 - CVE-2015-8339, CVE-2015-8340: xen: XENMEM_exchange error handling issues (XSA-159)

  • bsc#956409 - CVE-2015-8341: xen: libxl leak of pv kernel and initrd on error (XSA-160)

  • bsc#956411 - CVE-2015-7504: xen: heap buffer overflow vulnerability in pcnet emulator (XSA-162)

  • bsc#947165 - CVE-2015-7311: xen: libxl fails to honour readonly flag on disks with qemu-xen (xsa-142)

  • bsc#954405 - CVE-2015-8104: Xen: guest to host DoS by triggering an infinite loop in microcode via #DB exception

  • bsc#954018 - CVE-2015-5307: xen: x86: CPU lockup during fault delivery (XSA-156)

  • bsc#950704 - CVE-2015-7970: xen: x86: Long latency populate-on-demand operation is not preemptible (XSA-150)

  • bsc#951845 - CVE-2015-7972: xen: x86: populate-on-demand balloon size inaccuracy can crash guests (XSA-153)

  • bsc#950703 - CVE-2015-7969: xen: leak of main per-domain vcpu pointer array (DoS) (XSA-149)

  • bsc#950705 - CVE-2015-7969: xen: x86: leak of per-domain profiling-related vcpu pointer array (DoS) (XSA-151)

  • bsc#950706 - CVE-2015-7971: xen: x86: some pmu and profiling hypercalls log without rate limiting (XSA-152)

Record
SUSE-SU-2015:2326-1
Updated
2026-11-02
OSVSUSE-SU-2015:2328-1 No score

Security update for xen

This update fixes the following security issues:

  • bsc#956832 - CVE-2015-8345: xen: qemu: net: eepro100: infinite loop in processing command block list

  • bsc#956592 - xen: virtual PMU is unsupported (XSA-163)

  • bsc#956408 - CVE-2015-8339, CVE-2015-8340: xen: XENMEM_exchange error handling issues (XSA-159)

  • bsc#956409 - CVE-2015-8341: xen: libxl leak of pv kernel and initrd on error (XSA-160)

  • bsc#956411 - CVE-2015-7504: xen: heap buffer overflow vulnerability in pcnet emulator (XSA-162)

  • bsc#947165 - CVE-2015-7311: xen: libxl fails to honour readonly flag on disks with qemu-xen (xsa-142)

  • bsc#954405 - CVE-2015-8104: Xen: guest to host DoS by triggering an infinite loop in microcode via #DB exception

  • bsc#954018 - CVE-2015-5307: xen: x86: CPU lockup during fault delivery (XSA-156) CVE-2015-5307-xsa156.patch

  • bsc#950704 - CVE-2015-7970: xen: x86: Long latency populate-on-demand operation is not preemptible (XSA-150) 563212c9-x86-PoD-Eager-sweep-for-zeroed-pages.patch

  • bsc#951845 - CVE-2015-7972: xen: x86: populate-on-demand balloon size inaccuracy can crash guests (XSA-153) xsa153-libxl.patch xend-xsa153.patch

  • Drop 5604f239-x86-PV-properly-populate-descriptor-tables.patch

  • bsc#950703 - CVE-2015-7969: xen: leak of main per-domain vcpu pointer array (DoS) (XSA-149)

  • bsc#950705 - CVE-2015-7969: xen: x86: leak of per-domain profiling-related vcpu pointer array (DoS) (XSA-151)

  • bsc#950706 - CVE-2015-7971: xen: x86: some pmu and profiling hypercalls log without rate limiting (XSA-152)

Record
SUSE-SU-2015:2328-1
Updated
2026-11-02
OSVSUSE-SU-2015:2338-1 No score

Security update for xen

  This update fixes the following security issues:
  • bsc#955399 - Fix xm migrate --log_progress. Due to logic error progress was not logged when requested.

  • bsc#956832 - CVE-2015-8345: xen: qemu: net: eepro100: infinite loop in processing command block list

  • bsc#956592 - xen: virtual PMU is unsupported (XSA-163)

  • bsc#956408 - CVE-2015-8339, CVE-2015-8340: xen: XENMEM_exchange error handling issues (XSA-159)

  • bsc#956409 - CVE-2015-8341: xen: libxl leak of pv kernel and initrd on error (XSA-160)

  • bsc#956411 - CVE-2015-7504: xen: heap buffer overflow vulnerability in pcnet emulator (XSA-162)

  • bsc#947165 - CVE-2015-7311: xen: libxl fails to honour readonly flag on disks with qemu-xen (xsa-142)

  • bsc#955399 - Fix xm migrate --live. The options were not passed due to a merge error. As a result the migration was not live, instead the suspended guest was migrated.

  • bsc#954405 - CVE-2015-8104: Xen: guest to host DoS by triggering an infinite loop in microcode via #DB exception

  • bsc#954018 - CVE-2015-5307: xen: x86: CPU lockup during fault delivery (XSA-156)

  • bsc#950704 - CVE-2015-7970: xen: x86: Long latency populate-on-demand operation is not preemptible (XSA-150)

  • bsc#951845 - CVE-2015-7972: xen: x86: populate-on-demand balloon size inaccuracy can crash guests (XSA-153)

  • Drop 5604f239-x86-PV-properly-populate-descriptor-tables.patch

  • bsc#950703 - CVE-2015-7969: xen: leak of main per-domain vcpu pointer array (DoS) (XSA-149)

  • bsc#950705 - CVE-2015-7969: xen: x86: leak of per-domain profiling-related vcpu pointer array (DoS) (XSA-151)

  • bsc#950706 - CVE-2015-7971: xen: x86: some pmu and profiling hypercalls log without rate limiting (XSA-152)

Record
SUSE-SU-2015:2338-1
Updated
2026-11-02
OSVUBUNTU-CVE-2015-8340 No score

The memory_exchange function in common/memory.c in Xen 3.2.x through 4.6.x does not properly release locks, which might allow guest OS administrators to cause a denial of service (deadlock or host crash) via unspecified vectors, related to XENMEM_exchange error handling.

Record
UBUNTU-CVE-2015-8340
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
xen
Debian:12
before 4.8.0~rc3-1
4.8.0~rc3-1
xen
Debian:13
before 4.8.0~rc3-1
4.8.0~rc3-1
xen
Debian:14
before 4.8.0~rc3-1
4.8.0~rc3-1
xen
Debian:7
before 4.1.6.1-1+deb7u1, plus listed versions
4.1.4-34.1.4-3+deb7u14.1.4-3+deb7u24.1.4-3+deb7u34.1.4-3+deb7u4
Show 6 moreShow less
4.1.4-3+deb7u54.1.4-3+deb7u64.1.4-3+deb7u74.1.4-3+deb7u84.1.4-3+deb7u94.1.4-4
4.1.6.1-1+deb7u1
xen
Debian:8
before 4.4.1-9+deb8u4, plus listed versions
4.4.1-94.4.1-9+deb8u14.4.1-9+deb8u24.4.1-9+deb8u3
4.4.1-9+deb8u4
xen
Mageia:5
before 4.5.2-1.5.mga5
4.5.2-1.5.mga5
xen
SUSE:Linux Enterprise Server 11 SP2-LTSS
before 4.1.6_08-23.1
4.1.6_08-23.1
xen
SUSE:Linux Enterprise Desktop 12 SP1
before 4.5.2_02-4.1
4.5.2_02-4.1
xen
SUSE:Linux Enterprise Software Development Kit 12 SP1
before 4.5.2_02-4.1
4.5.2_02-4.1
xen
SUSE:Linux Enterprise Server 12 SP1
before 4.5.2_02-4.1
4.5.2_02-4.1
Show 16 moreShow less
Affected packages
PackageAffectedFixed
xen
SUSE:Linux Enterprise Server for SAP Applications 12 SP1
before 4.5.2_02-4.1
4.5.2_02-4.1
xen
SUSE:Linux Enterprise Software Development Kit 11 SP3
before 4.2.5_18-21.1
4.2.5_18-21.1
xen
SUSE:Linux Enterprise Desktop 11 SP3
before 4.2.5_18-21.1
4.2.5_18-21.1
xen
SUSE:Linux Enterprise Server 11 SP3
before 4.2.5_18-21.1
4.2.5_18-21.1
xen
SUSE:Linux Enterprise Server 11 SP3-TERADATA
before 4.2.5_18-21.1
4.2.5_18-21.1
xen
SUSE:Linux Enterprise Server for SAP Applications 11 SP3
before 4.2.5_18-21.1
4.2.5_18-21.1
xen
SUSE:Linux Enterprise Desktop 12
before 4.4.3_06-22.15.1
4.4.3_06-22.15.1
xen
SUSE:Linux Enterprise Software Development Kit 12
before 4.4.3_06-22.15.1
4.4.3_06-22.15.1
xen
SUSE:Linux Enterprise Server 12
before 4.4.3_06-22.15.1
4.4.3_06-22.15.1
xen
SUSE:Linux Enterprise Server for SAP Applications 12
before 4.4.3_06-22.15.1
4.4.3_06-22.15.1
xen
SUSE:Linux Enterprise Software Development Kit 11 SP4
before 4.4.3_06-29.1
4.4.3_06-29.1
xen
SUSE:Linux Enterprise Desktop 11 SP4
before 4.4.3_06-29.1
4.4.3_06-29.1
xen
SUSE:Linux Enterprise Server 11 SP4
before 4.4.3_06-29.1
4.4.3_06-29.1
xen
SUSE:Linux Enterprise Server for SAP Applications 11 SP4
before 4.4.3_06-29.1
4.4.3_06-29.1
xen
Ubuntu:14.04:LTS
before 4.4.2-0ubuntu0.14.04.4, plus listed versions
4.3.0-1ubuntu14.3.0-1ubuntu24.3.0-1ubuntu34.3.0-1ubuntu44.3.0-1ubuntu5
Show 14 moreShow less
4.4.0-0ubuntu34.4.0-0ubuntu44.4.0-0ubuntu54.4.0-0ubuntu5.14.4.0-0ubuntu5.24.4.1-0ubuntu0.14.04.14.4.1-0ubuntu0.14.04.24.4.1-0ubuntu0.14.04.34.4.1-0ubuntu0.14.04.44.4.1-0ubuntu0.14.04.54.4.1-0ubuntu0.14.04.64.4.2-0ubuntu0.14.04.14.4.2-0ubuntu0.14.04.24.4.2-0ubuntu0.14.04.3
4.4.2-0ubuntu0.14.04.4
xen
openSUSE:Tumbleweed
before 4.7.0_12-1.3
4.7.0_12-1.3

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2015-8340 is a medium vulnerability (CVSS 4.7) in Xen, published December 17, 2015. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.38%, the 32nd percentile. Fixed in xen 4.8.0~rc3-1.

References

Show 194 moreShow less
This page doesn't list everything

Left out here: 6 references and the rest of 1 source description. The JSON record has them.

MoveEnter Open