power: supply: cpcap-battery: Fix missing nvmem_device_put() causing reference leak (Linux Linux)
En bref
- Source
- NVD
- EPSS
- EPSS 0.21 % · centile 12 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- Linux
- Produits affectés
- Linux · Linux
- Statut NVD
- Received
Rechercher sur…
Description
In the Linux kernel, the following vulnerability has been resolved: power: supply: cpcap-battery: Fix missing nvmem_device_put() causing reference leak In cpcap_battery_detect_battery_type(), the reference to an nvmem device obtained via nvmem_device_find() is not released with nvmem_device_put() on the success or read-failure paths, causing a permanent reference leak. The driver’s retry logic on subsequent battery property reads can compound this leak, preventing the nvmem device from ever being freed. Found by code review.
Références
- https://git.kernel.org/stable/c/fc65520fe0781a1ff46631f111e07b4a1c677b96
- https://git.kernel.org/stable/c/700c225d829a1256b59053c34a1a9d1a6ab70b09
- https://git.kernel.org/stable/c/deaf6b3f8187231ad8f7770b10ed0be2cd47e9b2
- https://git.kernel.org/stable/c/a3d81de441233a92ec21469cd0c4eb3c26b95cd8
- https://git.kernel.org/stable/c/b56a5cbf8f1f1a5740f1137c89b14d0373309d8d
- https://git.kernel.org/stable/c/a2c14ff63e0e02e3c832385e523e9cc81301171c
Références européennes
- ENISA EUVD · EUVD-2026-58972
- GCVE · GCVE-0-2026-72214
Avis du CERT-FR
- CERTFR-2026-AVI-1596 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1593 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1537 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1535 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1470 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1385 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1333 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1286 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
Produits affectés
| Produit | Versions affectées |
|---|---|
| Linux · Linux | affectée : ≥ fd46821e85de90fb5b7356251164af4815b6e3f6 < fc65520fe0781a1ff46631f111e07b4a1c677b96 affectée : ≥ fd46821e85de90fb5b7356251164af4815b6e3f6 < 700c225d829a1256b59053c34a1a9d1a6ab70b09 affectée : ≥ fd46821e85de90fb5b7356251164af4815b6e3f6 < deaf6b3f8187231ad8f7770b10ed0be2cd47e9b2 affectée : ≥ fd46821e85de90fb5b7356251164af4815b6e3f6 < a3d81de441233a92ec21469cd0c4eb3c26b95cd8 affectée : ≥ fd46821e85de90fb5b7356251164af4815b6e3f6 < b56a5cbf8f1f1a5740f1137c89b14d0373309d8d affectée : ≥ fd46821e85de90fb5b7356251164af4815b6e3f6 < a2c14ff63e0e02e3c832385e523e9cc81301171c Autres versions : non affectée |
| Linux · Linux | affectée : 5.18 non affectée : ≥ 0 < 5.18 non affectée : ≥ 6.1.178 ≤ 6.1.* non affectée : ≥ 6.6.145 ≤ 6.6.* non affectée : ≥ 6.12.97 ≤ 6.12.* non affectée : ≥ 6.18.40 ≤ 6.18.* non affectée : ≥ 7.1.5 ≤ 7.1.* non affectée : ≥ 7.2 ≤ * Autres versions : affectée |
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 |