]> xenbits.xensource.com Git - xen.git/commit
gnttab: add missing version check to GNTTABOP_swap_grant_ref handling
authorJan Beulich <jbeulich@suse.com>
Thu, 11 Jun 2015 12:44:12 +0000 (14:44 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 11 Jun 2015 12:44:12 +0000 (14:44 +0200)
commit5d5c09d853d3f212861f70c577c65d1703f752ae
tree4bb35047b350f9307a78e5f26dc0dd4edc2407cf
parent44a84eac301fba0f5f4f430d8f81929ee22b1187
gnttab: add missing version check to GNTTABOP_swap_grant_ref handling

... avoiding NULL derefs when the version to use wasn't set yet (via
GNTTABOP_setup_table or GNTTABOP_set_version).

This is CVE-2015-4163 / XSA-134.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
xen/common/grant_table.c