In the Linux kernel, the following vulnerability has been resolved: apparmor: fix unconfined user namespace restriction forced stack If a task is already confined by a stack the unprivileged transition restriction on unconfined is not correctly, applied. This results in an escape if two transitions through an unconfined profile can be executed. Fix this by pushing the check into the per profile label build. The check will always be done against unconfined and result in a stack of just the unconfined component when necessary.
https://git.kernel.org/stable/c/7da0bdf0610f6d35bbb061536a47fc41646306f0
https://git.kernel.org/stable/c/7d1099b86356df81c379159bfb8a598aaf83ce81
https://git.kernel.org/stable/c/08c2f7c8d4b1434cfae006f3daf4d1bce330b57b