CVE-2026-23405 PUBLISHED

apparmor: fix: limit the number of levels of policy namespaces

Assigner: Linux
Reserved: 13.01.2026 Published: 01.04.2026 Updated: 01.04.2026

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.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from c88d4c7b049e87998ac0a9f455aa545cc895ef92 to 3f8699b3ee0c04b4b9bc27b82cd89a40e81e1d2e (excl.)
  • affected from c88d4c7b049e87998ac0a9f455aa545cc895ef92 to 853ce31ca72097d23991a06876a2ccb5cb64b603 (excl.)
  • affected from c88d4c7b049e87998ac0a9f455aa545cc895ef92 to d42b2b6bb77ca40ee34ab74ad79305840b5f315d (excl.)
  • affected from c88d4c7b049e87998ac0a9f455aa545cc895ef92 to 7b6495ead2c611647f6b11441a852324e3eb8616 (excl.)
  • affected from c88d4c7b049e87998ac0a9f455aa545cc895ef92 to 306039414932c80f8420695a24d4fe10c84ccfb2 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 2.6.36 is affected
  • unaffected from 0 to 2.6.36 (excl.)
  • unaffected from 6.6.130 to 6.6.* (incl.)
  • unaffected from 6.12.77 to 6.12.* (incl.)
  • unaffected from 6.18.18 to 6.18.* (incl.)
  • unaffected from 6.19.8 to 6.19.* (incl.)
  • unaffected from 7.0-rc4 to * (incl.)

References