summaryrefslogtreecommitdiff
path: root/include/net/aligned_data.h
diff options
context:
space:
mode:
authorJohn Johansen <john.johansen@canonical.com>2026-03-03 11:08:02 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-03-13 17:26:03 +0100
commit7b6495ead2c611647f6b11441a852324e3eb8616 (patch)
tree7c2779f0b0647d3974f7173fcf7b50aa4cd51722 /include/net/aligned_data.h
parenta6a941a1294ac5abe22053dc501d25aed96e48fe (diff)
apparmor: fix: limit the number of levels of policy namespaces
commit 306039414932c80f8420695a24d4fe10c84ccfb2 upstream. Currently the number of policy namespaces is not bounded relying on the user namespace limit. However policy namespaces aren't strictly tied to user namespaces and it is possible to create them and nest them arbitrarily deep which can be used to exhaust system resource. Hard cap policy namespaces to the same depth as user namespaces. Fixes: c88d4c7b049e8 ("AppArmor: core policy routines") Reported-by: Qualys Security Advisory <qsa@qualys.com> Reviewed-by: Ryan Lee <ryan.lee@canonical.com> Reviewed-by: Cengiz Can <cengiz.can@canonical.com> Signed-off-by: John Johansen <john.johansen@canonical.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/net/aligned_data.h')
0 files changed, 0 insertions, 0 deletions