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 955373815CF for ; Sat, 15 Aug 2026 06:32:20 +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=1786775541; cv=none; b=Yy3sHRy3bY/HhuCfdM4cTRh9byJpRwEmIEib4qkMiRSOlG8zIGDZlDCa5MKQwcqd1l90WNRt1iFl11FkAw+vSGFd+J/rmNB/uwG2w55logkI+FNFO0f/RZsumofUb5nYZVBjAppng0GKk59iT8CaJoahKdliHDQAZCNM6JCd3PM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786775541; c=relaxed/simple; bh=jhQ4Cw8AMfwuwrO/KatjFdU+MtA9tLsYdCa/FmWlNZg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Kil2BqjgfwQB2AHuWoE6oU7onMm+BgmfzJLeruUq81HdhwC5ETCI/TV3j+LpISPs6nnDiRV5xaGSnjMwMf684/iqHWSI2ECfEtkpMBImzPthnnGmBaroR+eCy8kqntPwKdxlXH+DxpFQ1bF2UJ7SBxrrvEZIUNik7Po/KN1KvzI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=qxtWs9mm; 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="qxtWs9mm" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E2C8C1F000E9; Sat, 15 Aug 2026 06:32:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786775540; bh=tuGEWBShfuoW8ry7e9ptQeMDBu2IIEDF3fzHjMxknqM=; h=From:To:Cc:Subject:Date:Reply-To; b=qxtWs9mm6tV+stODouYzgFJ1/oxtJQ8es1AXSOwgwsslpAY4x3/q177JWCrqn+EUX Z1oW86jbbl4Kf3wzsIdREV5SN1bptCg3Yo85ZfcGJr2D0bUdo5LGapSGbFdHecEuHe nPNh97AfG7/vlgjdYPVKoK31hVxLYUdjmlJT5pCg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-74271: power: supply: core: fix supplied_from allocations Date: Sat, 15 Aug 2026 15:09:58 +0900 Message-ID: <2026081544-CVE-2026-74271-3497@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=2862; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=UcWeG+3ouvPwc4yATJNeMzcV7oiAkplSumixpMGAI/k=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkNjCxJP19qPlv/c8aL3jsZ1sKGN3OlbaW3mthb6LAaK jD/+ba3I5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACai851hwTHt6f+zMr5MOTfp yPRZge1fzZrcFRjmSsZ+N7JVkRK5ySSx0JMzZmPlnn1yAA== 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: power: supply: core: fix supplied_from allocations If dts property power-supplies has multiple values, then accessing to psy->supplied_from[i-1] in __power_supply_populate_supplied_from will overrun supplied_from array. The Linux kernel CVE team has assigned CVE-2026-74271 to this issue. Affected and fixed versions =========================== Issue introduced in 3.10 with commit f6e0b081fb300a4601b064346963cf6bb163f437 and fixed in 6.1.178 with commit ae55e4bf18ee0c4c170797dd65e17dbdf644fcf2 Issue introduced in 3.10 with commit f6e0b081fb300a4601b064346963cf6bb163f437 and fixed in 6.6.145 with commit 23a29ee1d9de38b7d6226b27653bc736b28ff05a Issue introduced in 3.10 with commit f6e0b081fb300a4601b064346963cf6bb163f437 and fixed in 6.12.97 with commit fefc9dad30d545be288d50a0b10d00465015fcfe Issue introduced in 3.10 with commit f6e0b081fb300a4601b064346963cf6bb163f437 and fixed in 6.18.40 with commit d0503357653ee62188987a26baa2d7f3689f367e Issue introduced in 3.10 with commit f6e0b081fb300a4601b064346963cf6bb163f437 and fixed in 7.1.5 with commit 14357ba006e1586e4b4e809c074b21baf0aa4c4b Issue introduced in 3.10 with commit f6e0b081fb300a4601b064346963cf6bb163f437 and fixed in 7.2-rc1 with commit ba61aed9a34671222d1149acfc2f0179a9ce7e80 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-74271 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/power_supply_core.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/ae55e4bf18ee0c4c170797dd65e17dbdf644fcf2 https://git.kernel.org/stable/c/23a29ee1d9de38b7d6226b27653bc736b28ff05a https://git.kernel.org/stable/c/fefc9dad30d545be288d50a0b10d00465015fcfe https://git.kernel.org/stable/c/d0503357653ee62188987a26baa2d7f3689f367e https://git.kernel.org/stable/c/14357ba006e1586e4b4e809c074b21baf0aa4c4b https://git.kernel.org/stable/c/ba61aed9a34671222d1149acfc2f0179a9ce7e80