CVEvulnerability

CVE-2017-14318

6.5 MEDIUM Published 2017-09-12 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2017-09-12
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.0 ([email protected])
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 ([email protected])
4.9 MEDIUM — AV:L/AC:L/Au:N/C:N/I:N/A:C
Weaknesses
CWE-476

Description

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.

Affected configurations

• xen xen 4.5.0 • xen xen 4.5.1 • xen xen 4.5.2 • xen xen 4.5.3 • xen xen 4.5.5 • xen xen 4.6.0 • xen xen 4.6.1 • xen xen 4.6.3 • xen xen 4.6.4 • xen xen 4.6.5 • xen xen 4.6.6 • xen xen 4.7.0 • xen xen 4.7.1 • xen xen 4.7.2 • xen xen 4.7.3 • xen xen 4.8.0 • xen xen 4.8.1 • xen xen 4.9.0

Related

Weakness · CWE (1)

  • CWE-476 NULL Pointer Dereference weakness

References