apparmor: fix: limit the number of levels of policy namespaces
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ c88d4c7b049e87998ac0a9f455aa545cc895ef92 · < d42b2b6bb77ca40ee34ab74ad79305840b5f315d| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
AppArmor policy namespaces in the Linux kernel can be nested without a depth limit. An attacker able to create and deeply nest them can exhaust system resources. The input does not specify authentication requirements or user interaction.
Operators running Linux kernels with AppArmor should check their systems; affected versions are not specified.