Re: [PATCH] fs: handle failed audit_log_start properly

2012-10-04 Thread Al Viro
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.

[PATCH] fs: handle failed audit_log_start properly

2012-10-04 Thread Sasha Levin
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"). Signed-off-by: Sasha Levin --- kernel/audit.c | 2 ++ 1 file changed, 2 insertions(+) diff