From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dave Jones Subject: Re: [PATCH] vfs: rw_copy_check_uvector() - free iov on error Date: Tue, 22 Apr 2014 09:38:35 -0400 Message-ID: <20140422133835.GA32718@redhat.com> References: <20140415145749.GF10187@tucsk.piliscsaba.szeredi.hu> <20140416180422.GA20907@redhat.com> <20140421155020.GB13709@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Al Viro , Kernel Mailing List , Linux-Fsdevel To: Miklos Szeredi Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Tue, Apr 22, 2014 at 10:42:52AM +0200, Miklos Szeredi wrote: > > > Your patch looks a lot more complete than the quick hack I did a few > > > days ago when coverity first started nagging about this, but in testing > > > I've found that something really ugly starts showing up when you patch this > > > > > > The symptoms vary, but always are some kind of slab corruption. > > > Here's the last example: > > > > > > The crash happens very quickly (within a few seconds of running trinity) for me. > > > > Al, Miklos ? > > I probably am blind, but I can't see how that will cause slab corruption. > > Have you verified that it's just that single patch and no other change? yeah, runs a lot longer (before eventually hitting other issues) without the patch. Dave