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.

Affected products

VendorProductVersions
LinuxLinuxfd46821e85de90fb5b7356251164af4815b6e3f6 to <fc65520fe0781a1ff46631f111e07b4a1c677b96; fd46821e85de90fb5b7356251164af4815b6e3f6 to <700c225d829a1256b59053c34a1a9d1a6ab70b09; fd46821e85de90fb5b7356251164af4815b6e3f6 to <deaf6b3f8187231ad8f7770b10ed0be2cd47e9b2; fd46821e85de90fb5b7356251164af4815b6e3f6 to <a3d81de441233a92ec21469cd0c4eb3c26b95cd8; fd46821e85de90fb5b7356251164af4815b6e3f6 to <b56a5cbf8f1f1a5740f1137c89b14d0373309d8d; fd46821e85de90fb5b7356251164af4815b6e3f6 to <a2c14ff63e0e02e3c832385e523e9cc81301171c
LinuxLinux5.18; 0 to <5.18; 6.1.178 to <=6.1.*; 6.6.145 to <=6.6.*; 6.12.97 to <=6.12.*; 6.18.40 to <=6.18.*; 7.1.5 to <=7.1.*; 7.2-rc1 to <=*

References

Authoritative sources

This page is a snapshot. For the latest enrichment and updates, view the record on CVE.org or the NVD.

Generated from the official CVE List on 15 Aug 2026 07:05 UTC.