ACK: [Bionic] [PATCH] UBUNTU: SAUCE: apparmor: fix memory leak when duplicate profile load

Seth Forshee seth.forshee at canonical.com
Mon Apr 16 13:37:07 UTC 2018


On Fri, Apr 13, 2018 at 10:52:58PM -0700, John Johansen wrote:
> AppArmor is leaking the newly loaded profile and its proxy when
> the profile is an exact match to the currently loaded version.
> 
> In this case the match check results in the profile being skipped
> and put with out dealing with the proxy and forwarding thus creating
> a circular refcount and a leak.
> 
> BugLink: http://bugs.launchpad.net/bugs/1750594
> Signed-off-by: John Johansen <john.johansen at canonical.com>

Acked-by: Seth Forshee <seth.forshee at canonical.com>




More information about the kernel-team mailing list