]> xenbits.xensource.com Git - xen.git/commit
gnttab: correct locking order reversal
authorAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 4 Nov 2013 09:06:36 +0000 (10:06 +0100)
committerJan Beulich <jbeulich@suse.com>
Mon, 4 Nov 2013 09:06:36 +0000 (10:06 +0100)
commita321abc6d8122f8cb3928066cc74363c4fdddcfd
tree56eb3de9f1b344927814726e87dcffe96ee2d444
parentb714ae02a8ea1ba4e870a78ccfe1c9bc940718d9
gnttab: correct locking order reversal

Coverity ID 1087189

Correct a lock order reversal between a domains page allocation and grant
table locks.

This is CVE-2013-4494 / XSA-73.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Consolidate error handling.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Keir Fraser <keir@xen.org>
Tested-by: Matthew Daley <mattjd@gmail.com>
xen/common/grant_table.c