apparmor: fix memory leak in verify_header
In the Linux kernel, the following vulnerability has been resolved: apparmor: fix memory leak in verify_header The function sets `*ns = NULL` on every call, leaking the namespace string allocated in previous iterations when multiple profiles are unpacked. This also breaks namespace consistency checking since *ns is always NULL when the comparison is made. Remove the incorrect assignment. The caller (aa_unpack) initializes *ns to NULL once before the loop, which is sufficient.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 5.10.253, 5.15.203, 6.1.169, 6.12.77, 6.18.18, 6.19.8, 6.6.130
- CVEs
- CVE-2026-23403
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 03:25 UTC · Revision 1
Source evidence
In the Linux kernel, the following vulnerability has been resolved: apparmor: fix memory leak in verify_header The function sets `*ns = NULL` on every call, leaking the namespace string allocated in previous iterations when multiple profiles are unpacked. This also breaks namespace consistency checking since *ns is always NULL when the comparison is made. Remove the incorrect assignment. The caller (aa_unpack) initializes *ns to NULL once before the loop, which is sufficient.
osv:CVE-2026-23403
Kernel
Fixed versions: 5.10.253, 5.15.203, 6.1.169, 6.6.130, 6.12.77, 6.18.18, 6.19.8
Complete source record
{
"id": "7d06dead10f0d9199f2d57a348f8bf65bf0f02e3622cb60a269c277d930d26cd",
"url": "https://osv.dev/vulnerability/CVE-2026-23403",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "apparmor: fix memory leak in verify_header",
"summary": "In the Linux kernel, the following vulnerability has been resolved: apparmor: fix memory leak in verify_header The function sets `*ns = NULL` on every call, leaking the namespace string allocated in previous iterations when multiple profiles are unpacked. This also breaks namespace consistency checking since *ns is always NULL when the comparison is made. Remove the incorrect assignment. The caller (aa_unpack) initializes *ns to NULL once before the loop, which is sufficient.",
"evidence": "osv:CVE-2026-23403",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.10.253",
"evidence": "/affected/1/ranges"
},
{
"value": "5.15.203",
"evidence": "/affected/1/ranges"
},
{
"value": "6.1.169",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.130",
"evidence": "/affected/1/ranges"
},
{
"value": "6.12.77",
"evidence": "/affected/1/ranges"
},
{
"value": "6.18.18",
"evidence": "/affected/1/ranges"
},
{
"value": "6.19.8",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2026-23403",
"aliases": [
"CVE-2026-23403"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "dd51c84857630e77c139afe4d9bba65fc051dc3f"
},
{
"fixed": "9d678eb0fe55c9195d9a253e8c5b82a87b930737"
},
{
"fixed": "6b79abcb3c985e153fcf9d395e1d4336081aabc2"
},
{
"fixed": "bcf82c0c5a8b383fd2d5d8f3fd880cdcab2ac557"
},
{
"fixed": "663ce34786e759ebcbeb3060685c20bcc886d51a"
},
{
"fixed": "786e2c2a87d9c505f33321d1fd23a176aa8ddeb1"
},
{
"fixed": "4f0889f2df1ab99224a5e1ac4e20437eea5fe38e"
},
{
"fixed": "42fd831abfc15d0643c14688f0522556b347e7e6"
},
{
"fixed": "e38c55d9f834e5b848bfed0f5c586aaf45acb825"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-23403.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "3.12.0"
},
{
"fixed": "5.10.253"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.11.0"
},
{
"fixed": "5.15.203"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.16.0"
},
{
"fixed": "6.1.169"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.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"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-23403.json"
}
}
],
"modified": "2026-10-28T02:30:49.752534018Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/42fd831abfc15d0643c14688f0522556b347e7e6",
"https://git.kernel.org/stable/c/4f0889f2df1ab99224a5e1ac4e20437eea5fe38e",
"https://git.kernel.org/stable/c/663ce34786e759ebcbeb3060685c20bcc886d51a",
"https://git.kernel.org/stable/c/6b79abcb3c985e153fcf9d395e1d4336081aabc2",
"https://git.kernel.org/stable/c/786e2c2a87d9c505f33321d1fd23a176aa8ddeb1",
"https://git.kernel.org/stable/c/9d678eb0fe55c9195d9a253e8c5b82a87b930737",
"https://git.kernel.org/stable/c/bcf82c0c5a8b383fd2d5d8f3fd880cdcab2ac557",
"https://git.kernel.org/stable/c/e38c55d9f834e5b848bfed0f5c586aaf45acb825",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23403.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-23403",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23403.json"
}
},
"related_cves": [
{
"value": "CVE-2026-23403",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 517739,
"published_at": "2026-04-01T08:36:34.269+00:00"
}