{"id":"CVE-2026-23404","published":"2026-04-01T08:36:35Z","modified":"2026-05-11T22:06:15Z","title":"apparmor: replace recursive profile removal with iterative approach","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\napparmor: replace recursive profile removal with iterative approach\n\nThe profile removal code uses recursion when removing nested profiles,\nwhich can lead to kernel stack exhaustion and system crashes.\n\nReproducer:\n  $ pf='a'; for ((i=0; i<1024; i++)); do\n      echo -e \"profile $pf { \\n }\" | apparmor_parser -K -a;\n      pf=\"$pf//x\";\n  done\n  $ echo -n a > /sys/kernel/security/apparmor/.remove\n\nReplace the recursive __aa_profile_list_release() approach with an\niterative approach in __remove_profile(). The function repeatedly\nfinds and removes leaf profiles until the entire subtree is removed,\nmaintaining the same removal semantic without recursion.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00188,"percentile":0.08479,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/ea854f032190cc9f26dc4a0e727090c89e55e342","tags":[]},{"url":"https://git.kernel.org/stable/c/4fdc847b107321dec22bf8ecd6019b7af76d7886","tags":[]},{"url":"https://git.kernel.org/stable/c/b36a04284d0208be94e5e401409caa00e2bf1be1","tags":[]},{"url":"https://git.kernel.org/stable/c/33959a491e9fd557abfa5fce5ae4637d400915d3","tags":[]},{"url":"https://git.kernel.org/stable/c/999bd704b0b641527a5ed46f0d969deff8cfa68b","tags":[]},{"url":"https://git.kernel.org/stable/c/7eade846e013cbe8d2dc4a484463aa19e6515c7f","tags":[]},{"url":"https://git.kernel.org/stable/c/a6a941a1294ac5abe22053dc501d25aed96e48fe","tags":[]},{"url":"https://git.kernel.org/stable/c/ab09264660f9de5d05d1ef4e225aa447c63a8747","tags":[]}],"priority":{"score":1.7,"factors":[{"name":"EPSS percentile","points":1.7}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= c88d4c7b049e87998ac0a9f455aa545cc895ef92, < ea854f032190cc9f26dc4a0e727090c89e55e342",">= c88d4c7b049e87998ac0a9f455aa545cc895ef92, < 4fdc847b107321dec22bf8ecd6019b7af76d7886",">= c88d4c7b049e87998ac0a9f455aa545cc895ef92, < b36a04284d0208be94e5e401409caa00e2bf1be1",">= c88d4c7b049e87998ac0a9f455aa545cc895ef92, < 33959a491e9fd557abfa5fce5ae4637d400915d3",">= c88d4c7b049e87998ac0a9f455aa545cc895ef92, < 999bd704b0b641527a5ed46f0d969deff8cfa68b",">= c88d4c7b049e87998ac0a9f455aa545cc895ef92, < 7eade846e013cbe8d2dc4a484463aa19e6515c7f",">= c88d4c7b049e87998ac0a9f455aa545cc895ef92, < a6a941a1294ac5abe22053dc501d25aed96e48fe",">= c88d4c7b049e87998ac0a9f455aa545cc895ef92, < ab09264660f9de5d05d1ef4e225aa447c63a8747"]},{"vendor":"Linux","product":"Linux","versions":["2.6.36"]}],"euvd":{"id":"EUVD-2026-17832","exploited":false,"provenance":"source"}}