Shellfeed logo Shellfeed

CVE-2026-80711 · UNKNOWN

Summary: power: supply: max17040: handle missing status supplier

Details

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.

Affected packages

  • GIT git.kernel.org/pub/scm/linux/kernel/git/stable/linux [f4b782af61ae7bbf93008d5809b0e3a8ac2bb88e – 91ac995a6f4ddf4f92b231b080544abf23a9b871]
  • Linux Kernel [6.7.0 – 6.12.103] [6.13.0 – 6.18.44] [6.19.0 – 7.1.8]

References