CVE-2026-23403 Details
Description
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.
A memory leak vulnerability has been identified in the Linux kernel's AppArmor module, specifically within the profile header verification process. The issue arises because the function incorrectly sets the namespace pointer to NULL on each call, which causes a leak of the namespace string allocated in previous iterations when multiple profiles are unpacked. This flaw not only leads to a memory leak but also disrupts the consistency checking of namespaces, as the pointer is always NULL during comparisons. The vulnerability affects the Linux kernel stable tree.
Users can apply the latest patches available in the Linux kernel stable tree to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/42fd831abfc15d0643c14688f0522556b347e7e6 | kernel.org | Patch |
| https://git.kernel.org/stable/c/4f0889f2df1ab99224a5e1ac4e20437eea5fe38e | kernel.org | Patch |
| https://git.kernel.org/stable/c/663ce34786e759ebcbeb3060685c20bcc886d51a | kernel.org | Patch |
| https://git.kernel.org/stable/c/6b79abcb3c985e153fcf9d395e1d4336081aabc2 | kernel.org | Patch |
| https://git.kernel.org/stable/c/786e2c2a87d9c505f33321d1fd23a176aa8ddeb1 | kernel.org | Patch |
| https://git.kernel.org/stable/c/9d678eb0fe55c9195d9a253e8c5b82a87b930737 | kernel.org | Patch |
| https://git.kernel.org/stable/c/bcf82c0c5a8b383fd2d5d8f3fd880cdcab2ac557 | kernel.org | Patch |
| https://git.kernel.org/stable/c/e38c55d9f834e5b848bfed0f5c586aaf45acb825 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-401 | Missing Release of Memory after Effective Lifetime | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 3.12.1, < 5.10.253 >= 5.11, < 5.15.203 >= 5.16, < 6.1.169 >= 6.2, < 6.6.130 >= 6.7, < 6.12.77 >= 6.13, < 6.18.18 >= 6.19, < 6.19.8 3.12 - 7.0 rc1 7.0 rc2 7.0 rc3 7.0 rc4 7.0 rc5 7.0 rc6 7.0 rc7 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Apr 24, 2026 | Initial Analysis | [email protected] |
| Apr 18, 2026 | CVE Modified | kernel.org |
| Apr 1, 2026 | New CVE Received | kernel.org |