CVE-2017-14318
An issue was discovered in Xen 4.5.x through 4.9.x. The function `__gnttab_cache_flush` handles...
An issue was discovered in Xen 4.5.x through 4.9.x. The function __gnttab_cache_flush handles GNTTABOP_cache_flush grant table operations. It checks to see if the calling domain is the owner of the page that is to be operated on. If it is not, the owner's grant table is checked to see if a grant mapping to the calling domain exists for the page in question. However, the function does not check to see if the owning domain actually has a grant table or not. Some special domains, such as DOMID_XEN, DOMID_IO and DOMID_COW are created without grant tables. Hence, if __gnttab_cache_flush operates on a page owned by these special domains, it will attempt to dereference a NULL pointer in the domain struct.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- 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
6.5
An issue was discovered in Xen 4.5.x through 4.9.x. The function __gnttab_cache_flush handles GNTTABOP_cache_flush grant table operations. It checks to see if the calling domain is the owner of the page that is to be operated on. If it is not, the owner's grant table is checked to see if a grant mapping to the calling domain exists for the page in question. However, the function does not check to see if the owning domain actually has a grant table or not. Some special domains, such as DOMID_XEN, DOMID_IO and DOMID_COW are created without grant tables. Hence, if __gnttab_cache_flush operates on a page owned by these special domains, it will attempt to dereference a NULL pointer in the domain struct.
- Record
CVE-2017-14318- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H - CVSS 2.0
- 4.9 Medium
AV:L/AC:L/Au:N/C:N/I:N/A:C - Weakness
- CWE-476
- Updated
- 2026-11-02
CVE List No score
An issue was discovered in Xen 4.5.x through 4.9.x. The function __gnttab_cache_flush handles GNTTABOP_cache_flush grant table operations. It checks to see if the calling domain is the owner of the page that is to be operated on. If it is not, the owner's grant table is checked to see if a grant mapping to the calling domain exists for the page in question. However, the function does not check to see if the owning domain actually has a grant table or not. Some special domains, such as DOMID_XEN, DOMID_IO and DOMID_COW are created without grant tables. Hence, if __gnttab_cache_flush operates on a page owned by these special domains, it will attempt to dereference a NULL pointer in the domain struct.
- Record
CVE-2017-14318- Updated
- 2026-11-02
EUVDEUVD-2017-5821 No score
An issue was discovered in Xen 4.5.x through 4.9.x. The function __gnttab_cache_flush handles GNTTABOP_cache_flush grant table operations. It checks to see if the calling domain is the owner of the page that is to be operated on. If it is not, the owner's grant table is checked to see if a grant mapping to the calling domain exists for the page in question. However, the function does not check to see if the owning domain actually has a grant table or not. Some special domains, such as DOMID_XEN, DOMID_IO and DOMID_COW are created without grant tables. Hence, if __gnttab_cache_flush operates on a page owned by these special domains, it will attempt to dereference a NULL pointer in the domain struct.
- Record
EUVD-2017-5821- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-g75p-4v96-pxff
6.5
An issue was discovered in Xen 4.5.x through 4.9.x. The function `__gnttab_cache_flush` handles...
An issue was discovered in Xen 4.5.x through 4.9.x. The function __gnttab_cache_flush handles GNTTABOP_cache_flush grant table operations. It checks to see if the calling domain is the owner of the page that is to be operated on. If it is not, the owner's grant table is checked to see if a grant mapping to the calling domain exists for the page in question. However, the function does not check to see if the owning domain actually has a grant table or not. Some special domains, such as DOMID_XEN, DOMID_IO and DOMID_COW are created without grant tables. Hence, if __gnttab_cache_flush operates on a page owned by these special domains, it will attempt to dereference a NULL pointer in the domain struct.
- Record
GHSA-g75p-4v96-pxff- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H - Weakness
- CWE-476
- Updated
- 2026-11-02
OSVALPINE-CVE-2017-14318
6.5
An issue was discovered in Xen 4.5.x through 4.9.x. The function __gnttab_cache_flush handles GNTTABOP_cache_flush grant table operations. It checks to see if the calling domain is the owner of the page that is to be operated on. If it is not, the owner's grant table is checked to see if a grant mapping to the calling domain exists for the page in question. However, the function does not check to see if the owning domain actually has a grant table or not. Some special domains, such as DOMID_XEN, DOMID_IO and DOMID_COW are created without grant tables. Hence, if __gnttab_cache_flush operates on a page owned by these special domains, it will attempt to dereference a NULL pointer in the domain struct.
- Record
ALPINE-CVE-2017-14318- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H - Updated
- 2026-11-02
OSV
6.5
An issue was discovered in Xen 4.5.x through 4.9.x. The function __gnttab_cache_flush handles GNTTABOP_cache_flush grant table operations. It checks to see if the calling domain is the owner of the page that is to be operated on. If it is not, the owner's grant table is checked to see if a grant mapping to the calling domain exists for the page in question. However, the function does not check to see if the owning domain actually has a grant table or not. Some special domains, such as DOMID_XEN, DOMID_IO and DOMID_COW are created without grant tables. Hence, if __gnttab_cache_flush operates on a page owned by these special domains, it will attempt to dereference a NULL pointer in the domain struct.
- Record
CVE-2017-14318- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H - Updated
- 2026-11-02
Show 5 moreShow less
OSVDEBIAN-CVE-2017-14318
6.5
An issue was discovered in Xen 4.5.x through 4.9.x. The function __gnttab_cache_flush handles GNTTABOP_cache_flush grant table operations. It checks to see if the calling domain is the owner of the page that is to be operated on. If it is not, the owner's grant table is checked to see if a grant mapping to the calling domain exists for the page in question. However, the function does not check to see if the owning domain actually has a grant table or not. Some special domains, such as DOMID_XEN, DOMID_IO and DOMID_COW are created without grant tables. Hence, if __gnttab_cache_flush operates on a page owned by these special domains, it will attempt to dereference a NULL pointer in the domain struct.
- Record
DEBIAN-CVE-2017-14318- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2017-14318
6.5
An issue was discovered in Xen 4.5.x through 4.9.x. The function __gnttab_cache_flush handles GNTTABOP_cache_flush grant table operations. It checks to see if the calling domain is the owner of the page that is to be operated on. If it is not, the owner's grant table is checked to see if a grant mapping to the calling domain exists for the page in question. However, the function does not check to see if the owning domain actually has a grant table or not. Some special domains, such as DOMID_XEN, DOMID_IO and DOMID_COW are created without grant tables. Hence, if __gnttab_cache_flush operates on a page owned by these special domains, it will attempt to dereference a NULL pointer in the domain struct.
- Record
UBUNTU-CVE-2017-14318- CVSS 3.0
- 6.5 Medium
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H - Updated
- 2026-11-02
OSVSUSE-SU-2017:2420-1 No score
Security update for xen
This update for xen fixes several issues.
These security issues were fixed:
- CVE-2017-14316: Missing bound check in function
alloc_heap_pagesfor an internal array allowed attackers using crafted hypercalls to execute arbitrary code within Xen (XSA-231, bsc#1056278) - CVE-2017-14318: The function __gnttab_cache_flush missed a check for grant tables, allowing a malicious guest to crash the host or for x86 PV guests to potentially escalate privileges (XSA-232, bsc#1056280)
- CVE-2017-14317: A race in cxenstored may have cause a double-free allowind for DoS of the xenstored daemon (XSA-233, bsc#1056281).
- CVE-2017-14319: An error while handling grant mappings allowed malicious or buggy x86 PV guest to escalate its privileges or crash the hypervisor (XSA-234, bsc#1056282).
These non-security issues were fixed:
- bsc#1057358: Fixed boot into SUSE Linux Enterprise 12.3 with secure boot
- bsc#1055695: Fixed restoring updates for HVM guests for ballooned domUs
- Record
SUSE-SU-2017:2420-1- Updated
- 2026-11-02
OSVSUSE-SU-2017:2466-1 No score
Security update for xen
This update for xen fixes several issues.
These security issues were fixed:
- CVE-2017-14316: Missing bound check in function
alloc_heap_pagesfor an internal array allowed attackers using crafted hypercalls to execute arbitrary code within Xen (XSA-231, bsc#1056278) - CVE-2017-14318: The function __gnttab_cache_flush missed a check for grant tables, allowing a malicious guest to crash the host or for x86 PV guests to potentially escalate privileges (XSA-232, bsc#1056280)
- CVE-2017-14317: A race in cxenstored may have cause a double-free allowind for DoS of the xenstored daemon (XSA-233, bsc#1056281).
- CVE-2017-14319: An error while handling grant mappings allowed malicious or buggy x86 PV guest to escalate its privileges or crash the hypervisor (XSA-234, bsc#1056282).
- Record
SUSE-SU-2017:2466-1- Updated
- 2026-11-02
OSVSUSE-SU-2017:2519-1 No score
Security update for xen
This update for xen fixes several issues.
These security issues were fixed:
- CVE-2017-14316: Missing bound check in function
alloc_heap_pagesfor an internal array allowed attackers using crafted hypercalls to execute arbitrary code within Xen (XSA-231, bsc#1056278) - CVE-2017-14318: The function __gnttab_cache_flush missed a check for grant tables, allowing a malicious guest to crash the host or for x86 PV guests to potentially escalate privileges (XSA-232, bsc#1056280)
- CVE-2017-14317: A race in cxenstored may have cause a double-free allowind for DoS of the xenstored daemon (XSA-233, bsc#1056281).
- CVE-2017-14319: An error while handling grant mappings allowed malicious or buggy x86 PV guest to escalate its privileges or crash the hypervisor (XSA-234, bsc#1056282).
These non-security issues were fixed:
- bsc#1055695: Fixed restoring updates for HVM guests for ballooned domUs
- Record
SUSE-SU-2017:2519-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
xenAlpine:v3.10 |
before 4.9.0-r4 | 4.9.0-r4 |
xenAlpine:v3.11 |
before 4.9.0-r4 | 4.9.0-r4 |
xenAlpine:v3.12 |
before 4.9.0-r4 | 4.9.0-r4 |
xenAlpine:v3.13 |
before 4.9.0-r4 | 4.9.0-r4 |
xenAlpine:v3.14 |
before 4.9.0-r4 | 4.9.0-r4 |
xenAlpine:v3.15 |
before 4.9.0-r4 | 4.9.0-r4 |
xenAlpine:v3.16 |
before 4.9.0-r4 | 4.9.0-r4 |
xenAlpine:v3.17 |
before 4.9.0-r4 | 4.9.0-r4 |
xenAlpine:v3.18 |
before 4.9.0-r4 | 4.9.0-r4 |
xenAlpine:v3.19 |
before 4.9.0-r4 | 4.9.0-r4 |
Show 29 moreShow less
| Package | Affected | Fixed |
|---|---|---|
xenAlpine:v3.20 |
before 4.9.0-r4 | 4.9.0-r4 |
xenAlpine:v3.21 |
before 4.9.0-r4 | 4.9.0-r4 |
xenAlpine:v3.22 |
before 4.9.0-r4 | 4.9.0-r4 |
xenAlpine:v3.23 |
before 4.9.0-r4 | 4.9.0-r4 |
xenAlpine:v3.24 |
before 4.9.0-r4 | 4.9.0-r4 |
xenAlpine:v3.3 |
before 4.6.3-r9 | 4.6.3-r9 |
xenAlpine:v3.4 |
before 4.6.3-r11 | 4.6.3-r11 |
xenAlpine:v3.5 |
before 4.7.2-r2 | 4.7.2-r2 |
xenAlpine:v3.6 |
before 4.8.2-r1 | 4.8.2-r1 |
xenAlpine:v3.7 |
before 4.9.0-r4 | 4.9.0-r4 |
xenAlpine:v3.8 |
before 4.9.0-r4 | 4.9.0-r4 |
xenAlpine:v3.9 |
before 4.9.0-r4 | 4.9.0-r4 |
xenDebian:12 |
before 4.8.2+xsa245-0+deb9u1 | 4.8.2+xsa245-0+deb9u1 |
xenDebian:13 |
before 4.8.2+xsa245-0+deb9u1 | 4.8.2+xsa245-0+deb9u1 |
xenDebian:14 |
before 4.8.2+xsa245-0+deb9u1 | 4.8.2+xsa245-0+deb9u1 |
xenDebian:7 From an advisory covering 15 CVEs |
before 4.1.6.lts1-9, plus listed versions 4.1.4-34.1.4-3+deb7u14.1.4-3+deb7u24.1.4-3+deb7u34.1.4-3+deb7u4 Show 15 moreShow less4.1.4-3+deb7u54.1.4-3+deb7u64.1.4-3+deb7u74.1.4-3+deb7u84.1.4-3+deb7u94.1.4-44.1.6.1-1+deb7u14.1.6.lts1-14.1.6.lts1-24.1.6.lts1-34.1.6.lts1-44.1.6.lts1-54.1.6.lts1-64.1.6.lts1-74.1.6.lts1-8 |
4.1.6.lts1-9 |
xenDebian:9 From an advisory covering 16 CVEs |
before 4.8.2+xsa245-0+deb9u1, plus listed versions 4.8.1-1+deb9u14.8.1-1+deb9u24.8.1-1+deb9u3 |
4.8.2+xsa245-0+deb9u1 |
xenSUSE:Linux Enterprise Desktop 12 SP3 From an advisory covering 4 CVEs |
before 4.9.0_12-3.15.1 | 4.9.0_12-3.15.1 |
xenSUSE:Linux Enterprise Software Development Kit 12 SP3 From an advisory covering 4 CVEs |
before 4.9.0_12-3.15.1 | 4.9.0_12-3.15.1 |
xenSUSE:Linux Enterprise Server 12 SP3 From an advisory covering 4 CVEs |
before 4.9.0_12-3.15.1 | 4.9.0_12-3.15.1 |
xenSUSE:Linux Enterprise Server for SAP Applications 12 SP3 From an advisory covering 4 CVEs |
before 4.9.0_12-3.15.1 | 4.9.0_12-3.15.1 |
xenSUSE:OpenStack Cloud 6 From an advisory covering 4 CVEs |
before 4.5.5_16-22.28.1 | 4.5.5_16-22.28.1 |
xenSUSE:Linux Enterprise Server for SAP Applications 12 SP1 From an advisory covering 4 CVEs |
before 4.5.5_16-22.28.1 | 4.5.5_16-22.28.1 |
xenSUSE:Linux Enterprise Server 12 SP1-LTSS From an advisory covering 4 CVEs |
before 4.5.5_16-22.28.1 | 4.5.5_16-22.28.1 |
xenSUSE:Linux Enterprise Desktop 12 SP2 From an advisory covering 4 CVEs |
before 4.7.3_04-43.12.1 | 4.7.3_04-43.12.1 |
xenSUSE:Linux Enterprise Software Development Kit 12 SP2 From an advisory covering 4 CVEs |
before 4.7.3_04-43.12.1 | 4.7.3_04-43.12.1 |
xenSUSE:Linux Enterprise Server 12 SP2 From an advisory covering 4 CVEs |
before 4.7.3_04-43.12.1 | 4.7.3_04-43.12.1 |
xenSUSE:Linux Enterprise Server for SAP Applications 12 SP2 From an advisory covering 4 CVEs |
before 4.7.3_04-43.12.1 | 4.7.3_04-43.12.1 |
xenUbuntu:16.04:LTS |
before 4.6.5-0ubuntu1.4, plus listed versions 4.5.1-0ubuntu14.5.1-0ubuntu24.6.0-1ubuntu14.6.0-1ubuntu24.6.0-1ubuntu4 Show 6 moreShow less4.6.0-1ubuntu4.14.6.0-1ubuntu4.24.6.0-1ubuntu4.34.6.5-0ubuntu14.6.5-0ubuntu1.14.6.5-0ubuntu1.2 |
4.6.5-0ubuntu1.4 |
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-2017-14318 is a medium vulnerability (CVSS 6.5) in Xen, published September 12, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.35%, the 29th percentile. Fixed in xen 4.9.0-r4.
References
support.citrix.com/article/CTX227185
debian.org/security/2017/dsa-4050
securitytracker.com/id/1039349
xenbits.xen.org/xsa/advisory-232.html
securityfocus.com/bid/100817
nvd.nist.gov/vuln/detail/CVE-2017-14318
Show 19 moreShow less
github.com/advisories/GHSA-g75p-4v96-pxff
security.alpinelinux.org/vuln/CVE-2017-14318
security-tracker.debian.org/tracker/CVE-2017-14318
suse.com/support/update/announcement/2017/suse-su-20172420-1
bugzilla.suse.com/1027519
bugzilla.suse.com/1055695
bugzilla.suse.com/1056278
bugzilla.suse.com/1056280
bugzilla.suse.com/1056281
bugzilla.suse.com/1056282
bugzilla.suse.com/1057358
suse.com/security/cve/CVE-2017-14316
suse.com/security/cve/CVE-2017-14317
suse.com/security/cve/CVE-2017-14318
suse.com/security/cve/CVE-2017-14319
suse.com/support/update/announcement/2017/suse-su-20172466-1
suse.com/support/update/announcement/2017/suse-su-20172519-1
ubuntu.com/security/CVE-2017-14318
cve.org/CVERecord?id=CVE-2017-14318