CVE-2026-45869
power: supply: wm97xx: Fix NULL pointer dereference in power_supply_changed()
En bref
- Source
- NVD
- EPSS
- EPSS 0.16 % · centile 5 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- Linux
- Statut NVD
- Analyzed
Description
In the Linux kernel, the following vulnerability has been resolved: power: supply: wm97xx: Fix NULL pointer dereference in power_supply_changed() In `probe()`, `request_irq()` is called before allocating/registering a `power_supply` handle. If an interrupt is fired between the call to `request_irq()` and `power_supply_register()`, the `power_supply` handle will be used uninitialized in `power_supply_changed()` in `wm97xx_bat_update()` (triggered from the interrupt handler). This will lead to a `NULL` pointer dereference since Fix this racy `NULL` pointer dereference by making sure the IRQ is requested _after_ the registration of the `power_supply` handle. Since the IRQ is the last thing requests in the `probe()` now, remove the error path for freeing it. Instead add one for unregistering the `power_supply` handle when IRQ request fails.
Faiblesses (CWE)
- CWE-476 — Déréférencement de pointeur nul
Références
- https://git.kernel.org/stable/c/3d7b5391bb95505b3581c1fb77150c467ab92864
- https://git.kernel.org/stable/c/438f9a303ea8b55162b2d5376490c2ab3ec165a0
- https://git.kernel.org/stable/c/9b7d77cb046b4487e8e511e04e62b6f416ce845c
- https://git.kernel.org/stable/c/86183153c299e8bb1839e717286d6c6f39508a59
- https://git.kernel.org/stable/c/93bdf715d33cf5ee01c58e8546c2469c71ce082a
- https://git.kernel.org/stable/c/c0def811ad8d642dca9b6d31a198cc39f5f90837
- https://git.kernel.org/stable/c/dfaf235d5a6b60cbf115a14a656946303ad007b7
- https://git.kernel.org/stable/c/39fe0eac6d755ef215026518985fcf8de9360e9e
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| 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) |
Références européennes
- ENISA EUVD · EUVD-2026-32335
- GCVE · GCVE-0-2026-45869
Avis du CERT-FR
- CERTFR-2026-AVI-1229 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1093 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1064 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0985 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0954 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0927 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0926 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0861 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0831 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0696 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
Configurations affectées (CPE NVD)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 2.6.32 < 5.10.252cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.11 < 5.15.202cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.16 < 6.1.165cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 6.2 < 6.6.128cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 6.7 < 6.12.75cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 6.13 < 6.18.14cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 6.19 < 6.19.4
Produits affectés
| Produit | Versions |
|---|---|
| Linux · Linux | affected 7c87942aef52d2120e95ff1dec739998b9f95a78 < 3d7b5391bb95505b3581c1fb77150c467ab92864 ; affected 7c87942aef52d2120e95ff1dec739998b9f95a78 < 438f9a303ea8b55162b2d5376490c2ab3ec165a0 ; affected 7c87942aef52d2120e95ff1dec739998b9f95a78 < 9b7d77cb046b4487e8e511e04e62b6f416ce845c ; affected 7c87942aef52d2120e95ff1dec739998b9f95a78 < 86183153c299e8bb1839e717286d6c6f39508a59 ; affected 7c87942aef52d2120e95ff1dec739998b9f95a78 < 93bdf715d33cf5ee01c58e8546c2469c71ce082a ; affected 7c87942aef52d2120e95ff1dec739998b9f95a78 < c0def811ad8d642dca9b6d31a198cc39f5f90837 |
| Linux · Linux | affected 2.6.32 ; unaffected 0 < 2.6.32 ; unaffected 5.10.252 ≤ 5.10.* ; unaffected 5.15.202 ≤ 5.15.* ; unaffected 6.1.165 ≤ 6.1.* ; unaffected 6.6.128 ≤ 6.6.* |
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 |