CVE-2022-50077
MEDIUM EPSS 5.2%
Published Jun 18, 20251y ago · Modified Jun 17, 20262w ago
5.5 CVSS 3.1
Published Jun 18, 2025 1y ago
Last Modified Jun 17, 2026 2w ago
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.
CVSS Details
Base Score
Exploitability
Impact
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Attack Vector Local
Attack Complexity Low
Privileges Required Low
User Interaction None
Scope Unchanged
Confidentiality None
Integrity None
Availability High
Threat Intelligence
EPSS Exploit Probability
5.2% percentile
Exploit & Patch Status
No Known Exploit
Patch Available
Affected Products 14
| Vendor | Product | Version | Range |
|---|---|---|---|
| linux | linux_kernel | * | ≥4.14.1 – <4.14.291 |
| linux | linux_kernel | * | ≥4.15 – <4.19.256 |
| linux | linux_kernel | * | ≥4.20 – <5.4.211 |
| linux | linux_kernel | * | ≥5.5 – <5.10.138 |
| linux | linux_kernel | * | ≥5.11 – <5.15.63 |
| linux | linux_kernel | * | ≥5.16 – <5.19.4 |
| linux | linux_kernel | 4.14 | any |
| linux | linux_kernel | 4.14 | any |
| linux | linux_kernel | 4.14 | any |
| linux | linux_kernel | 4.14 | any |
| linux | linux_kernel | 4.14 | any |
| linux | linux_kernel | 4.14 | any |
| linux | linux_kernel | 4.14 | any |
| linux | linux_kernel | 4.14 | any |
References 7
- git.kernel.org https://git.kernel.org/stable/c/11c3627ec6b56c1525013f336f41b79a983b4d46
- git.kernel.org https://git.kernel.org/stable/c/2ceeb3296e9dde1d5772348046affcefdea605e2
- git.kernel.org https://git.kernel.org/stable/c/3ca40ad7afae144169a43988ef1a3f16182faf0a
- git.kernel.org https://git.kernel.org/stable/c/64103ea357734b82384c925cba4758fdb909be0c
- git.kernel.org https://git.kernel.org/stable/c/d53194707d2a1851be027cd74266b96ceff799d3
- git.kernel.org https://git.kernel.org/stable/c/ef6fb6f0d0d8440595b45a7e53c6162c737177f4
- git.kernel.org https://git.kernel.org/stable/c/f4d5c7796571624e3f380b447ada52834270a287
Remediation
- git.kernel.org https://git.kernel.org/stable/c/11c3627ec6b56c1525013f336f41b79a983b4d46
- git.kernel.org https://git.kernel.org/stable/c/2ceeb3296e9dde1d5772348046affcefdea605e2
- git.kernel.org https://git.kernel.org/stable/c/3ca40ad7afae144169a43988ef1a3f16182faf0a
- git.kernel.org https://git.kernel.org/stable/c/64103ea357734b82384c925cba4758fdb909be0c
- git.kernel.org https://git.kernel.org/stable/c/d53194707d2a1851be027cd74266b96ceff799d3
- git.kernel.org https://git.kernel.org/stable/c/ef6fb6f0d0d8440595b45a7e53c6162c737177f4
- git.kernel.org https://git.kernel.org/stable/c/f4d5c7796571624e3f380b447ada52834270a287