Every CVE Search/ Get API key

CVE-2017-14318

An issue was discovered in Xen 4.5.x through 4.9.x. The function `__gnttab_cache_flush` handles...

6.5 MediumFix available

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

0.35%Down 0.9 points since Apr 14, 2021
90%50%10%1%

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 MediumCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H
CVSS 2.0
4.9 MediumAV: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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_pages for 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_pages for 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_pages for 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

Affected packages
PackageAffectedFixed
xen
Alpine:v3.10
before 4.9.0-r4
4.9.0-r4
xen
Alpine:v3.11
before 4.9.0-r4
4.9.0-r4
xen
Alpine:v3.12
before 4.9.0-r4
4.9.0-r4
xen
Alpine:v3.13
before 4.9.0-r4
4.9.0-r4
xen
Alpine:v3.14
before 4.9.0-r4
4.9.0-r4
xen
Alpine:v3.15
before 4.9.0-r4
4.9.0-r4
xen
Alpine:v3.16
before 4.9.0-r4
4.9.0-r4
xen
Alpine:v3.17
before 4.9.0-r4
4.9.0-r4
xen
Alpine:v3.18
before 4.9.0-r4
4.9.0-r4
xen
Alpine:v3.19
before 4.9.0-r4
4.9.0-r4
Show 29 moreShow less
Affected packages
PackageAffectedFixed
xen
Alpine:v3.20
before 4.9.0-r4
4.9.0-r4
xen
Alpine:v3.21
before 4.9.0-r4
4.9.0-r4
xen
Alpine:v3.22
before 4.9.0-r4
4.9.0-r4
xen
Alpine:v3.23
before 4.9.0-r4
4.9.0-r4
xen
Alpine:v3.24
before 4.9.0-r4
4.9.0-r4
xen
Alpine:v3.3
before 4.6.3-r9
4.6.3-r9
xen
Alpine:v3.4
before 4.6.3-r11
4.6.3-r11
xen
Alpine:v3.5
before 4.7.2-r2
4.7.2-r2
xen
Alpine:v3.6
before 4.8.2-r1
4.8.2-r1
xen
Alpine:v3.7
before 4.9.0-r4
4.9.0-r4
xen
Alpine:v3.8
before 4.9.0-r4
4.9.0-r4
xen
Alpine:v3.9
before 4.9.0-r4
4.9.0-r4
xen
Debian:12
before 4.8.2+xsa245-0+deb9u1
4.8.2+xsa245-0+deb9u1
xen
Debian:13
before 4.8.2+xsa245-0+deb9u1
4.8.2+xsa245-0+deb9u1
xen
Debian:14
before 4.8.2+xsa245-0+deb9u1
4.8.2+xsa245-0+deb9u1
xen
Debian: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 less
4.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
xen
Debian: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
xen
SUSE: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
xen
SUSE: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
xen
SUSE: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
xen
SUSE: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
xen
SUSE:OpenStack Cloud 6
From an advisory covering 4 CVEs
before 4.5.5_16-22.28.1
4.5.5_16-22.28.1
xen
SUSE: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
xen
SUSE: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
xen
SUSE: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
xen
SUSE: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
xen
SUSE: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
xen
SUSE: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
xen
Ubuntu: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 less
4.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

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE 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

Show 19 moreShow less
MoveEnter Open