apparmor: replace recursive profile removal with iterative approach (Linux Linux)

CVE-2026-23404
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.18 % · percentile 8 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

Description

In the Linux kernel, the following vulnerability has been resolved: apparmor: replace recursive profile removal with iterative approach The profile removal code uses recursion when removing nested profiles, which can lead to kernel stack exhaustion and system crashes. Reproducer: $ pf='a'; for ((i=0; i<1024; i++)); do echo -e "profile $pf { \n }" | apparmor_parser -K -a; pf="$pf//x"; done $ echo -n a > /sys/kernel/security/apparmor/.remove Replace the recursive __aa_profile_list_release() approach with an iterative approach in __remove_profile(). The function repeatedly finds and removes leaf profiles until the entire subtree is removed, maintaining the same removal semantic without recursion.

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected c88d4c7b049e87998ac0a9f455aa545cc895ef92 < ea854f032190cc9f26dc4a0e727090c89e55e342 ; affected c88d4c7b049e87998ac0a9f455aa545cc895ef92 < 4fdc847b107321dec22bf8ecd6019b7af76d7886 ; affected c88d4c7b049e87998ac0a9f455aa545cc895ef92 < b36a04284d0208be94e5e401409caa00e2bf1be1 ; affected c88d4c7b049e87998ac0a9f455aa545cc895ef92 < 33959a491e9fd557abfa5fce5ae4637d400915d3 ; affected c88d4c7b049e87998ac0a9f455aa545cc895ef92 < 999bd704b0b641527a5ed46f0d969deff8cfa68b ; affected c88d4c7b049e87998ac0a9f455aa545cc895ef92 < 7eade846e013cbe8d2dc4a484463aa19e6515c7f
Linux · Linuxaffected 2.6.36 ; unaffected 0 < 2.6.36 ; unaffected 5.10.253 ≤ 5.10.* ; unaffected 5.15.203 ≤ 5.15.* ; unaffected 6.1.169 ≤ 6.1.* ; unaffected 6.6.130 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD