Bug 2453796 (CVE-2026-23403) - CVE-2026-23403 kernel: apparmor: fix memory leak in verify_header
Summary: CVE-2026-23403 kernel: apparmor: fix memory leak in verify_header
Keywords:
Status: NEW
Alias: CVE-2026-23403
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-04-01 10:02 UTC by OSIDB Bzimport
Modified: 2026-04-01 13:39 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-04-01 10:02:12 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.