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 A9FFF45BF1 for ; Wed, 1 May 2024 05:24:03 +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=1714541043; cv=none; b=fQdydedoU8/LxQreBZAiG/h1MOpmTaEihyaqjGNroVL3cVstbr6F83ainSe40c1FXKcNhLYkNJRvTaoF7pJ3jLirvlqX4UL3XrsgkY21ARrVx/RYliUIObG2lNLOJw4UTEky2xg8pEwbPovJlbi09S3nORqc7+MmW80aOz0SX0Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714541043; c=relaxed/simple; bh=nXhVG1Afsr5oDThI5pkyNF294mc2i8hME9XUSrPCxOM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ug8YypHmONVpowJG5C4q3kQJCMm3Tu+W2B4I39J1tgV4TZy2M00qzldcrcU5K242+FS1n8MgZkSbKDCuBXv6hVrtZYPbndNFyW1u6XwfEJXfQo1l6NrFRyIs8vPdJ/Rraw274TibW3VbA8WPkW+IeBpakz9y3uW+uBR4nAkUygQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=wYUn03jS; 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="wYUn03jS" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2F73FC113CC; Wed, 1 May 2024 05:24:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1714541043; bh=nXhVG1Afsr5oDThI5pkyNF294mc2i8hME9XUSrPCxOM=; h=From:To:Cc:Subject:Date:Reply-to:From; b=wYUn03jSCLZpuO/+dV6NeJPpjK0RAFIID4qqkX9cEVdChTNNVK1ustGtpdrvZXTpx WvHGFVyujmgLtC6K/F5vtkpXeLIxaSublgJCRboXnsTxyPUNeblGsD2jJcBfOiMgbZ 3dAfl3ZmbyGWuwfocJOvKV8LaSRsTA7aNuym+Y/M= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-26967: clk: qcom: camcc-sc8280xp: fix terminating of frequency table arrays Date: Wed, 1 May 2024 07:21:57 +0200 Message-ID: <2024050131-CVE-2024-26967-3ccc@gregkh> X-Mailer: git-send-email 2.44.0 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=1977; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=nXhVG1Afsr5oDThI5pkyNF294mc2i8hME9XUSrPCxOM=; b=owGbwMvMwCRo6H6F97bub03G02pJDGmGF6M1/v5s37wmRNfpzP8ZN3RkmmYy/o8/2/P58q8LZ yqU0n53d8SyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEJoUzzDMxXiZ4qzWwvHZ1 tE0c5y6/QIXbHxgWXImb/jjIbNbclHPnC1fsblkccjewBQA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: clk: qcom: camcc-sc8280xp: fix terminating of frequency table arrays The frequency table arrays are supposed to be terminated with an empty element. Add such entry to the end of the arrays where it is missing in order to avoid possible out-of-bound access when the table is traversed by functions like qcom_find_freq() or qcom_find_freq_floor(). Only compile tested. The Linux kernel CVE team has assigned CVE-2024-26967 to this issue. Affected and fixed versions =========================== Issue introduced in 6.8 with commit ff93872a9c61 and fixed in 6.8.3 with commit 93ff48729211 Issue introduced in 6.8 with commit ff93872a9c61 and fixed in 6.9-rc1 with commit 6a3d70f7802a 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-2024-26967 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/clk/qcom/camcc-sc8280xp.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/93ff48729211dae55df5d216023be4528d29babb https://git.kernel.org/stable/c/6a3d70f7802a98e6c28a74f997a264118b9f50cd