power: supply: max17040: handle missing status supplier (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.16 % · percentile 5 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Received
Description
In the Linux kernel, the following vulnerability has been resolved: power: supply: max17040: handle missing status supplier MAX17040 does not report charger state itself, so the driver forwards POWER_SUPPLY_PROP_STATUS to a supplier power supply. If no supplier is registered, power_supply_get_property_from_supplier() returns -ENODEV and leaves the output value untouched. max17040_get_property() currently ignores that error and returns success, so userspace can read an uninitialized status value from the battery power supply. This happens on systems that use the fuel gauge without a charger supplier relationship in firmware. Return POWER_SUPPLY_STATUS_UNKNOWN when no supplier provides STATUS, and propagate other supplier lookup errors.
References
European references
- ENISA EUVD · EUVD-2026-67446
- GCVE · GCVE-0-2026-80711
CERT-FR advisories
- CERTFR-2026-AVI-1232 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected f4b782af61ae7bbf93008d5809b0e3a8ac2bb88e < 91ac995a6f4ddf4f92b231b080544abf23a9b871 ; affected f4b782af61ae7bbf93008d5809b0e3a8ac2bb88e < b039f13e095d28a64ca6b21d0ee5440d8b048f37 ; affected f4b782af61ae7bbf93008d5809b0e3a8ac2bb88e < ee2ea0c452edc0930e7395b080dccd5a1cb965e1 ; affected f4b782af61ae7bbf93008d5809b0e3a8ac2bb88e < 725668c6b6aa3971fe850659102c250d0d676e18 |
| Linux · Linux | affected 6.7 ; unaffected 0 < 6.7 ; unaffected 6.12.103 ≤ 6.12.* ; unaffected 6.18.44 ≤ 6.18.* ; unaffected 7.1.8 ≤ 7.1.* ; unaffected 7.2 ≤ * |
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 |