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 18BF22D94B7 for ; Thu, 4 Dec 2025 15:33:13 +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=1764862394; cv=none; b=Gb51ucff9pjhtFKLZzBuOJzmfuL640cvyhu0VEtQEG5t0weBYL8kGPlBbL21wtQv5OKr7gbLFJMgK3OGfSqYDlv+Sq19Qf0ADbvmATt/neCAlgtRS4U1cHDgjgXN9I+K5sxKT3/UaruIs/tJObySFGD7AYqQ51YW+/dT+b3OFcA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764862394; c=relaxed/simple; bh=nwwlmb3m3BRUAlqy5g1sFE7XpEDWELIXD8zkE6olujE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=RldbKBqIjM2Wi5ZqmwhITqyHfxa1hdeFjzMYBbKtW2Xg4B66LeP2BqcP0V+/kIsdZykObGhNiX06OWbbKNkl8MYU8FWuWwkmdKnXwdp0l3Xk8mdSb5Q/k8fIqnn4N6e+zzsavuILPKKu5EVvkRi2Y4bdJ0UEQf90SE1lQNTauJ4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=oXg58BB+; 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="oXg58BB+" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2E28EC4CEFB; Thu, 4 Dec 2025 15:33:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1764862393; bh=nwwlmb3m3BRUAlqy5g1sFE7XpEDWELIXD8zkE6olujE=; h=From:To:Cc:Subject:Date:Reply-To:From; b=oXg58BB+qEuezYS4AWWG2RjjGoAlx7Ar2+BBYLKbHeqsPXKKHKjGhtTIHWFUIiXlg C92p0BE7oXmLEuMX2tnEbHWHy/+w3TxhvjAfTuvq9rGkZiH141OJ4QLUzcG4+5J8bZ ZBwZWjhyDwyLZPt9I7hlSF5DcnCkqtxxR2vddS8w= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-40226: firmware: arm_scmi: Account for failed debug initialization Date: Thu, 4 Dec 2025 16:32:01 +0100 Message-ID: <2025120458-CVE-2025-40226-4909@gregkh> X-Mailer: git-send-email 2.52.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=2499; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=HaYCPylwIdN6F29v8foMrkv/2h//R6KueKYJIcB+GMU=; b=owGbwMvMwCRo6H6F97bub03G02pJDJmGK/M/F8f+dJoT0CGQLvj6s17AfwnvKaEdWgV6u95Mj eII4c3tiGVhEGRikBVTZPmyjefo/opDil6Gtqdh5rAygQxh4OIUgIn4v2aY7yn2f0mP0LzDFX/9 o2IrrRa/exJxk2F+QUVlwe6ft+QKKjgaeafelJ5uxL4GAA== 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: firmware: arm_scmi: Account for failed debug initialization When the SCMI debug subsystem fails to initialize, the related debug root will be missing, and the underlying descriptor will be NULL. Handle this fault condition in the SCMI debug helpers that maintain metrics counters. The Linux kernel CVE team has assigned CVE-2025-40226 to this issue. Affected and fixed versions =========================== Issue introduced in 6.6.92 with commit b38812942556819263256cb77fbdc9eae7aa5b1b and fixed in 6.6.115 with commit d719ce9f286c439795cd2beee4c91f12b84bc5a0 Issue introduced in 6.12 with commit 0b3d48c4726e1b20dffd2ff81a9d94d5d930220b and fixed in 6.12.56 with commit e088efcd97cb7c7297d166bb52c3b87a29f6a0b1 Issue introduced in 6.12 with commit 0b3d48c4726e1b20dffd2ff81a9d94d5d930220b and fixed in 6.17.6 with commit 554c9d5c6c695aedaecfb4365c187102709397b0 Issue introduced in 6.12 with commit 0b3d48c4726e1b20dffd2ff81a9d94d5d930220b and fixed in 6.18 with commit 2290ab43b9d8eafb8046387f10a8dfa2b030ba46 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-2025-40226 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/firmware/arm_scmi/common.h drivers/firmware/arm_scmi/driver.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/d719ce9f286c439795cd2beee4c91f12b84bc5a0 https://git.kernel.org/stable/c/e088efcd97cb7c7297d166bb52c3b87a29f6a0b1 https://git.kernel.org/stable/c/554c9d5c6c695aedaecfb4365c187102709397b0 https://git.kernel.org/stable/c/2290ab43b9d8eafb8046387f10a8dfa2b030ba46