Linux
apparmor: fix unconfined user namespace restriction forced stack
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 2d9da9b188b8cd3b579d7ef5ba5d334be9dd38fc, < fdd341654471cae4fbd9635d32b848cd0c8bc437
- >= 2d9da9b188b8cd3b579d7ef5ba5d334be9dd38fc, < 7d1099b86356df81c379159bfb8a598aaf83ce81
- >= 2d9da9b188b8cd3b579d7ef5ba5d334be9dd38fc, < 7da0bdf0610f6d35bbb061536a47fc41646306f0
- >= 2d9da9b188b8cd3b579d7ef5ba5d334be9dd38fc, < 08c2f7c8d4b1434cfae006f3daf4d1bce330b57b
Fixed in fdd341654471cae4fbd9635d32b848cd0c8bc437, 7d1099b86356df81c379159bfb8a598aaf83ce81, 7da0bdf0610f6d35bbb061536a47fc41646306f0, 08c2f7c8d4b1434cfae006f3daf4d1bce330b57b
- 6.7
Fixed in 0, 6.12.114, 6.18.52, 7.2.6, 7.3
Mitigation
Upgrade Linux to fdd341654471cae4fbd9635d32b848cd0c8bc437 or 7d1099b86356df81c379159bfb8a598aaf83ce81 or 7da0bdf0610f6d35bbb061536a47fc41646306f0 or 08c2f7c8d4b1434cfae006f3daf4d1bce330b57b or later.
Upgrade Linux to 0 or 6.12.114 or 6.18.52 or 7.2.6 or 7.3 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.