CVE-2026-139537

power: supply: ab8500_fg: Finalize current measurements

Published Nov 30, 2026 CVSS n/a EPSS n/a KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

power: supply: ab8500_fg: Finalize current measurements

ab8500_fg_inst_curr_start() returns with cc_lock held and the CCEOC
IRQ enabled. The bounded sampling loop in the load-compensated voltage
path returns without calling ab8500_fg_inst_curr_finalize() when it
expires, leaving both resources active. The next fuel-gauge work item
then blocks on cc_lock and all cached power-supply values stop updating.

The Samsung-GT-I8530-Gavini, Samsung-GT-S7710-Skomer,
Samsung-SGH-I407-Kyle and Samsung-SGH-T599-Codina-TMO product trees use
a bounded sampling loop in drivers/battery/abb_fuelgauge.c but still
call the finalizer. Follow that pattern so the normal completion timeout
also performs the required cleanup.

Check the start result as well and return an uncompensated voltage if
the instantaneous current transaction cannot be started or completed.

Analysis

AI-generated

Technical impact

The vulnerability originates in the ab8500_fuel gauge driver within the Linux kernel. When a current measurement starts, the driver holds a lock (cc_lock) and permits interrupts. If the bounded sampling loop expires without calling the finalize routine, the lock remains held and the interrupt remains enabled. The next work item for fuel measurement then blocks waiting for cc_lock, causing all cached power-supply values to stop updating. This results in stale battery data and can effectively halt power‑supply reporting, which may trigger service disruptions or erroneous device behavior.

Affected Systems

The issue impacts the Linux kernel’s ab8500 fuel‑gauge module used in various Samsung mobile device trees, including Samsung‑GT‑I8530‑Gavini, Samsung‑GT‑S7710‑Skomer, Samsung‑SGH‑I407‑Kyle and Samsung‑SGH‑T599‑Codina‑TMO, as well as other generic Linux kernel deployments that rely on the same driver code.

Risk and Exploitability

The flaw is not listed in the CISA KEV catalog and no EPSS score is available, indicating limited publicly observed exploitation. It is a local kernel bug that would require privileged code or physical access to the device to trigger. The lack of an available global exploit metric suggests the risk is primarily a potential denial‑of‑service through stale or broken power‑supply readings rather than a remote code execution vector. Given the kernel context, the impact is limited to affected firmware or system images unless the device is compromised by other means.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a release where the ab8500 fuel‑gauge driver is patched to automatically call the finalize routine when the sampling loop expires
  • If an upgrade is not immediately possible, patch the ab8500 driver locally to invoke ab8500_fg_inst_curr_finalize() upon loop timeout, ensuring cc_lock is released
  • As a temporary countermeasure, disable or limit the use of the ab8500 fuel‑gauge work item until the patch can be applied

Generated by OpenCVE AI on November 30, 2026 at 23:04 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-367
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: power: supply: ab8500_fg: Finalize current measurements ab8500_fg_inst_curr_start() returns with cc_lock held and the CCEOC IRQ enabled. The bounded sampling loop in the load-compensated voltage path returns without calling ab8500_fg_inst_curr_finalize() when it expires, leaving both resources active. The next fuel-gauge work item then blocks on cc_lock and all cached power-supply values stop updating. The Samsung-GT-I8530-Gavini, Samsung-GT-S7710-Skomer, Samsung-SGH-I407-Kyle and Samsung-SGH-T599-Codina-TMO product trees use a bounded sampling loop in drivers/battery/abb_fuelgauge.c but still call the finalizer. Follow that pattern so the normal completion timeout also performs the required cleanup. Check the start result as well and return an uncompensated voltage if the instantaneous current transaction cannot be started or completed.
Title power: supply: ab8500_fg: Finalize current measurements
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-367

    Time-of-check Time-of-use (TOCTOU) Race Condition

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:35 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:19 PM
Modified
Nov 30, 2026, 2:19 PM