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: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Incorrect Battery Status Reporting
Action: Assess Impact
AI Analysis

Impact

The kernel driver for the MAX17040 fuel gauge forwards the POWER_SUPPLY_PROP_STATUS property to a supplier power supply. When no supplier is registered, the lookup fails and the driver mistakenly treats the failure as success, resulting in userspace reading an uninitialized status value. This can cause the device to report the battery status as unknown or erroneous, confusing battery management systems without exposing code execution or privilege escalation.

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 a CVSS score of 5.5, indicating moderate severity. The EPSS score is <1%, implying a very low exploitation probability, and it is not listed in CISA KEV. The flaw does not allow an attacker to execute code or exfiltrate data; it only causes userspace to read an uninitialized value, limiting the risk to misreported battery status and potential inconvenience in power management operations.

Generated by OpenCVE AI on August 31, 2026 at 15:56 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 31, 2026 at 15:56 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 31 Aug 2026 14:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-758

Mon, 31 Aug 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-908
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


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

Type Values Removed Values Added
Weaknesses CWE-758

Fri, 28 Aug 2026 14:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-788

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

Severity : Moderate

Publid Date: 2026-08-28T00:00:00Z

Links: CVE-2026-80711 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-31T16:00:06Z

Weaknesses
  • CWE-908

    Use of Uninitialized Resource