CVE-2022-50077

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-50077
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50077.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-50077
Downstream
Related
Published
2025-06-18T11:15:36Z
Modified
2025-08-09T20:01:26Z
Summary
[none]
Details

In the Linux kernel, the following vulnerability has been resolved:

apparmor: fix reference count leak in aa_pivotroot()

The aapivotroot() function has a reference counting bug in a specific path. When aareplacecurrentlabel() 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.

References

Affected packages