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

power: supply: cpcap-battery: Fix missing nvmem_device_put() causing reference leak

In cpcap_battery_detect_battery_type(), the reference to an nvmem
device obtained via nvmem_device_find() is not released with
nvmem_device_put() on the success or read-failure paths, causing a
permanent reference leak. The driver’s retry logic on subsequent
battery property reads can compound this leak, preventing the nvmem
device from ever being freed.

Found by code review.
Published: 2026-08-15
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

In the Linux kernel power supply subsystem, the CPCAP battery driver fails to call nvmem_device_put() after retrieving an nvmem device with nvmem_device_find(). This omission means the reference count for the device never decreases, resulting in a permanent reference leak. Over time the leak can accumulate, exhausting kernel memory resources and potentially degrading system performance or causing crashes. The flaw does not provide a path to arbitrary code execution or unauthorized privilege escalation; its primary danger is the gradual depletion of kernel resources.

Affected Systems

The vulnerability pertains to the Linux kernel’s CPCAP battery driver, which is part of the power supply subsystem. Exact kernel version information is not specified, so any kernel build that includes the unpatched version of this driver is potentially affected. The affected products are generic Linux kernels where the CPCAP battery driver is enabled.

Risk and Exploitability

The security metrics for this vulnerability indicate a CVSS score of 5.5 and an EPSS score of less than 1%. It is not listed in the CISA KEV catalog, which suggests no known public exploitation as of this analysis. The likely attack vector is local; an attacker would need to trigger repeated battery reads or enable the driver on a target device. Because the flaw only consumes kernel resources, the risk is moderate. An attacker could induce resource exhaustion by causing many battery detections, but the vulnerability does not provide direct persistence or elevated privileges.

Generated by OpenCVE AI on August 22, 2026 at 08:29 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the kernel to a version that includes the fix for the CPCAP battery driver
  • If kernel upgrade is not immediately possible, disable the CPCAP battery driver by blacklisting its module or preventing it from loading
  • Implement monitoring to detect long‑term increases in kernel memory usage and validate that the nvmem device reference count returns to normal after battery detections

Generated by OpenCVE AI on August 22, 2026 at 08:29 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 19 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
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


Sat, 15 Aug 2026 19:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-772

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: cpcap-battery: Fix missing nvmem_device_put() causing reference leak In cpcap_battery_detect_battery_type(), the reference to an nvmem device obtained via nvmem_device_find() is not released with nvmem_device_put() on the success or read-failure paths, causing a permanent reference leak. The driver’s retry logic on subsequent battery property reads can compound this leak, preventing the nvmem device from ever being freed. Found by code review.
Title power: supply: cpcap-battery: Fix missing nvmem_device_put() causing reference leak
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-17T05:10:28.814Z

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

Link: CVE-2026-72214

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

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

Modified: 2026-08-17T06:18:22.370

Link: CVE-2026-72214

cve-icon Redhat

Severity : Moderate

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

Links: CVE-2026-72214 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-22T08:30:17Z

Weaknesses
  • CWE-772

    Missing Release of Resource after Effective Lifetime