Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 6546F3A543D for ; Wed, 25 Mar 2026 10:28:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774434518; cv=none; b=NloV571+2IaHxm5btJwUPllPeJ9OyGyKFs0UauqMbhey0cc/VMG1/rNWL5ebgubb0KStFb9PG0laYMpxGhrqF/pCI1TJ5Tb/ulFlQVkEgAgZHBjDoQ8lWcYUF2MGKliJSVQSDV0Ii71Xak7pkFysvrq2JSCdOJ9dG9VFIP089h4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774434518; c=relaxed/simple; bh=Pgsuk7RGo4fAxntWheVaJMur5VYYSZFCsnH7grVv63E=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=N+nSIAatFZB5tDwNAapYa67yBpb+HggeRjZP67uZ4KovEqxuO2d5c9CWGjLojVpG1S69NKH5FYo2DydiSsLQUz0HRsShFAxtcUW0d4oWiVHvSdzn4IONsUtXcGeN+ajryLt3gY/+orKHotn/IC+Nf8Qgurj/vicm1OTxdhSefLk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=sOHZuHTC; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="sOHZuHTC" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A7028C4CEF7; Wed, 25 Mar 2026 10:28:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1774434518; bh=Pgsuk7RGo4fAxntWheVaJMur5VYYSZFCsnH7grVv63E=; h=From:To:Cc:Subject:Date:Reply-To:From; b=sOHZuHTC1ZPtBHE67TSwu94OLYGwr2/pRYjZzSv0OzNQrda1UBI+EGzhuH3e+I7nl 1VeA4QOIUUuUNQvp1L9N/9WtIgW04WelEzYp8tnJ+qjgF1063HEyQhd+IrOaLwtIT9 l3mUEar2Dy3FiChldBZFHKHcCLpSfYLI0dOWHTKU= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-23314: regulator: bq257xx: Fix device node reference leak in bq257xx_reg_dt_parse_gpio() Date: Wed, 25 Mar 2026 11:26:58 +0100 Message-ID: <2026032529-CVE-2026-23314-166c@gregkh> X-Mailer: git-send-email 2.53.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=2180; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=YRnUOI2jTwH6WrPQp3vn6KF4ThPk0BJkPCMAqOAXChg=; b=kA0DAAIRMUfUDdst+ykByyZiAGnDuFWhgm2Chco7rSNGIdyWzbnldLG9FfqM/xo8NCA7QUgdZ IhdBAARAgAdFiEE9LYMxb94wiFKMT3LMUfUDdst+ykFAmnDuFUACgkQMUfUDdst+ykknQCfacXI 6mtbIW9ZF66HdVx/t5UQ060AoLeqjqWObmrvR/+t5p2PEX23kEkV X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: regulator: bq257xx: Fix device node reference leak in bq257xx_reg_dt_parse_gpio() In bq257xx_reg_dt_parse_gpio(), if fails to get subchild, it returns without calling of_node_put(child), causing the device node reference leak. The Linux kernel CVE team has assigned CVE-2026-23314 to this issue. Affected and fixed versions =========================== Issue introduced in 6.18 with commit 981dd162b63578aee34b5c68795e246734b76d70 and fixed in 6.18.17 with commit 93b64bef8cd4074806d981ed1b4c38c3ae0542e3 Issue introduced in 6.18 with commit 981dd162b63578aee34b5c68795e246734b76d70 and fixed in 6.19.7 with commit aba54a5a113667df9d339f4192650f6bc27e9d1f Issue introduced in 6.18 with commit 981dd162b63578aee34b5c68795e246734b76d70 and fixed in 7.0-rc2 with commit 4baaddaa44af01cd4ce239493060738fd0881835 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-23314 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/regulator/bq257xx-regulator.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/93b64bef8cd4074806d981ed1b4c38c3ae0542e3 https://git.kernel.org/stable/c/aba54a5a113667df9d339f4192650f6bc27e9d1f https://git.kernel.org/stable/c/4baaddaa44af01cd4ce239493060738fd0881835