diff options
author | John Johansen <john.johansen@canonical.com> | 2018-04-14 08:33:10 +0300 |
---|---|---|
committer | John Johansen <john.johansen@canonical.com> | 2018-06-07 11:51:01 +0300 |
commit | 3ddae9876a7045a8d08ab372eff232a5da5199b8 (patch) | |
tree | 64527d11e578e1130953d468ff1aeb37d63d54b6 /Documentation/preempt-locking.txt | |
parent | 11c92f144bf39f448f65202cccba672097a1100b (diff) | |
download | linux-3ddae9876a7045a8d08ab372eff232a5da5199b8.tar.xz |
apparmor: fix memory leak when deduping profile load
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 dedup check results in the profile being skipped and
put without dealing with the proxy ref thus not breaking a circular
refcount and causing a leak.
BugLink: http://bugs.launchpad.net/bugs/1750594
Fixes: 5d5182cae401 ("apparmor: move to per loaddata files, instead of replicating in profiles")
Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'Documentation/preempt-locking.txt')
0 files changed, 0 insertions, 0 deletions