CVE-2026-23408 json
apparmor: Fix double free of ns_name in aa_replace_profiles()
published 2026-04-01 7 mo ago modified 2026-08-05 3 mo ago also EUVD-2026-17837
- cvss
- 7.8
- version 3.1, CNA
- 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: Fix double free of ns_name in aa_replace_profiles()
if ns_name is NULL after 1071 error = aa_unpack(udata, &lh, &ns_name);
and if ent->ns_name contains an ns_name in 1089 } else if (ent->ns_name) {
then ns_name is assigned the ent->ns_name 1095 ns_name = ent->ns_name;
however ent->ns_name is freed at 1262 aa_load_ent_free(ent);
and then again when freeing ns_name at 1270 kfree(ns_name);
Fix this by NULLing out ent->ns_name after it is transferred to ns_name
")
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-23408
- 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-23408
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/c6347a2116ecccb8fd9ee4ebc75ae41d1d7ef689 commit
- git.kernel.org/stable/c/c053ae381ce227577567d1ef10090ce7506d7a28 commit
- git.kernel.org/stable/c/35f4caec1352054b9a61cfdf2bf1898073637aa0 commit
- git.kernel.org/stable/c/55ef2af7490aaf72f8ffe11ec44c6bcb7eb2162a commit
- git.kernel.org/stable/c/86feeccd6b93ed94bd6655f30de80f163f8d5a45 commit
- git.kernel.org/stable/c/7998ab3010d2317643f91828f1853d954ef31387 commit
- git.kernel.org/stable/c/18b5233e860c294a847ee07869d93c0b8673a54b commit
- git.kernel.org/stable/c/5df0c44e8f5f619d3beb871207aded7c78414502 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-23408 updated
kernel: apparmor: Fix double free of ns_name in aa_replace_profiles()
-
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 |
|---|---|---|---|
| CNA | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected products
- Linux Linux
Classification
- Weakness
-
- CWE-415 Double Free
- Technology feeds
References
-
git.kernel.org
/stable/c/c6347a2116ecccb8fd9ee4ebc75ae41d1d7ef689
patch
-
git.kernel.org
/stable/c/c053ae381ce227577567d1ef10090ce7506d7a28
patch
-
git.kernel.org
/stable/c/35f4caec1352054b9a61cfdf2bf1898073637aa0
patch
-
git.kernel.org
/stable/c/55ef2af7490aaf72f8ffe11ec44c6bcb7eb2162a
patch
-
git.kernel.org
/stable/c/86feeccd6b93ed94bd6655f30de80f163f8d5a45
patch
-
git.kernel.org
/stable/c/7998ab3010d2317643f91828f1853d954ef31387
patch
-
git.kernel.org
/stable/c/18b5233e860c294a847ee07869d93c0b8673a54b
patch
-
git.kernel.org
/stable/c/5df0c44e8f5f619d3beb871207aded7c78414502
patch
Sources
- CVE List CVE-2026-23408
- NVD CVE-2026-23408
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.