Back to CVE records
High 7.8Published Dec 30, 2025

CVE-2022-50860apparmor: Fix memleak in alloc_ns()

Updated under an hour ago ()

Does this affect you?

It affects Linux. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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.

CVSS
7.8 HIGH (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness (CWE)
Not given
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
Linux
NVD analysis
Deferred
Record last updated
Aug 5, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
Linux Linux
linux:linux (from the name)
from a1bd627b46d169268a0ee5960899fb5be960a317 before 9a32aa87a25d800b2c6f47bc2749a7bfd9a486f3; from a1bd627b46d169268a0ee5960899fb5be960a317 before 5f509fa740b17307f0cba412485072f632d5af36; from a1bd627b46d169268a0ee5960899fb5be960a317 before 0250cf8d37bb5201a117177afd24dc73a1c81657; from a1bd627b46d169268a0ee5960899fb5be960a317 before 12695b4b76d437b9c0182a6f7dfb2248013a9daf; from a1bd627b46d169268a0ee5960899fb5be960a317 before e9e6fa49dbab6d84c676666f3fe7d360497fd65b
CNA record

References

References

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.