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
Affected Vendors & Products
References
History
Thu, 19 Jun 2025 15:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
cvssV3_1
|
Wed, 18 Jun 2025 11:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | apparmor: fix reference count leak in aa_pivotroot() | |
| References |
|
|
Status: PUBLISHED
Assigner: Linux
Published: 2025-06-18T11:02:20.318Z
Updated: 2025-06-18T11:02:20.318Z
Reserved: 2025-06-18T10:57:27.408Z
Link: CVE-2022-50077
No data.
Status : Awaiting Analysis
Published: 2025-06-18T11:15:36.627
Modified: 2025-06-18T13:47:40.833
Link: CVE-2022-50077