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.
Published: 2026-08-28
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The kernel driver for the MAX17040 fuel gauge forwards the power supply status property to a supplier supply device. When no supplier is registered, the lookup fails but the driver mistakenly treats the failure as a successful operation. As a result, userspace receives an uninitialized status value, which can confuse battery management systems and may cause the device to behave as if the battery status is unknown or erroneous. This flaw does not provide remote code execution or significant privilege escalation but can lead to incorrect power state information in user-space applications.

Affected Systems

Linux kernel users that operate the MAX17040 fuel gauge driver, particularly those without a configured charger state supplier in their firmware. No specific kernel version range is listed in the available data, so any production kernel that includes this driver without the patch is potentially affected.

Risk and Exploitability

The vulnerability has no CVSS or EPSS data available and is not listed in the CISA KEV catalog. The flaw does not allow an attacker to execute code or exfiltrate sensitive data; it only causes userspace to read an uninitialized value. Consequently, the risk is considered low, limited to misreported battery status and potential inconvenience in power management operations.

Generated by OpenCVE AI on August 28, 2026 at 10:27 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply a kernel update that includes the patch to the MAX17040 driver, ensuring the status lookup correctly propagates errors and returns POWER_SUPPLY_STATUS_UNKNOWN when no supplier is present.
  • Configure the firmware or hardware to provide a proper power supply supplier that supplies status information, or modify the driver configuration to disable status forwarding when a supplier is absent.
  • If an immediate kernel update is not feasible, monitor battery status logs for anomalous or zero values and consider disabling the MAX17040 status reporting on affected devices until a proper fix is applied.

Generated by OpenCVE AI on August 28, 2026 at 10:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 28 Aug 2026 10:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-788

Fri, 28 Aug 2026 07:30:00 +0000

Type Values Removed Values Added
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.
Title power: supply: max17040: handle missing status supplier
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-28T06:53:10.631Z

Reserved: 2026-08-26T14:34:25.788Z

Link: CVE-2026-80711

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-28T08:16:56.740

Modified: 2026-08-28T08:16:56.740

Link: CVE-2026-80711

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-28T10:30:17Z

Weaknesses
  • CWE-788

    Access of Memory Location After End of Buffer