Bug 2426245 (CVE-2022-50860) - CVE-2022-50860 kernel: apparmor: Fix memleak in alloc_ns()
Summary: CVE-2022-50860 kernel: apparmor: Fix memleak in alloc_ns()
Keywords:
Status: NEW
Alias: CVE-2022-50860
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: 2025-12-30 13:19 UTC by OSIDB Bzimport
Modified: 2025-12-30 22:30 UTC (History)
0 users

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


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-12-30 13:19:05 UTC
In the Linux kernel, the following vulnerability has been resolved:

apparmor: Fix memleak in alloc_ns()

After changes in commit a1bd627b46d1 ("apparmor: share profile name on
replacement"), the hname member of struct aa_policy is not valid slab
object, but a subset of that, it can not be freed by kfree_sensitive(),
use aa_policy_destroy() to fix it.


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