diff options
| author | John Johansen <john.johansen@canonical.com> | 2026-03-03 11:08:02 -0800 |
|---|---|---|
| committer | John Johansen <john.johansen@canonical.com> | 2026-03-09 16:05:43 -0700 |
| commit | 306039414932c80f8420695a24d4fe10c84ccfb2 (patch) | |
| tree | d2fedc885647c60d67b62a7d66a8cf437bae9657 /tools/perf/scripts/python | |
| parent | ab09264660f9de5d05d1ef4e225aa447c63a8747 (diff) | |
| download | linux-306039414932c80f8420695a24d4fe10c84ccfb2.tar.gz linux-306039414932c80f8420695a24d4fe10c84ccfb2.zip | |
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
