From: Steven Rostedt Subject: Re: [PATCH] vfs: Fix possible NULL pointer dereference in inode_permission() Date: Thu, 9 Jan 2014 18:45:54 -0500 Message-ID: <20140109184554.54524159@gandalf.local.home> References: <20140109162731.12500986@gandalf.local.home> <20140109214239.GD29910@parisc-linux.org> <20140109165012.391db81e@gandalf.local.home> <20140109223127.GM10323@ZenIV.linux.org.uk> <20140109182523.5b50131f@gandalf.local.home> <20140109182756.17abaaa8@gandalf.local.home> <1389310626.15209.92.camel@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Linus Torvalds , Al Viro , Paul McKenney , Dave Chinner , linux-fsdevel@vger.kernel.org, James Morris , Andrew Morton , Stephen Smalley , "Theodore Ts'o" , stable , Paul Moore , LKML , Matthew Wilcox , Christoph Hellwig To: Eric Paris Return-path: In-Reply-To: <1389310626.15209.92.camel@localhost> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Thu, 09 Jan 2014 18:37:06 -0500 Eric Paris wrote: > > Oh wait, you said not to clear the member. Thus, the patch would look > > like this: > > > > Signed-off-by: Steven Rostedt > > SMACK also needs this change somehow in smack_inode_free_security() > > but at least from an SELinux PoV, I think it's quick and easy, but wrong > for maintainability... I agree, but for this late in the -rc window, this may be the best thing for now. We can think of a better solution for the future. -- Steve