diff options
Diffstat (limited to 'emulators/xen-kernel/files/xsa134.patch')
-rw-r--r-- | emulators/xen-kernel/files/xsa134.patch | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/emulators/xen-kernel/files/xsa134.patch b/emulators/xen-kernel/files/xsa134.patch deleted file mode 100644 index 16b93ac59f65..000000000000 --- a/emulators/xen-kernel/files/xsa134.patch +++ /dev/null @@ -1,23 +0,0 @@ -From: Jan Beulich <jbeulich@suse.com> -Subject: 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 XSA-134. - -Signed-off-by: Jan Beulich <jbeulich@suse.com> -Acked-by: Ian Campbell <ian.campbell@citrix.com> - ---- a/xen/common/grant_table.c -+++ b/xen/common/grant_table.c -@@ -2592,6 +2592,9 @@ __gnttab_swap_grant_ref(grant_ref_t ref_ - - spin_lock(>->lock); - -+ if ( gt->gt_version == 0 ) -+ PIN_FAIL(out, GNTST_general_error, "grant table not yet set up\n"); -+ - /* Bounds check on the grant refs */ - if ( unlikely(ref_a >= nr_grant_entries(d->grant_table))) - PIN_FAIL(out, GNTST_bad_gntref, "Bad ref-a (%d).\n", ref_a); |