summaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorJohn Johansen <john.johansen@canonical.com>2026-03-03 22:08:02 +0300
committerJohn Johansen <john.johansen@canonical.com>2026-03-10 02:05:43 +0300
commit306039414932c80f8420695a24d4fe10c84ccfb2 (patch)
treed2fedc885647c60d67b62a7d66a8cf437bae9657 /include/linux/timerqueue.h
parentab09264660f9de5d05d1ef4e225aa447c63a8747 (diff)
downloadlinux-306039414932c80f8420695a24d4fe10c84ccfb2.tar.xz
apparmor: fix: limit the number of levels of policy namespaces
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>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions