CVE-2022-50077: Linux Kernel
Medium severity, CVSS 5.5. EPSS: 0.2% chance of exploitation in the next 30 days.
In the Linux kernel, the following vulnerability has been resolved: apparmor: fix reference count leak in aa_pivotroot() The aa_pivotroot() function has a reference counting bug in a specific path. When aa_replace_current_label() returns on success, the function forgets to decrement the reference count of “target”, which is increased earlier by build_pivotroot(), causing a reference leak. Fix it by decreasing the refcount of “target” in that path.
Affected products
- Linux Linux Kernel: from 4.14.1, before 4.14.291 (fixed in 4.14.291); from 4.15, before 4.19.256 (fixed in 4.19.256); from 4.20, before 5.4.211 (fixed in 5.4.211); from 5.5, before 5.10.138 (fixed in 5.10.138); from 5.11, before 5.15.63 (fixed in 5.15.63); from 5.16, before 5.19.4 (fixed in 5.19.4); …
Published 2025-06-18. Last modified 2026-06-17.