CVE-2026-72214

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

State
Published
Severity
Not scored
Published
Aug 15, 2026
Updated
Aug 17, 2026
Reserved
Aug 9, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • fd46821e85de90fb5b7356251164af4815b6e3f6 to before fc65520fe0781a1ff46631f111e07b4a1c677b96Affected
  • fd46821e85de90fb5b7356251164af4815b6e3f6 to before 700c225d829a1256b59053c34a1a9d1a6ab70b09Affected
  • fd46821e85de90fb5b7356251164af4815b6e3f6 to before deaf6b3f8187231ad8f7770b10ed0be2cd47e9b2Affected
  • fd46821e85de90fb5b7356251164af4815b6e3f6 to before a3d81de441233a92ec21469cd0c4eb3c26b95cd8Affected
  • fd46821e85de90fb5b7356251164af4815b6e3f6 to before b56a5cbf8f1f1a5740f1137c89b14d0373309d8dAffected
  • fd46821e85de90fb5b7356251164af4815b6e3f6 to before a2c14ff63e0e02e3c832385e523e9cc81301171cAffected
LinuxLinux
  • 5.18Affected
  • before 5.18Not affected
  • 6.1.178 through 6.1.*Not affected
  • 6.6.145 through 6.6.*Not affected
  • 6.12.97 through 6.12.*Not affected
  • 6.18.40 through 6.18.*Not affected
  • 7.1.5 through 7.1.*Not affected
  • 7.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.