CVE-2026-23408

Source
https://cve.org/CVERecord?id=CVE-2026-23408
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-23408.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2026-23408
Downstream
Published
2026-04-01T08:36:37.873Z
Modified
2026-04-03T11:03:46.624549Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
apparmor: Fix double free of ns_name in aa_replace_profiles()
Details

In the Linux kernel, the following vulnerability has been resolved:

apparmor: Fix double free of nsname in aareplace_profiles()

if nsname is NULL after 1071 error = aaunpack(udata, &lh, &ns_name);

and if ent->nsname contains an nsname in 1089 } else if (ent->ns_name) {

then nsname is assigned the ent->nsname 1095 nsname = ent->nsname;

however ent->nsname is freed at 1262 aaloadentfree(ent);

and then again when freeing nsname at 1270 kfree(nsname);

Fix this by NULLing out ent->nsname after it is transferred to nsname

")

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23408.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
145a0ef21c8e944957f58e2c8ffcd8a10f46266a
Fixed
55ef2af7490aaf72f8ffe11ec44c6bcb7eb2162a
Fixed
86feeccd6b93ed94bd6655f30de80f163f8d5a45
Fixed
7998ab3010d2317643f91828f1853d954ef31387
Fixed
18b5233e860c294a847ee07869d93c0b8673a54b
Fixed
5df0c44e8f5f619d3beb871207aded7c78414502

Database specific

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

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.5.0
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-23408.json"