Linux Kernel AppArmor: Hardcap Policy NS Depth to Mitigate Res Exhaustion
CVE-2026-23405 Published on April 1, 2026
apparmor: fix: limit the number of levels of policy namespaces
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.
Products Associated with CVE-2026-23405
Want to know whenever a new CVE is published for Linux Kernel? stack.watch will email you.
Affected Versions
Linux:- Version c88d4c7b049e87998ac0a9f455aa545cc895ef92 and below 3f8699b3ee0c04b4b9bc27b82cd89a40e81e1d2e is affected.
- Version c88d4c7b049e87998ac0a9f455aa545cc895ef92 and below 853ce31ca72097d23991a06876a2ccb5cb64b603 is affected.
- Version c88d4c7b049e87998ac0a9f455aa545cc895ef92 and below d42b2b6bb77ca40ee34ab74ad79305840b5f315d is affected.
- Version c88d4c7b049e87998ac0a9f455aa545cc895ef92 and below 7b6495ead2c611647f6b11441a852324e3eb8616 is affected.
- Version c88d4c7b049e87998ac0a9f455aa545cc895ef92 and below 306039414932c80f8420695a24d4fe10c84ccfb2 is affected.
- Version 2.6.36 is affected.
- Before 2.6.36 is unaffected.
- Version 6.6.130, <= 6.6.* is unaffected.
- Version 6.12.77, <= 6.12.* is unaffected.
- Version 6.18.18, <= 6.18.* is unaffected.
- Version 6.19.8, <= 6.19.* is unaffected.
- Version 7.0-rc4, <= * is unaffected.