CyberRota Analysis
AI-GeneratedThe vulnerability affects the Linux kernel's cpcap-battery driver, where a failure to release a reference to an nvmem device leads to a permanent reference leak. This can result in resource exhaustion over time, potentially impacting system stability and performance. Linux administrators and developers working with affected kernel versions should prioritize addressing this issue to prevent long-term resource depletion.
Original NVD 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.