aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
authorJuergen Gross <jgross@suse.com>2015-02-17 08:02:47 +0100
committerDavid Vrabel <david.vrabel@citrix.com>2015-02-23 16:30:25 +0000
commitfacb5732b0bb59ebbc11b5d5abc249e677ddbeb6 (patch)
tree347b42c4e22eef494f5a896b8f81e8b80a6d5efc /arch/x86
parentx86/xen: allow privcmd hypercalls to be preempted (diff)
downloadlinux-dev-facb5732b0bb59ebbc11b5d5abc249e677ddbeb6.tar.xz
linux-dev-facb5732b0bb59ebbc11b5d5abc249e677ddbeb6.zip
xen-scsiback: mark pvscsi frontend request consumed only after last read
A request in the ring buffer mustn't be read after it has been marked as consumed. Otherwise it might already have been reused by the frontend without violating the ring protocol. To avoid inconsistencies in the backend only work on a private copy of the request. This will ensure a malicious guest not being able to bypass consistency checks of the backend by modifying an active request. Signed-off-by: Juergen Gross <jgross@suse.com> Cc: <stable@vger.kernel.org> Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Diffstat (limited to 'arch/x86')
0 files changed, 0 insertions, 0 deletions