CVE-2017-14318
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
Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 16.04 | xen | Fixed | 4.6.5-0ubuntu1.4 | UBUNTU-CVE-2017-14318 |
| Ubuntu 14.04 | xen | Not affected vulnerable_code_not_present | ||
| Debian 14 | xen | Fixed | 4.8.2+xsa245-0+deb9u1 | DEBIAN-CVE-2017-14318 |
| Debian 13 | xen | Fixed | 4.8.2+xsa245-0+deb9u1 | DEBIAN-CVE-2017-14318 |
| Debian 12 | xen | Fixed | 4.8.2+xsa245-0+deb9u1 | DEBIAN-CVE-2017-14318 |
| Red Hat Enterprise Linux 5 | xen | Will not fix Will not fix | ||
| Alpine Linux 3.24 | xen | Fixed | 4.9.0-r4 | ALPINE-CVE-2017-14318 |
| Alpine Linux 3.23 | xen | Fixed | 4.9.0-r4 | ALPINE-CVE-2017-14318 |
| Alpine Linux 3.22 | xen | Fixed | 4.9.0-r4 | ALPINE-CVE-2017-14318 |
| Alpine Linux 3.21 | xen | Fixed | 4.9.0-r4 | ALPINE-CVE-2017-14318 |
| Alpine Linux 3.20 | xen | Fixed | 4.9.0-r4 | ALPINE-CVE-2017-14318 |
| Alpine Linux 3.19 | xen | Fixed | 4.9.0-r4 | ALPINE-CVE-2017-14318 |
| Alpine Linux 3.18 | xen | Fixed | 4.9.0-r4 | ALPINE-CVE-2017-14318 |
| Alpine Linux 3.17 | xen | Fixed | 4.9.0-r4 | ALPINE-CVE-2017-14318 |
| Alpine Linux 3.16 | xen | Fixed | 4.9.0-r4 | ALPINE-CVE-2017-14318 |
| Alpine Linux 3.15 | xen | Fixed | 4.9.0-r4 | ALPINE-CVE-2017-14318 |
| Alpine Linux 3.14 | xen | Fixed | 4.9.0-r4 | ALPINE-CVE-2017-14318 |
| Alpine Linux 3.13 | xen | Fixed | 4.9.0-r4 | ALPINE-CVE-2017-14318 |
| Alpine Linux 3.12 | xen | Fixed | 4.9.0-r4 | ALPINE-CVE-2017-14318 |
| Alpine Linux 3.11 | xen | Fixed | 4.9.0-r4 | ALPINE-CVE-2017-14318 |
| Alpine Linux 3.10 | xen | Fixed | 4.9.0-r4 | ALPINE-CVE-2017-14318 |
| Alpine Linux 3.9 | xen | Fixed | 4.9.0-r4 | ALPINE-CVE-2017-14318 |
| Alpine Linux 3.8 | xen | Fixed | 4.9.0-r4 | ALPINE-CVE-2017-14318 |
| Alpine Linux 3.7 | xen | Fixed | 4.9.0-r4 | ALPINE-CVE-2017-14318 |
| Alpine Linux 3.6 | xen | Fixed | 4.8.2-r1 | ALPINE-CVE-2017-14318 |
| Alpine Linux 3.5 | xen | Fixed | 4.7.2-r2 | ALPINE-CVE-2017-14318 |
| Alpine Linux 3.4 | xen | Fixed | 4.6.3-r11 | ALPINE-CVE-2017-14318 |
| Alpine Linux 3.3 | xen | Fixed | 4.6.3-r9 | ALPINE-CVE-2017-14318 |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- https://www.debian.org/security/2017/dsa-4050 (vendor-advisory)
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
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.