diff options
author | Juergen Gross <jgross@suse.com> | 2015-02-17 08:02:47 +0100 |
---|---|---|
committer | David Vrabel <david.vrabel@citrix.com> | 2015-02-23 16:30:25 +0000 |
commit | facb5732b0bb59ebbc11b5d5abc249e677ddbeb6 (patch) | |
tree | 347b42c4e22eef494f5a896b8f81e8b80a6d5efc /lib/compat_audit.c | |
parent | fdfd811ddde3678247248ca9a27faa999ca4cd51 (diff) |
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 'lib/compat_audit.c')
0 files changed, 0 insertions, 0 deletions