CVE-2026-23403

MEDIUM

apparmor: fix memory leak in verify_header

Title source: cna
STIX 2.1

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.

Scores

CVSS v3 5.5
EPSS 0.0001
EPSS Percentile 2.3%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Details

CWE
CWE-401
Status published
Products (22)
Linux/Linux < 3.12
Linux/Linux 3.12
Linux/Linux 5.10.253 - 5.10.*
Linux/Linux 5.15.203 - 5.15.*
Linux/Linux 6.1.169 - 6.1.*
Linux/Linux 6.12.77 - 6.12.*
Linux/Linux 6.18.18 - 6.18.*
Linux/Linux 6.19.8 - 6.19.*
Linux/Linux 6.6.130 - 6.6.*
Linux/Linux 7.0
... and 12 more
Published Apr 01, 2026
Tracked Since Apr 01, 2026