CVE-2022-50077apparmor: fix reference count leak in aa_pivotroot()
- 5.5MediumCVSS base score
- 0.20%Exploitation in 30 daysEPSS · top 90% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By Linux
Published
- 11 months later
· 11 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Analyzed | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.20% · top 90% of all CVEs (17 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.
Affected products
- affected 2ea3ffb7782a84da33a8382f13ebd016da50079b – < d53194707d2a1851be027cd74266b96ceff799d3
- affected 2ea3ffb7782a84da33a8382f13ebd016da50079b – < f4d5c7796571624e3f380b447ada52834270a287
- affected 2ea3ffb7782a84da33a8382f13ebd016da50079b – < ef6fb6f0d0d8440595b45a7e53c6162c737177f4
- affected 2ea3ffb7782a84da33a8382f13ebd016da50079b – < 2ceeb3296e9dde1d5772348046affcefdea605e2
- affected 2ea3ffb7782a84da33a8382f13ebd016da50079b – < 64103ea357734b82384c925cba4758fdb909be0c
- affected 2ea3ffb7782a84da33a8382f13ebd016da50079b – < 3ca40ad7afae144169a43988ef1a3f16182faf0a
- affected 2ea3ffb7782a84da33a8382f13ebd016da50079b – < 11c3627ec6b56c1525013f336f41b79a983b4d46
- affected 4.14
- unaffected < 4.14
- unaffected 4.14.291 – ≤ 4.14.*
- unaffected 4.19.256 – ≤ 4.19.*
- unaffected 5.4.211 – ≤ 5.4.*
- unaffected 5.10.138 – ≤ 5.10.*
- unaffected 5.15.63 – ≤ 5.15.*
- unaffected 5.19.4 – ≤ 5.19.*
- unaffected 6.0 – ≤ *
References
References7
- https://git.kernel.org/stable/c/d53194707d2a1851be027cd74266b96ceff799d3 (opens in a new tab)
- https://git.kernel.org/stable/c/f4d5c7796571624e3f380b447ada52834270a287 (opens in a new tab)
- https://git.kernel.org/stable/c/ef6fb6f0d0d8440595b45a7e53c6162c737177f4 (opens in a new tab)
- https://git.kernel.org/stable/c/2ceeb3296e9dde1d5772348046affcefdea605e2 (opens in a new tab)
- https://git.kernel.org/stable/c/64103ea357734b82384c925cba4758fdb909be0c (opens in a new tab)
- https://git.kernel.org/stable/c/3ca40ad7afae144169a43988ef1a3f16182faf0a (opens in a new tab)
- https://git.kernel.org/stable/c/11c3627ec6b56c1525013f336f41b79a983b4d46 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2022-55346 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2022-50077)Record last updated .