CVE-2022-50077
MEDIUMLinux Kernel - Reference Count Leak in aa_pivotroot()
Title source: llmDescription
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.
References (7)
Core 7
Core References
Scores
CVSS v3
5.5
EPSS
0.0016
EPSS Percentile
5.8%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Details
Status
published
Products (24)
linux/Kernel
4.14.0 - 4.14.291linux
linux/Kernel
4.15.0 - 4.19.256linux
linux/Kernel
4.20.0 - 5.4.211linux
linux/Kernel
5.11.0 - 5.15.63linux
linux/Kernel
5.16.0 - 5.19.4linux
linux/Kernel
5.5.0 - 5.10.138linux
Linux/Linux
< 4.14
Linux/Linux
2ea3ffb7782a84da33a8382f13ebd016da50079b - 11c3627ec6b56c1525013f336f41b79a983b4d46
Linux/Linux
2ea3ffb7782a84da33a8382f13ebd016da50079b - 2ceeb3296e9dde1d5772348046affcefdea605e2
Linux/Linux
2ea3ffb7782a84da33a8382f13ebd016da50079b - 3ca40ad7afae144169a43988ef1a3f16182faf0a
... and 14 more
Published
Jun 18, 2025
Tracked Since
Feb 18, 2026