apparmor: fix reference count leak in aa_pivotroot() (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.19 % · percentile 9 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Analyzed
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.
References
- https://git.kernel.org/stable/c/d53194707d2a1851be027cd74266b96ceff799d3
- https://git.kernel.org/stable/c/f4d5c7796571624e3f380b447ada52834270a287
- https://git.kernel.org/stable/c/ef6fb6f0d0d8440595b45a7e53c6162c737177f4
- https://git.kernel.org/stable/c/2ceeb3296e9dde1d5772348046affcefdea605e2
- https://git.kernel.org/stable/c/64103ea357734b82384c925cba4758fdb909be0c
- https://git.kernel.org/stable/c/3ca40ad7afae144169a43988ef1a3f16182faf0a
- https://git.kernel.org/stable/c/11c3627ec6b56c1525013f336f41b79a983b4d46
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | NVD · nvd@nist.gov (Primary) |
European references
- ENISA EUVD · EUVD-2022-55346
- GCVE · GCVE-0-2022-50077
CERT-FR advisories
- CERTFR-2026-AVI-0081 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2025-AVI-1009 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2025-AVI-0649 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2025-AVI-0607 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2025-AVI-0587 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 4.14.1 < 4.14.291cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 4.15 < 4.19.256cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 4.20 < 5.4.211cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.5 < 5.10.138cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.11 < 5.15.63cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.16 < 5.19.4cpe:2.3:o:linux:linux_kernel:4.14:-:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:4.14:rc2:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:4.14:rc3:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:4.14:rc4:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:4.14:rc5:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:4.14:rc6:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:4.14:rc7:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:4.14:rc8:*:*:*:*:*:*
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected 2ea3ffb7782a84da33a8382f13ebd016da50079b < d53194707d2a1851be027cd74266b96ceff799d3 ; affected 2ea3ffb7782a84da33a8382f13ebd016da50079b < f4d5c7796571624e3f380b447ada52834270a287 ; affected 2ea3ffb7782a84da33a8382f13ebd016da50079b < ef6fb6f0d0d8440595b45a7e53c6162c737177f4 ; affected 2ea3ffb7782a84da33a8382f13ebd016da50079b < 2ceeb3296e9dde1d5772348046affcefdea605e2 ; affected 2ea3ffb7782a84da33a8382f13ebd016da50079b < 64103ea357734b82384c925cba4758fdb909be0c ; affected 2ea3ffb7782a84da33a8382f13ebd016da50079b < 3ca40ad7afae144169a43988ef1a3f16182faf0a |
| Linux · Linux | affected 4.14 ; unaffected 0 < 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.* |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |