U.S. flag   An official website of the United States government
Dot gov

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Https

Secure .gov websites use HTTPS
A lock (Dot gov) or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.

CVE-2022-50077 Detail

Description

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.


Metrics

NVD enrichment efforts reference publicly available information to associate vector strings. CVSS information contributed by other sources is also displayed.
CVSS 4.0 Severity and Vector Strings:

NIST CVSS score
NIST: NVD
N/A
NVD assessment not yet provided.

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to [email protected].

URL Source(s) Tag(s)
https://git.kernel.org/stable/c/11c3627ec6b56c1525013f336f41b79a983b4d46 kernel.org
https://git.kernel.org/stable/c/2ceeb3296e9dde1d5772348046affcefdea605e2 kernel.org
https://git.kernel.org/stable/c/3ca40ad7afae144169a43988ef1a3f16182faf0a kernel.org
https://git.kernel.org/stable/c/64103ea357734b82384c925cba4758fdb909be0c kernel.org
https://git.kernel.org/stable/c/d53194707d2a1851be027cd74266b96ceff799d3 kernel.org
https://git.kernel.org/stable/c/ef6fb6f0d0d8440595b45a7e53c6162c737177f4 kernel.org
https://git.kernel.org/stable/c/f4d5c7796571624e3f380b447ada52834270a287 kernel.org

Weakness Enumeration

CWE-ID CWE Name Source

Change History

1 change records found show changes

Quick Info

CVE Dictionary Entry:
CVE-2022-50077
NVD Published Date:
06/18/2025
NVD Last Modified:
06/18/2025
Source:
kernel.org