From: David Vrabel Subject: Re: [Xen-devel] [PATCH V2 1/3] xen: mark pvscsi frontend request consumed only after last read Date: Fri, 20 Feb 2015 13:52:52 +0000 Message-ID: <54E73C34.6080901@citrix.com> References: <1424156569-13642-1-git-send-email-jgross@suse.com> <1424156569-13642-2-git-send-email-jgross@suse.com> Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1424156569-13642-2-git-send-email-jgross@suse.com> Sender: linux-kernel-owner@vger.kernel.org To: Juergen Gross , linux-kernel@vger.kernel.org, xen-devel@lists.xensource.com, konrad.wilk@oracle.com, david.vrabel@citrix.com, boris.ostrovsky@oracle.com List-Id: xen-devel@lists.xenproject.org On 17/02/15 07:02, Juergen Gross wrote: > 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. Applied to stable/for-linus-3.20 and tagged for stable, thanks. David