CVE-2026-23404

Source
https://cve.org/CVERecord?id=CVE-2026-23404
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-23404.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2026-23404
Downstream
Published
2026-04-01T08:36:35.032Z
Modified
2026-04-02T03:30:31.612566Z
Summary
apparmor: replace recursive profile removal with iterative approach
Details

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 __aaprofilelist_release() approach with an iterative approach in _removeprofile(). The function repeatedly finds and removes leaf profiles until the entire subtree is removed, maintaining the same removal semantic without recursion.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23404.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
c88d4c7b049e87998ac0a9f455aa545cc895ef92
Fixed
33959a491e9fd557abfa5fce5ae4637d400915d3
Fixed
999bd704b0b641527a5ed46f0d969deff8cfa68b
Fixed
7eade846e013cbe8d2dc4a484463aa19e6515c7f
Fixed
a6a941a1294ac5abe22053dc501d25aed96e48fe
Fixed
ab09264660f9de5d05d1ef4e225aa447c63a8747

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-23404.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.6.36
Fixed
6.6.130
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.77
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.18
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
6.19.8

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-23404.json"