CVE Database
/

CVE-2022-50077

Back to search

CVE-2022-50077

Published: Jun 18, 2025

Modified: May 11, 2026

PUBLISHED

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.

VendorProductVersions

Linux

Linux

affected
2ea3ffb7782a84da33a8382f13ebd016da50079b - < d53194707d2a1851be027cd74266b96ceff799d3
affected
2ea3ffb7782a84da33a8382f13ebd016da50079b - < f4d5c7796571624e3f380b447ada52834270a287
affected
2ea3ffb7782a84da33a8382f13ebd016da50079b - < ef6fb6f0d0d8440595b45a7e53c6162c737177f4
affected
2ea3ffb7782a84da33a8382f13ebd016da50079b - < 2ceeb3296e9dde1d5772348046affcefdea605e2
affected
2ea3ffb7782a84da33a8382f13ebd016da50079b - < 64103ea357734b82384c925cba4758fdb909be0c

+2 more versions

Linux

Linux

affected
4.14
unaffected
0 - < 4.14
unaffected
4.14.291 - <= 4.14.*
unaffected
4.19.256 - <= 4.19.*
unaffected
5.4.211 - <= 5.4.*

+4 more versions

Security Training

Train your team to recognize and prevent security threats with our comprehensive security awareness program.

Start Training

Vulnerability Scanning

Discover vulnerabilities in your applications and infrastructure before attackers do.

Scan Now