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.
References (5)
Core 5
Core References
Vendor Advisory x_refsource_confirm
https://support.citrix.com/article/CTX227185
Third Party Advisory vendor-advisory
x_refsource_debian
https://www.debian.org/security/2017/dsa-4050
Third Party Advisory, VDB Entry vdb-entry
x_refsource_sectrack
http://www.securitytracker.com/id/1039349
Patch, Vendor Advisory x_refsource_confirm
http://xenbits.xen.org/xsa/advisory-232.html
Third Party Advisory, VDB Entry vdb-entry
x_refsource_bid
http://www.securityfocus.com/bid/100817
Scores
CVSS v3
6.5
EPSS
0.0011
EPSS Percentile
28.6%
Attack Vector
LOCAL
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H
Details
CWE
CWE-476
Status
published
Products (18)
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
... and 8 more
Published
Sep 12, 2017
Tracked Since
Feb 18, 2026