CVE-2015-4164
The compat_iret function in Xen 3.1 through 4.5 iterates the wrong way through a loop, which...
The compat_iret function in Xen 3.1 through 4.5 iterates the wrong way through a loop, which allows local 32-bit PV guest administrators to cause a denial of service (large loop and system hang) via a hypercall_iret call with EFLAGS.VM set.
Exploit likelihood
What each source reports
NVD Score used
4.9
The compat_iret function in Xen 3.1 through 4.5 iterates the wrong way through a loop, which allows local 32-bit PV guest administrators to cause a denial of service (large loop and system hang) via a hypercall_iret call with EFLAGS.VM set.
- Record
CVE-2015-4164- CVSS 2.0
- 4.9 Medium
AV:L/AC:L/Au:N/C:N/I:N/A:C - Weakness
- CWE-399
- Updated
- 2026-11-02
CVE List No score
The compat_iret function in Xen 3.1 through 4.5 iterates the wrong way through a loop, which allows local 32-bit PV guest administrators to cause a denial of service (large loop and system hang) via a hypercall_iret call with EFLAGS.VM set.
- Record
CVE-2015-4164- Updated
- 2026-11-02
EUVDEUVD-2015-4188 No score
The compat_iret function in Xen 3.1 through 4.5 iterates the wrong way through a loop, which allows local 32-bit PV guest administrators to cause a denial of service (large loop and system hang) via a hypercall_iret call with EFLAGS.VM set.
- Record
EUVD-2015-4188- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-jg3g-vx8c-2j78 No score
The compat_iret function in Xen 3.1 through 4.5 iterates the wrong way through a loop, which...
The compat_iret function in Xen 3.1 through 4.5 iterates the wrong way through a loop, which allows local 32-bit PV guest administrators to cause a denial of service (large loop and system hang) via a hypercall_iret call with EFLAGS.VM set.
- Record
GHSA-jg3g-vx8c-2j78- Updated
- 2026-11-02
OSV No score
The compat_iret function in Xen 3.1 through 4.5 iterates the wrong way through a loop, which allows local 32-bit PV guest administrators to cause a denial of service (large loop and system hang) via a hypercall_iret call with EFLAGS.VM set.
- Record
CVE-2015-4164- Updated
- 2026-11-02
OSVDEBIAN-CVE-2015-4164 No score
The compat_iret function in Xen 3.1 through 4.5 iterates the wrong way through a loop, which allows local 32-bit PV guest administrators to cause a denial of service (large loop and system hang) via a hypercall_iret call with EFLAGS.VM set.
- Record
DEBIAN-CVE-2015-4164- 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
OSVSUSE-SU-2015:1042-1 No score
Security update for xen
Xen was updated to fix seven security issues and one non-security bug.
The following vulnerabilities were fixed:
- CVE-2015-4103: Potential unintended writes to host MSI message data field via qemu (XSA-128) (bnc#931625)
- CVE-2015-4104: PCI MSI mask bits inadvertently exposed to guests (XSA-129) (bnc#931626)
- CVE-2015-4105: Guest triggerable qemu MSI-X pass-through error messages (XSA-130) (bnc#931627)
- CVE-2015-4106: Unmediated PCI register access in qemu (XSA-131) (bnc#931628)
- CVE-2015-4163: GNTTABOP_swap_grant_ref operation misbehavior (XSA-134) (bnc#932790)
- CVE-2015-3209: heap overflow in qemu pcnet controller allowing guest to host escape (XSA-135) (bnc#932770)
- CVE-2015-4164: DoS through iret hypercall handler (XSA-136) (bnc#932996)
The following non-security bug was fixed:
- bnc#906689: let systemd schedule xencommons after network-online.target and remote-fs.target so that xendomains has access to remote shares
- Record
SUSE-SU-2015:1042-1- Updated
- 2026-11-02
OSVSUSE-SU-2015:1045-1 No score
Security update for Xen
Xen was updated to fix seven security vulnerabilities:
* CVE-2015-4103: Potential unintended writes to host MSI message data
field via qemu. (XSA-128, bnc#931625)
* CVE-2015-4104: PCI MSI mask bits inadvertently exposed to guests.
(XSA-129, bnc#931626)
* CVE-2015-4105: Guest triggerable qemu MSI-X pass-through error
messages. (XSA-130, bnc#931627)
* CVE-2015-4106: Unmediated PCI register access in qemu. (XSA-131,
bnc#931628)
* CVE-2015-4163: GNTTABOP_swap_grant_ref operation misbehavior.
(XSA-134, bnc#932790)
* CVE-2015-3209: Heap overflow in qemu pcnet controller allowing guest
to host escape. (XSA-135, bnc#932770)
* CVE-2015-4164: DoS through iret hypercall handler. (XSA-136,
bnc#932996)
Security Issues:
* CVE-2015-4103
<http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-4103>
* CVE-2015-4104
<http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-4104>
* CVE-2015-4105
<http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-4105>
* CVE-2015-4106
<http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-4106>
* CVE-2015-4163
<http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-4163>
* CVE-2015-4164
<http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-4164>
* CVE-2015-3209
<http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-3209>
- Record
SUSE-SU-2015:1045-1- Updated
- 2026-11-02
OSVSUSE-SU-2015:1156-1 No score
Security update for Xen
Xen was updated to fix six security issues:
* CVE-2015-4103: Potential unintended writes to host MSI message data
field via qemu. (XSA-128, bsc#931625)
* CVE-2015-4104: PCI MSI mask bits inadvertently exposed to guests.
(XSA-129, bsc#931626)
* CVE-2015-4105: Guest triggerable qemu MSI-X pass-through error
messages. (XSA-130, bsc#931627)
* CVE-2015-4106: Unmediated PCI register access in qemu. (XSA-131,
bsc#931628)
* CVE-2015-3209: heap overflow in qemu pcnet controller allowing guest
to host escape. (XSA-135, bsc#932770)
* CVE-2015-4164: DoS through iret hypercall handler. (XSA-136,
bsc#932996)
Security Issues:
* CVE-2015-4103
<http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-4103>
* CVE-2015-4104
<http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-4104>
* CVE-2015-4105
<http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-4105>
* CVE-2015-4106
<http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-4106>
* CVE-2015-4164
<http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-4164>
* CVE-2015-3209
<http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-3209>
- Record
SUSE-SU-2015:1156-1- Updated
- 2026-11-02
OSVSUSE-SU-2015:1157-1 No score
Security update for Xen
Xen was updated to fix six security issues:
* CVE-2015-4103: Potential unintended writes to host MSI message data
field via qemu. (XSA-128, bsc#931625)
* CVE-2015-4104: PCI MSI mask bits inadvertently exposed to guests.
(XSA-129, bsc#931626)
* CVE-2015-4105: Guest triggerable qemu MSI-X pass-through error
messages. (XSA-130, bsc#931627)
* CVE-2015-4106: Unmediated PCI register access in qemu. (XSA-131,
bsc#931628)
* CVE-2015-3209: Heap overflow in qemu pcnet controller allowing guest
to host escape. (XSA-135, bsc#932770)
* CVE-2015-4164: DoS through iret hypercall handler. (XSA-136,
bsc#932996)
Security Issues:
* CVE-2015-4103
<http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-4103>
* CVE-2015-4104
<http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-4104>
* CVE-2015-4105
<http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-4105>
* CVE-2015-4106
<http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-4106>
* CVE-2015-4163
<http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-4163>
* CVE-2015-4164
<http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-4164>
* CVE-2015-3209
<http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-3209>
- Record
SUSE-SU-2015:1157-1- Updated
- 2026-11-02
OSVSUSE-SU-2015:1479-1 No score
Security update for xen
xen was updated to fix the following security issues:
- CVE-2015-5165: QEMU leak of uninitialized heap memory in rtl8139 device model (bsc#939712, XSA-140)
- CVE-2015-5166: Use after free in QEMU/Xen block unplug protocol (bsc#939709, XSA-139)
- CVE-2015-2751: Certain domctl operations could have be used to lock up the host (bsc#922709, XSA-127)
- CVE-2015-3259: xl command line config handling stack overflow (bsc#935634, XSA-137)
- CVE-2015-4164: DoS through iret hypercall handler (bsc#932996, XSA-136)
- CVE-2015-5154: Host code execution via IDE subsystem CD-ROM (bsc#938344)
- Record
SUSE-SU-2015:1479-1- Updated
- 2026-11-02
OSVSUSE-SU-2015:1479-2 No score
Security update for xen
xen was updated to fix the following security issues:
- CVE-2015-5165: QEMU leak of uninitialized heap memory in rtl8139 device model (bsc#939712, XSA-140)
- CVE-2015-5166: Use after free in QEMU/Xen block unplug protocol (bsc#939709, XSA-139)
- CVE-2015-2751: Certain domctl operations could have be used to lock up the host (bsc#922709, XSA-127)
- CVE-2015-3259: xl command line config handling stack overflow (bsc#935634, XSA-137)
- CVE-2015-4164: DoS through iret hypercall handler (bsc#932996, XSA-136)
- CVE-2015-5154: Host code execution via IDE subsystem CD-ROM (bsc#938344)
- Record
SUSE-SU-2015:1479-2- Updated
- 2026-11-02
OSVUBUNTU-CVE-2015-4164 No score
The compat_iret function in Xen 3.1 through 4.5 iterates the wrong way through a loop, which allows local 32-bit PV guest administrators to cause a denial of service (large loop and system hang) via a hypercall_iret call with EFLAGS.VM set.
- Record
UBUNTU-CVE-2015-4164- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
xenDebian:12 |
before 4.6.0-1 | 4.6.0-1 |
xenDebian:13 |
before 4.6.0-1 | 4.6.0-1 |
xenDebian:14 |
before 4.6.0-1 | 4.6.0-1 |
xenDebian:7 From an advisory covering 7 CVEs |
before 4.1.4-3+deb7u8, plus listed versions 4.1.4-34.1.4-3+deb7u14.1.4-3+deb7u24.1.4-3+deb7u34.1.4-3+deb7u44.1.4-3+deb7u54.1.4-3+deb7u64.1.4-3+deb7u7 |
4.1.4-3+deb7u8 |
xenDebian:8 From an advisory covering 7 CVEs |
before 4.4.1-9+deb8u1, plus listed versions 4.4.1-9 |
4.4.1-9+deb8u1 |
xenMageia:5 From an advisory covering 45 CVEs |
before 4.5.2-1.5.mga5 | 4.5.2-1.5.mga5 |
xenSUSE:Linux Enterprise Desktop 12 From an advisory covering 7 CVEs |
before 4.4.2_06-21.1 | 4.4.2_06-21.1 |
xenSUSE:Linux Enterprise Software Development Kit 12 From an advisory covering 7 CVEs |
before 4.4.2_06-21.1 | 4.4.2_06-21.1 |
xenSUSE:Linux Enterprise Server 12 From an advisory covering 7 CVEs |
before 4.4.2_06-21.1 | 4.4.2_06-21.1 |
xenSUSE:Linux Enterprise Server for SAP Applications 12 From an advisory covering 7 CVEs |
before 4.4.2_06-21.1 | 4.4.2_06-21.1 |
Show 6 moreShow less
| Package | Affected | Fixed |
|---|---|---|
xenSUSE:Linux Enterprise Software Development Kit 11 SP3 From an advisory covering 6 CVEs |
before 4.2.5_12-15.1 | 4.2.5_12-15.1 |
xenSUSE:Linux Enterprise Desktop 11 SP3 From an advisory covering 6 CVEs |
before 4.2.5_12-15.1 | 4.2.5_12-15.1 |
xenSUSE:Linux Enterprise Server 11 SP3 From an advisory covering 6 CVEs |
before 4.2.5_12-15.1 | 4.2.5_12-15.1 |
xenSUSE:Linux Enterprise Server 11 SP3-TERADATA From an advisory covering 6 CVEs |
before 4.2.5_12-15.1 | 4.2.5_12-15.1 |
xenSUSE:Linux Enterprise Server for SAP Applications 11 SP3 From an advisory covering 6 CVEs |
before 4.2.5_12-15.1 | 4.2.5_12-15.1 |
xenUbuntu:14.04:LTS |
before 4.4.2-0ubuntu0.14.04.2, plus listed versions 4.3.0-1ubuntu14.3.0-1ubuntu24.3.0-1ubuntu34.3.0-1ubuntu44.3.0-1ubuntu5 Show 12 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.1 |
4.4.2-0ubuntu0.14.04.2 |
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-2015-4164 is a medium vulnerability (CVSS 4.9) in Xen, published June 3, 2015. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.44%, the 38th percentile. Fixed in xen 4.6.0-1.
References
securityfocus.com/bid/75149
debian.org/security/2015/dsa-3286
lists.opensuse.org/opensuse-security-announce/2015-06/msg00029.html
lists.opensuse.org/opensuse-security-announce/2015-09/msg00027.html
securitytracker.com/id/1032569
lists.opensuse.org/opensuse-security-announce/2015-07/msg00014.html
Show 93 moreShow less
lists.opensuse.org/opensuse-security-announce/2015-06/msg00030.html
support.citrix.com/article/CTX201145
lists.opensuse.org/opensuse-security-announce/2015-06/msg00007.html
xenbits.xen.org/xsa/advisory-136.html
security.gentoo.org/glsa/201604-03
lists.opensuse.org/opensuse-security-announce/2015-06/msg00004.html
nvd.nist.gov/vuln/detail/CVE-2015-4164
github.com/advisories/GHSA-jg3g-vx8c-2j78
security-tracker.debian.org/tracker/CVE-2015-4164
advisories.mageia.org/MGASA-2016-0098.html
bugs.mageia.org/show_bug.cgi?id=16956
xenbits.xen.org/xsa/advisory-117.html
xenbits.xen.org/xsa/advisory-118.html
xenbits.xen.org/xsa/advisory-119.html
xenbits.xen.org/xsa/advisory-120.html
xenbits.xen.org/xsa/advisory-121.html
xenbits.xen.org/xsa/advisory-122.html
xenbits.xen.org/xsa/advisory-123.html
xenbits.xen.org/xsa/advisory-124.html
xenbits.xen.org/xsa/advisory-125.html
xenbits.xen.org/xsa/advisory-126.html
xenbits.xen.org/xsa/advisory-127.html
xenbits.xen.org/xsa/advisory-128.html
xenbits.xen.org/xsa/advisory-129.html
xenbits.xen.org/xsa/advisory-130.html
xenbits.xen.org/xsa/advisory-131.html
xenbits.xen.org/xsa/advisory-132.html
xenbits.xen.org/xsa/advisory-133.html
xenbits.xen.org/xsa/advisory-134.html
xenbits.xen.org/xsa/advisory-135.html
xenbits.xen.org/xsa/advisory-137.html
xenbits.xen.org/xsa/advisory-138.html
xenbits.xen.org/xsa/advisory-139.html
xenbits.xen.org/xsa/advisory-140.html
xenbits.xen.org/xsa/advisory-141.html
xenbits.xen.org/xsa/advisory-142.html
xenbits.xen.org/xsa/advisory-145.html
xenbits.xen.org/xsa/advisory-146.html
xenbits.xen.org/xsa/advisory-147.html
xenbits.xen.org/xsa/advisory-148.html
xenbits.xen.org/xsa/advisory-149.html
xenbits.xen.org/xsa/advisory-150.html
xenbits.xen.org/xsa/advisory-151.html
xenbits.xen.org/xsa/advisory-152.html
xenbits.xen.org/xsa/advisory-153.html
xenbits.xen.org/xsa/advisory-154.html
xenbits.xen.org/xsa/advisory-155.html
xenbits.xen.org/xsa/advisory-156.html
xenbits.xen.org/xsa/advisory-158.html
xenbits.xen.org/xsa/advisory-159.html
xenbits.xen.org/xsa/advisory-162.html
xenbits.xen.org/xsa/advisory-163.html
xenbits.xen.org/xsa/advisory-164.html
xenbits.xen.org/xsa/advisory-165.html
xenbits.xen.org/xsa/advisory-166.html
xenbits.xen.org/xsa/advisory-167.html
xenbits.xen.org/xsa/advisory-168.html
xenbits.xen.org/xsa/advisory-170.html
xenproject.org/downloads/xen-archives/xen-45-series/xen-451.html
xenproject.org/downloads/xen-archives/xen-45-series/xen-452.html
suse.com/support/update/announcement/2015/suse-su-20151042-1
bugzilla.suse.com/906689
bugzilla.suse.com/931625
bugzilla.suse.com/931626
bugzilla.suse.com/931627
bugzilla.suse.com/931628
bugzilla.suse.com/932770
bugzilla.suse.com/932790
bugzilla.suse.com/932996
suse.com/security/cve/CVE-2015-3209
suse.com/security/cve/CVE-2015-4103
suse.com/security/cve/CVE-2015-4104
suse.com/security/cve/CVE-2015-4105
suse.com/security/cve/CVE-2015-4106
suse.com/security/cve/CVE-2015-4163
suse.com/security/cve/CVE-2015-4164
suse.com/support/update/announcement/2015/suse-su-20151045-1
suse.com/support/update/announcement/2015/suse-su-20151156-1
suse.com/support/update/announcement/2015/suse-su-20151157-1
suse.com/support/update/announcement/2015/suse-su-20151479-1
bugzilla.suse.com/922709
bugzilla.suse.com/935634
bugzilla.suse.com/938344
bugzilla.suse.com/939709
bugzilla.suse.com/939712
suse.com/security/cve/CVE-2015-2751
suse.com/security/cve/CVE-2015-3259
suse.com/security/cve/CVE-2015-5154
suse.com/security/cve/CVE-2015-5165
suse.com/security/cve/CVE-2015-5166
suse.com/support/update/announcement/2015/suse-su-20151479-2
ubuntu.com/security/CVE-2015-4164
cve.org/CVERecord?id=CVE-2015-4164
Left out here: the rest of 1 source description. The JSON record has them.