Description
In the Linux kernel, the following vulnerability has been resolved:

power: supply: charger-manager: fix refcount leak in is_full_charged()

In is_full_charged(), power_supply_get_by_name() is called to
obtain a reference to the fuel_gauge power supply. If the
voltage check (uV >= desc->fullbatt_uV) succeeds, the function
returns true directly without releasing the reference, leaking
the refcount.

Fix this by setting a flag and jumping to the out label where
power_supply_put() properly drops the reference.
Published: 2026-08-15
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Linux kernel’s charger‑manager module suffers a reference‑count leak in the is_full_charged() function. When the battery voltage reaches or exceeds the full‑charge threshold, the function returns without releasing its reference to the fuel_gauge power supply, incrementally raising the reference count. Over many function invocations the leaked references accumulate, consuming kernel memory and potentially causing a denial‑of‑service by exhausting system resources. This weakness corresponds to improper resource management (CWE‑401).

Affected Systems

All builds of the Linux kernel that include the charger‑manager module before the fix commit (identified in the kernel changelog by commit 193e6471e985c2f25d09b3fe96ec52f4eab89bd4). The bug is present in all upstream kernels that compile the affected code up to the point of the commit. Since the patch was merged into the mainline, any kernel version older than the commit is potentially vulnerable. The issue affects systems running any Linux distribution that ships the unpatched kernel, regardless of vendor.

Risk and Exploitability

The CVSS score for this issue is not disclosed, and no EPSS data is available, so the exploitation probability cannot be quantified. The flaw exists in kernel space and therefore requires kernel‑level privileges or the capability to trigger power events that invoke the function repeatedly. An attacker with such access could provoke the leak by supplying a battery that reports repeated full‑charge thresholds, allowing the reference count to grow until kernel memory is exhausted. The vulnerability is not currently listed in CISA’s KEV catalog, but its potential for local privilege escalation and resource exhaustion warrants prompt remediation.

Generated by OpenCVE AI on August 15, 2026 at 09:52 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that contains the commit that fixes the reference‑count leak in charger‑manager.
  • Reboot or reload the charger_manager kernel module so that the updated code is active.
  • If an immediate kernel upgrade cannot be carried out before reboot, apply a local source patch derived from the commit that adds the missing power_supply_put() call.

Generated by OpenCVE AI on August 15, 2026 at 09:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 15 Aug 2026 10:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-401

Sat, 15 Aug 2026 06:00:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: power: supply: charger-manager: fix refcount leak in is_full_charged() In is_full_charged(), power_supply_get_by_name() is called to obtain a reference to the fuel_gauge power supply. If the voltage check (uV >= desc->fullbatt_uV) succeeds, the function returns true directly without releasing the reference, leaking the refcount. Fix this by setting a flag and jumping to the out label where power_supply_put() properly drops the reference.
Title power: supply: charger-manager: fix refcount leak in is_full_charged()
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-15T05:53:45.189Z

Reserved: 2026-08-09T03:40:39.910Z

Link: CVE-2026-72182

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-15T06:21:36.510

Modified: 2026-08-15T06:21:36.510

Link: CVE-2026-72182

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-15T10:00:06Z

Weaknesses
  • CWE-401

    Missing Release of Memory after Effective Lifetime