{"id":"CVE-2022-50860","published":"2025-12-30T12:15:33Z","modified":"2026-08-05T08:59:49Z","title":"apparmor: Fix memleak in alloc_ns()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\napparmor: Fix memleak in alloc_ns()\n\nAfter changes in commit a1bd627b46d1 (\"apparmor: share profile name on\nreplacement\"), the hname member of struct aa_policy is not valid slab\nobject, but a subset of that, it can not be freed by kfree_sensitive(),\nuse aa_policy_destroy() to fix it.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00201,"percentile":0.09982,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/9a32aa87a25d800b2c6f47bc2749a7bfd9a486f3","tags":[]},{"url":"https://git.kernel.org/stable/c/5f509fa740b17307f0cba412485072f632d5af36","tags":[]},{"url":"https://git.kernel.org/stable/c/0250cf8d37bb5201a117177afd24dc73a1c81657","tags":[]},{"url":"https://git.kernel.org/stable/c/12695b4b76d437b9c0182a6f7dfb2248013a9daf","tags":[]},{"url":"https://git.kernel.org/stable/c/e9e6fa49dbab6d84c676666f3fe7d360497fd65b","tags":[]}],"priority":{"score":7.5,"factors":[{"name":"EPSS percentile","points":2.0},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= a1bd627b46d169268a0ee5960899fb5be960a317, < 9a32aa87a25d800b2c6f47bc2749a7bfd9a486f3",">= a1bd627b46d169268a0ee5960899fb5be960a317, < 5f509fa740b17307f0cba412485072f632d5af36",">= a1bd627b46d169268a0ee5960899fb5be960a317, < 0250cf8d37bb5201a117177afd24dc73a1c81657",">= a1bd627b46d169268a0ee5960899fb5be960a317, < 12695b4b76d437b9c0182a6f7dfb2248013a9daf",">= a1bd627b46d169268a0ee5960899fb5be960a317, < e9e6fa49dbab6d84c676666f3fe7d360497fd65b"]},{"vendor":"Linux","product":"Linux","versions":["4.13"]}],"euvd":{"id":"EUVD-2022-55838","exploited":false,"provenance":"source"}}