5.5

CVE-2022-50077: apparmor: fix reference count leak in aa_pivotroot()

Analyzed
AliasesUBUNTU-CVE-2022-50077DEBIAN-CVE-2022-50077
Published 18-06-2025Last modified 11-05-2026

Vulnerability summary

CVE-2022-50077 is a medium (CVSS 5.5) vulnerability in linux. EPSS estimates a 0.19% chance of exploitation in the next 30 days, higher than 9.1% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.5/10
010
Medium · v3.1 (NVD)
EPSS score
0.19%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 4 · Related 4

Timeline

  1. 18-06-2025
    PublishedVulnerability first disclosed.
  2. 11-05-2026
    Last modifiedVulnerability information updated.

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 metrics

4 scores · 3 sources · 2 versions

EPSS trend

Probability

0.19%

Chance of exploitation in the next 30 days

Percentile

9%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.19% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

No weakness data has been published for this record.

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu110 products
  • linux< 4.15.0-197.208 | < 5.4.0-132.148 | < 5.15.0-53.59
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-aws< 4.15.0-1143.155 | < 5.4.0-1089.97 | < 5.15.0-1023.27
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Linux2 products
  • linux≥ 2ea3ffb7782a84da33a8382f13ebd016da50079b, < d53194707d2a1851be027cd74266b96ceff799d3 | ≥ 2ea3ffb7782a84da33a8382f13ebd016da50079b, < f4d5c7796571624e3f380b447ada52834270a287 | ≥ 2ea3ffb7782a84da33a8382f13ebd016da50079b, < ef6fb6f0d0d8440595b45a7e53c6162c737177f4 | ≥ 2ea3ffb7782a84da33a8382f13ebd016da50079b, < 2ceeb3296e9dde1d5772348046affcefdea605e2 | ≥ 2ea3ffb7782a84da33a8382f13ebd016da50079b, < 64103ea357734b82384c925cba4758fdb909be0c | ≥ 2ea3ffb7782a84da33a8382f13ebd016da50079b, < 3ca40ad7afae144169a43988ef1a3f16182faf0a | ≥ 2ea3ffb7782a84da33a8382f13ebd016da50079b, < 11c3627ec6b56c1525013f336f41b79a983b4d46 | 4.14
  • linux_kernelEOL≥ 4.14.1, < 4.14.291 | ≥ 4.15, < 4.19.256 | ≥ 4.20, < 5.4.211 | ≥ 5.5, < 5.10.138 | ≥ 5.11, < 5.15.63 | ≥ 5.16, < 5.19.4 | 4.14 | 4.14:rc2 | 4.14:rc3 | 4.14:rc4 | 4.14:rc5 | 4.14:rc6 | 4.14:rc7 | 4.14:rc8
Debian1 product
  • linux< 6.0.2-1

3 vendors · 113 products

References

10 links