In the Linux kernel, the following vulnerability has been resolved: 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.
https://git.kernel.org/stable/c/d42b2b6bb77ca40ee34ab74ad79305840b5f315d
https://git.kernel.org/stable/c/853ce31ca72097d23991a06876a2ccb5cb64b603
https://git.kernel.org/stable/c/7b6495ead2c611647f6b11441a852324e3eb8616
https://git.kernel.org/stable/c/3f8699b3ee0c04b4b9bc27b82cd89a40e81e1d2e
https://git.kernel.org/stable/c/306039414932c80f8420695a24d4fe10c84ccfb2