From mboxrd@z Thu Jan 1 00:00:00 1970 From: Al Viro Subject: Re: [PATCH] fs: handle failed audit_log_start properly Date: Fri, 5 Oct 2012 01:44:31 +0100 Message-ID: <20121005004431.GN23473@ZenIV.linux.org.uk> References: <1349395051-12145-1-git-send-email-sasha.levin@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: keescook@chromium.org, levinsasha928@gmail.com, davej@redhat.com, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org To: Sasha Levin Return-path: Content-Disposition: inline In-Reply-To: <1349395051-12145-1-git-send-email-sasha.levin@oracle.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Thu, Oct 04, 2012 at 07:57:31PM -0400, Sasha Levin wrote: > audit_log_start() may return NULL, this is unchecked by the caller in > audit_log_link_denied() and could cause a NULL ptr deref. > > Introduced by commit a51d9eaa ("fs: add link restriction audit reporting"). Again, -stable fodder. Applied.