---
title: "CVE-2015-8340\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2015-8340?format=md
keywords: index, follow
---

# CVE-2015-8340

Publication date 17 December 2015

Last updated 24 July 2024

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

Toggle side navigation

## Description

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.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| xen | 15.10 wily | Fixed 4.5.1-0ubuntu1.2 |
| 15.04 vivid | Fixed 4.5.0-1ubuntu4.4 |
| 14.04 LTS trusty | Fixed 4.4.2-0ubuntu0.14.04.4 |
| 12.04 LTS precise | Fixed 4.1.6.1-0ubuntu0.12.04.8 |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)
* [Patch details](https://ubuntu.com/security/CVE-2015-8340?format=md#patch-details)

### Patch details

For informational purposes only. We recommend not to cherry-pick updates. [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)

| Package | Patch details |
| --- | --- |
| xen | * Upstream:   <http://xenbits.xen.org/xsa/xsa159.patch> |

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-8340)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2015-8340)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2015-8340)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2015-8340)

### Other references

* <http://xenbits.xen.org/xsa/advisory-159.html>
* <https://www.cve.org/CVERecord?id=CVE-2015-8340>
