Vulnerabilities · 2022 · Linux
CVE-2022-50077
Linux Kernel vulnerability
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 Kernel. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Linux Kernel runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- git.kernel.org/stable/c/11c3627ec6b56c1525013f336f41b79a983b4d46 · Patch
- git.kernel.org/stable/c/2ceeb3296e9dde1d5772348046affcefdea605e2 · Patch
- git.kernel.org/stable/c/3ca40ad7afae144169a43988ef1a3f16182faf0a · Patch
- git.kernel.org/stable/c/64103ea357734b82384c925cba4758fdb909be0c · Patch
- git.kernel.org/stable/c/d53194707d2a1851be027cd74266b96ceff799d3 · Patch
- git.kernel.org/stable/c/ef6fb6f0d0d8440595b45a7e53c6162c737177f4 · Patch
- git.kernel.org/stable/c/f4d5c7796571624e3f380b447ada52834270a287 · Patch
- nvd.nist.gov/vuln/detail/CVE-2022-50077
- cve.org/CVERecord?id=CVE-2022-50077
More vulnerabilities in Linux products
CVE-2026-46300CVE-2025-40364CVE-2025-40325CVE-2025-40300CVE-2025-40114CVE-2025-40014CVE-2025-39989CVE-2025-39967All 12,086
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.