CVE-2026-23405 apparmor: fix: limit the number of levels of policy namespaces

Medium 5.5 Published Updated

Attackers can exhaust system resources by creating arbitrarily deep nested AppArmor policy namespaces, causing denial of service.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2026-23405?

CVE-2026-23405 is a medium-severity denial of service vulnerability in Linux kernel, published on 1 Apr 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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.

Which versions are affected by CVE-2026-23405?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2026-23405?

Apply the vendor's patch.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2026-23405 being exploited?

There is no known exploitation of CVE-2026-23405 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as AZL-82019, BELL-CVE-2026-23405, DEBIAN-CVE-2026-23405, GHSA-xwx5-hj9g-f35h, UBUNTU-CVE-2026-23405.

Is CVE-2026-23405 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free