CVE-2026-80711

power: supply: max17040: handle missing status supplier

State
Published
Severity
Not scored
Published
Aug 28, 2026
Updated
Aug 28, 2026
Reserved
Aug 26, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • f4b782af61ae7bbf93008d5809b0e3a8ac2bb88e to before 91ac995a6f4ddf4f92b231b080544abf23a9b871Affected
  • f4b782af61ae7bbf93008d5809b0e3a8ac2bb88e to before b039f13e095d28a64ca6b21d0ee5440d8b048f37Affected
  • f4b782af61ae7bbf93008d5809b0e3a8ac2bb88e to before ee2ea0c452edc0930e7395b080dccd5a1cb965e1Affected
  • f4b782af61ae7bbf93008d5809b0e3a8ac2bb88e to before 725668c6b6aa3971fe850659102c250d0d676e18Affected
LinuxLinux
  • 6.7Affected
  • before 6.7Not affected
  • 6.12.103 through 6.12.*Not affected
  • 6.18.44 through 6.18.*Not affected
  • 7.1.8 through 7.1.*Not affected
  • 7.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.