Re: [PATCH 3.2 17/18] cifs: ensure that uncached writes handle unmapped areas correctly

2014-04-07 Thread Ben Hutchings
On Mon, 2014-04-07 at 15:45 +0200, Raphael Geissert wrote: > Hi, > > On 7 April 2014 03:41, Ben Hutchings wrote: > > On Mon, 2014-04-07 at 00:35 +0100, Ben Hutchings wrote: > >> 3.2.57-rc1 review patch. If anyone has any objections, please let me know. > > [...] > > --- a/fs/cifs/file.c > > +++

Re: [PATCH 3.2 17/18] cifs: ensure that uncached writes handle unmapped areas correctly

2014-04-07 Thread Raphael Geissert
Hi, On 7 April 2014 03:41, Ben Hutchings wrote: > On Mon, 2014-04-07 at 00:35 +0100, Ben Hutchings wrote: >> 3.2.57-rc1 review patch. If anyone has any objections, please let me know. > [...] > --- a/fs/cifs/file.c > +++ b/fs/cifs/file.c [...] > + /* > +* i + 1 now

Re: [PATCH 3.2 17/18] cifs: ensure that uncached writes handle unmapped areas correctly

2014-04-06 Thread Ben Hutchings
On Mon, 2014-04-07 at 00:35 +0100, Ben Hutchings wrote: > 3.2.57-rc1 review patch. If anyone has any objections, please let me know. [...] Raphael Geissert previously prepared a backport of this for Debian, which I overlooked while trying to handle it for 3.2-stable. When comparing the two, I fo

[PATCH 3.2 17/18] cifs: ensure that uncached writes handle unmapped areas correctly

2014-04-06 Thread Ben Hutchings
3.2.57-rc1 review patch. If anyone has any objections, please let me know. -- From: Jeff Layton commit 5d81de8e8667da7135d3a32a964087c0faf5483f upstream. It's possible for userland to pass down an iovec via writev() that has a bogus user pointer in it. If that happens and we'r