CVE-2022-50860 Details
Description
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.
A memory leak vulnerability has been identified in the Linux kernel's AppArmor subsystem, specifically within the namespace allocation function. This issue arises because the 'hname' member of the 'aa_policy' structure, after certain changes, is no longer a valid slab object and cannot be properly freed using the 'kfree_sensitive()' function. Instead, it requires the 'aa_policy_destroy()' function for proper deallocation. The vulnerability affects the Linux kernel stable tree.
The vulnerability has been addressed in the Linux kernel stable tree. Users can upgrade to the latest version to apply the fix.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Dec 30, 2025References 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/0250cf8d37bb5201a117177afd24dc73a1c81657 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/12695b4b76d437b9c0182a6f7dfb2248013a9daf | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/5f509fa740b17307f0cba412485072f632d5af36 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/9a32aa87a25d800b2c6f47bc2749a7bfd9a486f3 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/e9e6fa49dbab6d84c676666f3fe7d360497fd65b | kernel.org | Source CodeVendor |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| Linux kernel | All versions |
CPE
Remediation
| |
| apparmor | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 4, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Dec 30, 2025 | New CVE Received | kernel.org |
Volerion