diff options
| author | John Johansen <john.johansen@canonical.com> | 2026-05-08 22:30:07 -0700 |
|---|---|---|
| committer | John Johansen <john.johansen@canonical.com> | 2026-08-10 22:49:42 -0700 |
| commit | 08c2f7c8d4b1434cfae006f3daf4d1bce330b57b (patch) | |
| tree | 1c78eeee6dcd9a7d98f402801b0068ab1827332f /scripts/git.orderFile | |
| parent | ecd4e67a28dd5ff7cdc4f91dc0562704035dffcc (diff) | |
| download | linux-08c2f7c8d4b1434cfae006f3daf4d1bce330b57b.tar.gz linux-08c2f7c8d4b1434cfae006f3daf4d1bce330b57b.zip | |
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.
Fixes: 2d9da9b188b8 ("apparmor: allow restricting unprivileged change_profile")
Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'scripts/git.orderFile')
0 files changed, 0 insertions, 0 deletions
