summaryrefslogtreecommitdiff
path: root/security/min_addr.c
diff options
context:
space:
mode:
authorJohn Johansen <john.johansen@canonical.com>2023-12-29 17:54:41 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-01-26 02:35:54 +0300
commit790321e4ae6eb0150322882f2fb5d0849fc8874e (patch)
treecf41beeffc5a39b00837e599de642c411c369229 /security/min_addr.c
parent5125a302996583ab6f614f78424c2d554e8e6170 (diff)
downloadlinux-790321e4ae6eb0150322882f2fb5d0849fc8874e.tar.xz
apparmor: Fix ref count leak in task_kill
[ Upstream commit 2cb54a19ac7153b9a26a72098c495187f64c2276 ] apparmor_task_kill was not putting the task_cred reference tc, or the cred_label reference tc when dealing with a passed in cred, fix this by using a single fn exit. Fixes: 90c436a64a6e ("apparmor: pass cred through to audit info.") Signed-off-by: John Johansen <john.johansen@canonical.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'security/min_addr.c')
0 files changed, 0 insertions, 0 deletions