CVE-2016-5242
The p2m_teardown function in arch/arm/p2m.c in Xen 4.4.x through 4.6.x allows local guest OS...
The p2m_teardown function in arch/arm/p2m.c in Xen 4.4.x through 4.6.x allows local guest OS users with access to the driver domain to cause a denial of service (NULL pointer dereference and host OS crash) by creating concurrent domains and holding references to them, related to VMID exhaustion.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- High
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
5.6
The p2m_teardown function in arch/arm/p2m.c in Xen 4.4.x through 4.6.x allows local guest OS users with access to the driver domain to cause a denial of service (NULL pointer dereference and host OS crash) by creating concurrent domains and holding references to them, related to VMID exhaustion.
- Record
CVE-2016-5242- CVSS 3.0
- 5.6 Medium
CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:N/A:H - CVSS 2.0
- 4.7 Medium
AV:L/AC:M/Au:N/C:N/I:N/A:C - Updated
- 2026-11-02
CVE List No score
The p2m_teardown function in arch/arm/p2m.c in Xen 4.4.x through 4.6.x allows local guest OS users with access to the driver domain to cause a denial of service (NULL pointer dereference and host OS crash) by creating concurrent domains and holding references to them, related to VMID exhaustion.
- Record
CVE-2016-5242- Updated
- 2026-11-02
EUVDEUVD-2016-6193 No score
The p2m_teardown function in arch/arm/p2m.c in Xen 4.4.x through 4.6.x allows local guest OS users with access to the driver domain to cause a denial of service (NULL pointer dereference and host OS crash) by creating concurrent domains and holding references to them, related to VMID exhaustion.
- Record
EUVD-2016-6193- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-2vf7-h2xh-7v4v
5.6
The p2m_teardown function in arch/arm/p2m.c in Xen 4.4.x through 4.6.x allows local guest OS...
The p2m_teardown function in arch/arm/p2m.c in Xen 4.4.x through 4.6.x allows local guest OS users with access to the driver domain to cause a denial of service (NULL pointer dereference and host OS crash) by creating concurrent domains and holding references to them, related to VMID exhaustion.
- Record
GHSA-2vf7-h2xh-7v4v- CVSS 3.0
- 5.6 Medium
CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:N/A:H - Updated
- 2026-11-02
OSV
5.6
The p2m_teardown function in arch/arm/p2m.c in Xen 4.4.x through 4.6.x allows local guest OS users with access to the driver domain to cause a denial of service (NULL pointer dereference and host OS crash) by creating concurrent domains and holding references to them, related to VMID exhaustion.
- Record
CVE-2016-5242- CVSS 3.0
- 5.6 Medium
CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:N/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2016-5242
5.6
The p2m_teardown function in arch/arm/p2m.c in Xen 4.4.x through 4.6.x allows local guest OS users with access to the driver domain to cause a denial of service (NULL pointer dereference and host OS crash) by creating concurrent domains and holding references to them, related to VMID exhaustion.
- Record
DEBIAN-CVE-2016-5242- CVSS 3.0
- 5.6 Medium
CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:N/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2016-5242
5.6
The p2m_teardown function in arch/arm/p2m.c in Xen 4.4.x through 4.6.x allows local guest OS users with access to the driver domain to cause a denial of service (NULL pointer dereference and host OS crash) by creating concurrent domains and holding references to them, related to VMID exhaustion.
- Record
UBUNTU-CVE-2016-5242- CVSS 3.0
- 5.6 Medium
CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:N/A:H - Updated
- 2026-11-02
OSVMGASA-2017-0012 No score
Updated xen packages fix security vulnerability
This xen update is based on upstream 4.5.5 maintenance release, and fixes the following security issues:
The qemu implementation in libvirt before 1.3.0 and Xen allows local guest OS users to cause a denial of service (host disk consumption) by writing to stdout or stderr (CVE-2014-3672)
The xrstor function in arch/x86/xstate.c in Xen 4.x does not properly handle writes to the hardware FSW.ES bit when running on AMD64 processors, which allows local guest OS users to obtain sensitive register content information from another guest by leveraging pending exception and mask bits. NOTE: this vulnerability exists because of an incorrect fix for CVE-2013-2076 (CVE-2016-3158).
The fpu_fxrstor function in arch/x86/i387.c in Xen 4.x does not properly handle writes to the hardware FSW.ES bit when running on AMD64 processors, which allows local guest OS users to obtain sensitive register content information from another guest by leveraging pending exception and mask bits. NOTE: this vulnerability exists because of an incorrect fix for CVE-2013-2076 (CVE-2016-3159).
The VGA module in QEMU improperly performs bounds checking on banked access to video memory, which allows local guest OS administrators to execute arbitrary code on the host by changing access modes after setting the bank register, aka the "Dark Portal" issue (CVE-2016-3710).
Integer overflow in the VGA module in QEMU allows local guest OS users to cause a denial of service (out-of-bounds read and QEMU process crash) by editing VGA registers in VBE mode (CVE-2016-3712).
Integer overflow in the x86 shadow pagetable code in Xen allows local guest OS users to cause a denial of service (host crash) or possibly gain privileges by shadowing a superpage mapping (CVE-2016-3960).
The libxl device-handling in Xen 4.6.x and earlier allows local OS guest administrators to cause a denial of service (resource consumption or management facility confusion) or gain host OS privileges by manipulating information in guest controlled areas of xenstore (CVE-2016-4962).
The libxl device-handling in Xen through 4.6.x allows local guest OS users with access to the driver domain to cause a denial of service (management tool confusion) by manipulating information in the backend directories in xenstore (CVE-2016-4963).
The guest_walk_tables function in arch/x86/mm/guest_walk.c in Xen 4.6.x and earlier does not properly handle the Page Size (PS) page table entry bit at the L4 and L3 page table levels, which might allow local guest OS users to gain privileges via a crafted mapping of memory (CVE-2016-4480).
The p2m_teardown function in arch/arm/p2m.c in Xen 4.4.x through 4.6.x allows local guest OS users with access to the driver domain to cause a denial of service (NULL pointer dereference and host OS crash) by creating concurrent domains and holding references to them, related to VMID exhaustion (CVE-2016-5242).
The virtqueue_pop function in hw/virtio/virtio.c in QEMU allows local guest OS administrators to cause a denial of service (memory consumption and QEMU process crash) by submitting requests without waiting for completion (CVE-2016-5403).
The PV pagetable code in arch/x86/mm.c in Xen 4.7.x and earlier allows local 32-bit PV guest OS administrators to gain host OS privileges by leveraging fast-paths for updating pagetable entries (CVE-2016-6258).
Xen 4.5.x through 4.7.x do not implement Supervisor Mode Access Prevention (SMAP) whitelisting in 32-bit exception and event delivery, which allows local 32-bit PV guest OS kernels to cause a denial of service (hypervisor and VM crash) by triggering a safety check (CVE-2016-6259).
The get_page_from_l3e function in arch/x86/mm.c in Xen allows local 32-bit PV guest OS administrators to gain host OS privileges via vectors related to L3 recursive pagetables (CVE-2016-7092).
Xen 4.5.3, 4.6.3, and 4.7.x allow local HVM guest OS administrators to overwrite hypervisor memory and consequently gain host OS privileges by leveraging mishandling of…
- Record
MGASA-2017-0012- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
xenDebian:12 |
before 4.8.0~rc3-1 | 4.8.0~rc3-1 |
xenDebian:13 |
before 4.8.0~rc3-1 | 4.8.0~rc3-1 |
xenDebian:14 |
before 4.8.0~rc3-1 | 4.8.0~rc3-1 |
xenDebian:8 From an advisory covering 5 CVEs |
before 4.4.1-9+deb8u6, plus listed versions 4.4.1-94.4.1-9+deb8u14.4.1-9+deb8u24.4.1-9+deb8u34.4.1-9+deb8u44.4.1-9+deb8u5 |
4.4.1-9+deb8u6 |
xenMageia:5 From an advisory covering 31 CVEs |
before 4.5.5-1.1.mga5 | 4.5.5-1.1.mga5 |
xenUbuntu:14.04:LTS |
before 4.4.2-0ubuntu0.14.04.6, plus listed versions 4.3.0-1ubuntu14.3.0-1ubuntu24.3.0-1ubuntu34.3.0-1ubuntu44.3.0-1ubuntu5 Show 16 moreShow less4.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.34.4.2-0ubuntu0.14.04.44.4.2-0ubuntu0.14.04.5 |
4.4.2-0ubuntu0.14.04.6 |
xenUbuntu:16.04:LTS |
before 4.6.0-1ubuntu4.1, plus listed versions 4.5.1-0ubuntu14.5.1-0ubuntu24.6.0-1ubuntu14.6.0-1ubuntu24.6.0-1ubuntu4 |
4.6.0-1ubuntu4.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2016-5242 is a medium vulnerability (CVSS 5.6) in Xen, published June 7, 2016. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.34%, the 27th percentile. Fixed in xen 4.8.0~rc3-1.
References
securityfocus.com/bid/91015
xenbits.xen.org/xsa/advisory-181.html
securitytracker.com/id/1036035
debian.org/security/2016/dsa-3633
nvd.nist.gov/vuln/detail/CVE-2016-5242
github.com/advisories/GHSA-2vf7-h2xh-7v4v
Show 33 moreShow less
security-tracker.debian.org/tracker/CVE-2016-5242
advisories.mageia.org/MGASA-2017-0012.html
bugs.mageia.org/show_bug.cgi?id=19901
xenproject.org/downloads/xen-archives/xen-45-series/xen-453.html
xenproject.org/downloads/xen-archives/xen-45-series/xen-455.html
xenbits.xen.org/xsa/advisory-172.html
xenbits.xen.org/xsa/advisory-173.html
xenbits.xen.org/xsa/advisory-175.html
xenbits.xen.org/xsa/advisory-176.html
xenbits.xen.org/xsa/advisory-178.html
xenbits.xen.org/xsa/advisory-179.html
xenbits.xen.org/xsa/advisory-180.html
xenbits.xen.org/xsa/advisory-182.html
xenbits.xen.org/xsa/advisory-183.html
xenbits.xen.org/xsa/advisory-184.html
xenbits.xen.org/xsa/advisory-185.html
xenbits.xen.org/xsa/advisory-186.html
xenbits.xen.org/xsa/advisory-187.html
xenbits.xen.org/xsa/advisory-190.html
xenbits.xen.org/xsa/advisory-191.html
xenbits.xen.org/xsa/advisory-192.html
xenbits.xen.org/xsa/advisory-193.html
xenbits.xen.org/xsa/advisory-194.html
xenbits.xen.org/xsa/advisory-195.html
xenbits.xen.org/xsa/advisory-196.html
xenbits.xen.org/xsa/advisory-197.html
xenbits.xen.org/xsa/advisory-198.html
xenbits.xen.org/xsa/advisory-199.html
xenbits.xen.org/xsa/advisory-200.html
xenbits.xen.org/xsa/advisory-202.html
xenbits.xen.org/xsa/advisory-204.html
ubuntu.com/security/CVE-2016-5242
cve.org/CVERecord?id=CVE-2016-5242
Left out here: the rest of 1 source description. The JSON record has them.