Vulnerability in Linux

CVE-2022-50077

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.

EPSS: 0.002 (5.7th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.

Affected products

References

Frequently asked questions

What is CVE-2022-50077?
CVE-2022-50077 is a medium-severity vulnerability in Linux. CVSS score: 5.5/10. Published 2025-06-18.
How severe is CVE-2022-50077?
Medium severity. CVSS v3 base score is 5.5 out of 10.