Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E847B368D5A for ; Sat, 15 Aug 2026 06:18:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786774732; cv=none; b=V36EjL+RVlPkG5Fzbtte6uvY+iG4NGXd801i2hqTjryLDBhEAn3Q9sagVAITfdkxw1mr4uXY2n7qdnCMEZHhBfbCcVckatczoatO/RIzqY90xuD4t98e4g2tdm5iiIeehFfXoKhowY5UZA4/HSyUAuYEd0fmSZ7zvN6TpeM9Eyw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786774732; c=relaxed/simple; bh=emFpC0Bqt9JP8fYK2qmFui5iWhfJjeYOQ+oao/9Nrb8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=m4Nm2AG8QPMqdQf9ee/NO7EmGHXc98KEk1UroxAB8Lm6HJbJkq08mSP4YrxXkLWPOFnDoVaMz8TVqFRo9tHN5VUU9GDhrNrZspjXV0ldaguHrNRYoxrhG+at0yEEP1EjjOWPPN7W8GNm8hMOZAKW/KIZnQFYvQImyL+wjWKVHAc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=A1M/K84T; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="A1M/K84T" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4B6951F000E9; Sat, 15 Aug 2026 06:18:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786774730; bh=cXtjCMx0uSppP3Z6AQq3cBI3aqNra3wIwqJMcbE4nC8=; h=From:To:Cc:Subject:Date:Reply-To; b=A1M/K84TuM9g7wQa1igBDLq2atzfJbEH5zeWXBUrOOagG/F3Nmtpah7Df45w+S0Dx MNFKjJF5t06rQmZ1f2Zh8JBZVEh12XjfASaWypkkD+m+1acOvozr0175nrAsgOHX1F A5Xu9/O2hvcWENQWNvT5VVyz+mBrZpdtcPBlEIa8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-72214: power: supply: cpcap-battery: Fix missing nvmem_device_put() causing reference leak Date: Sat, 15 Aug 2026 15:04:53 +0900 Message-ID: <2026081546-CVE-2026-72214-1711@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3109; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=EnzBihql2GR39diaztRgTNwudSts5jM7tRv22n9vopQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkNDKeOZMz7LHZrs/oP9wzNvcu2P/+2xOfc7HOpZsWpH xPEF7s964hlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJaLExLNhaeXj67Yi4w2kr 2P32JZc5vf0T1c+wYCfbtOfznD7K1hi8YGZf4W8dIR/yEgA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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. The Linux kernel CVE team has assigned CVE-2026-72214 to this issue. Affected and fixed versions =========================== Issue introduced in 5.18 with commit fd46821e85de90fb5b7356251164af4815b6e3f6 and fixed in 6.1.178 with commit fc65520fe0781a1ff46631f111e07b4a1c677b96 Issue introduced in 5.18 with commit fd46821e85de90fb5b7356251164af4815b6e3f6 and fixed in 6.6.145 with commit 700c225d829a1256b59053c34a1a9d1a6ab70b09 Issue introduced in 5.18 with commit fd46821e85de90fb5b7356251164af4815b6e3f6 and fixed in 6.12.97 with commit deaf6b3f8187231ad8f7770b10ed0be2cd47e9b2 Issue introduced in 5.18 with commit fd46821e85de90fb5b7356251164af4815b6e3f6 and fixed in 6.18.40 with commit a3d81de441233a92ec21469cd0c4eb3c26b95cd8 Issue introduced in 5.18 with commit fd46821e85de90fb5b7356251164af4815b6e3f6 and fixed in 7.1.5 with commit b56a5cbf8f1f1a5740f1137c89b14d0373309d8d Issue introduced in 5.18 with commit fd46821e85de90fb5b7356251164af4815b6e3f6 and fixed in 7.2-rc1 with commit a2c14ff63e0e02e3c832385e523e9cc81301171c Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-72214 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/power/supply/cpcap-battery.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/fc65520fe0781a1ff46631f111e07b4a1c677b96 https://git.kernel.org/stable/c/700c225d829a1256b59053c34a1a9d1a6ab70b09 https://git.kernel.org/stable/c/deaf6b3f8187231ad8f7770b10ed0be2cd47e9b2 https://git.kernel.org/stable/c/a3d81de441233a92ec21469cd0c4eb3c26b95cd8 https://git.kernel.org/stable/c/b56a5cbf8f1f1a5740f1137c89b14d0373309d8d https://git.kernel.org/stable/c/a2c14ff63e0e02e3c832385e523e9cc81301171c