Re: WARNING in apparmor_cred_free

From: James Morris
Date: Wed Jan 16 2019 - 18:44:26 EST


On Fri, 11 Jan 2019, Casey Schaufler wrote:

> >From 47134986133c822e1d88860fa2b108f92c97a7ff Mon Sep 17 00:00:00 2001
> From: Casey Schaufler <casey@xxxxxxxxxxxxxxxx>
> Date: Fri, 11 Jan 2019 17:31:50 -0800
> Subject: [PATCH 1/2] LSM: Check for NULL cred-security on free
>
> Check that the cred security blob has been set before trying
> to clean it up. There is a case during credential initialization
> that could result in this.
>
> Signed-off-by: Casey Schaufler <casey@xxxxxxxxxxxxxxxx>

Applied to
git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security.git fixes-v5.0-rc2


NOTE: For patches which you are submitting for inclusion, start a new
thread and include [PATCH] in the subject line.


--
James Morris
<jmorris@xxxxxxxxx>