CVE-2026-23404 json
apparmor: replace recursive profile removal with iterative approach
published 2026-04-01 7 mo ago modified 2026-06-17 4 mo ago also EUVD-2026-17832
- cvss
- 5.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 8%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Linux Linux 5.10.253, 5.15.203, 6.1.169, 6.6.130, 6.12.77, 6.18.18, 6.19.8, 7.0
- linux Debian 12 6.1.164-1
- linux Debian 13 6.12.74-2
- linux Debian 14 6.19.6-2
debian advisories DEBIAN-CVE-2026-23404
- linux Ubuntu 22.04 LTS 5.15.0-173.183
- linux Ubuntu 24.04 LTS 6.8.0-106.106
- linux Ubuntu 25.10 6.17.0-19.19
- linux-aws Ubuntu 22.04 LTS 5.15.0-1103.110
- linux-aws Ubuntu 24.04 LTS 6.8.0-1050.53
- linux-aws Ubuntu 25.10 6.17.0-1009.9
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1103.112
- linux-gcp Ubuntu 24.04 LTS 6.8.0-1052.55
ubuntu advisories UBUNTU-CVE-2026-23404
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel-default SLES for SAP 15 SP6, SLES 15 SP6-LTSS, SLE Live Patching 15 SP6 +1 more 6.4.0-150600.23.112.1
- kernel-64kb SLE Module for Basesystem 15 SP7 6.4.0-150700.53.55.1
- kernel-syms SLE Module for Development Tools 15 SP7 6.4.0-150700.53.55.1
- kernel-azure SLE Module for Public Cloud 15 SP7 6.4.0-150700.53.55.1
- kernel-source SLE Module for Development Tools 15 SP7, SLE Module for Basesystem 15 SP7 6.4.0-150700.53.55.1
- kernel-default SLE Workstation Extension 15 SP7, SLE Module for Legacy 15 SP7, SLE Module for Basesystem 15 SP7 +2 more 6.4.0-150700.53.55.1
- kernel-zfcpdump SLE Module for Basesystem 15 SP7 6.4.0-150700.53.55.1
- kernel-obs-build SLE Module for Development Tools 15 SP7 6.4.0-150700.53.55.1
suse advisories SUSE-SU-2026:2195-1SUSE-SU-2026:2238-1SUSE-SU-2026:21834-1
- git.kernel.org/stable/c/ea854f032190cc9f26dc4a0e727090c89e55e342 commit
- git.kernel.org/stable/c/4fdc847b107321dec22bf8ecd6019b7af76d7886 commit
- git.kernel.org/stable/c/b36a04284d0208be94e5e401409caa00e2bf1be1 commit
- git.kernel.org/stable/c/33959a491e9fd557abfa5fce5ae4637d400915d3 commit
- git.kernel.org/stable/c/999bd704b0b641527a5ed46f0d969deff8cfa68b commit
- git.kernel.org/stable/c/7eade846e013cbe8d2dc4a484463aa19e6515c7f commit
- git.kernel.org/stable/c/a6a941a1294ac5abe22053dc501d25aed96e48fe commit
- git.kernel.org/stable/c/ab09264660f9de5d05d1ef4e225aa447c63a8747 commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-23404 updated
kernel: apparmor: replace recursive profile removal with iterative approach
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 more Red Hat Enterprise Linux 10 kernelnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.18% chance of exploitation in the next 30 days, higher than 8% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected products
- Linux Linux
Classification
- Technology feeds
References
-
git.kernel.org
/stable/c/ea854f032190cc9f26dc4a0e727090c89e55e342
patch
-
git.kernel.org
/stable/c/4fdc847b107321dec22bf8ecd6019b7af76d7886
patch
-
git.kernel.org
/stable/c/b36a04284d0208be94e5e401409caa00e2bf1be1
patch
-
git.kernel.org
/stable/c/33959a491e9fd557abfa5fce5ae4637d400915d3
patch
-
git.kernel.org
/stable/c/999bd704b0b641527a5ed46f0d969deff8cfa68b
patch
-
git.kernel.org
/stable/c/7eade846e013cbe8d2dc4a484463aa19e6515c7f
patch
-
git.kernel.org
/stable/c/a6a941a1294ac5abe22053dc501d25aed96e48fe
patch
-
git.kernel.org
/stable/c/ab09264660f9de5d05d1ef4e225aa447c63a8747
patch
Sources
- CVE List CVE-2026-23404
- NVD CVE-2026-23404
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.