Skip to main content
Network Thinking Solutions Logo

CVE-2022-50077

Linux kernel: apparmor: fix reference count leak in aa_pivotroot()

All CVEs
CVE-2022-50077Published 6/18/2025

Linux kernel: apparmor: fix reference count leak in aa_pivotroot()

Vendor advisory
CVSS5.5Medium

Overview

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.

Published
6/18/2025
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 4.14.1, < 4.14.291

Verify advisory

Source
linux kernel
linux
≥ 4.15, < 4.19.256

Verify advisory

Source
linux kernel
linux
≥ 4.20, < 5.4.211

Verify advisory

Source
linux kernel
linux
≥ 5.5, < 5.10.138

Verify advisory

Source
linux kernel
linux
≥ 5.11, < 5.15.63

Verify advisory

Source
linux kernel
linux
≥ 5.16, < 5.19.4

Verify advisory

Source
linux kernel
linux
4.14

Verify advisory

Source
linux kernel
linux
4.14

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
Linux
Linux
≥ 2ea3ffb7782a84da33a8382f13ebd016da50079b, < d53194707d2a1851be027cd74266b96ceff799d3

Verify advisory

Source
Linux
Linux
≥ 2ea3ffb7782a84da33a8382f13ebd016da50079b, < f4d5c7796571624e3f380b447ada52834270a287

Verify advisory

Source
Linux
Linux
≥ 2ea3ffb7782a84da33a8382f13ebd016da50079b, < ef6fb6f0d0d8440595b45a7e53c6162c737177f4

Verify advisory

Source
Linux
Linux
≥ 2ea3ffb7782a84da33a8382f13ebd016da50079b, < 2ceeb3296e9dde1d5772348046affcefdea605e2

Verify advisory

Source
Linux
Linux
≥ 2ea3ffb7782a84da33a8382f13ebd016da50079b, < 64103ea357734b82384c925cba4758fdb909be0c

Verify advisory

Source
Linux
Linux
≥ 2ea3ffb7782a84da33a8382f13ebd016da50079b, < 3ca40ad7afae144169a43988ef1a3f16182faf0a

Verify advisory

Source
Linux
Linux
≥ 2ea3ffb7782a84da33a8382f13ebd016da50079b, < 11c3627ec6b56c1525013f336f41b79a983b4d46

Verify advisory

Source
Linux
Linux
4.14

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 5.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.