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 7D04547A62 for ; Wed, 1 May 2024 05:24:26 +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=1714541066; cv=none; b=oQWjt1llo+R0ZN/IZ72B5uQwoLS3m1TCpP1s4gFB/nmvovt+oK+UCPqtT4e5Le2eNy0vMV7tq26acfX7jht+J69teQeBQvKWKEpvV9dAqgRDVDSRq5M/TogdtAZTsLIHfaiObbLl6hjFn/C9XwKMacJj5cW436WkZFA0iMk6x7g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714541066; c=relaxed/simple; bh=nQuBEnJQZaRXWRoglBbXETUH1Qgq8VaEz36asW0Ff7U=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=XSZTrVJsQrK0sCXMM3GRcBGraUbicfWv0XWwEk8j8TF+knnFWLBEmpkMOBeLIllOTqkETUX4bvgH6nMd2ZmsT0HSV+22YHhDsFxm+UdWj1dSkl+wUP7g/6rhF71Ad/B7ss5CDbkIbYpTD2yVuHaXSw30TUDQ3jKxcoYWoBI79Yk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=csx+e/Si; 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="csx+e/Si" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 05D6EC113CC; Wed, 1 May 2024 05:24:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1714541066; bh=nQuBEnJQZaRXWRoglBbXETUH1Qgq8VaEz36asW0Ff7U=; h=From:To:Cc:Subject:Date:Reply-to:From; b=csx+e/SiADylhW2CVUphghlzyo1t30NAoHx6FrPS98W0hwfJxUIxhyR4WPWsPbt3a e3FneKh6RjEn8GO8iSYiz6dRgG6Ox5s1hjwt5XahdugFQsoefDiAw6X+GZYSPIVB2S OqVyElCfX5IumTWW1dTh3fhb8898Lqdrt98xbMVI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-26965: clk: qcom: mmcc-msm8974: fix terminating of frequency table arrays Date: Wed, 1 May 2024 07:21:55 +0200 Message-ID: <2024050130-CVE-2024-26965-a43f@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=3186; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=nQuBEnJQZaRXWRoglBbXETUH1Qgq8VaEz36asW0Ff7U=; b=owGbwMvMwCRo6H6F97bub03G02pJDGmGF6MyPTZy9d3qlmOo9GKsa0mt/dpgH/8x96zSVM+Q9 d/8tul0xLIwCDIxyIopsnzZxnN0f8UhRS9D29Mwc1iZQIYwcHEKwESuPGJYsPQcv2xayMQWx8kl 6RqbO4uNpqRZMyzoW5Vsnt4a4nDi3YT5dzct+DCPn/suAA== 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: mmcc-msm8974: 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-26965 to this issue. Affected and fixed versions =========================== Issue introduced in 3.14 with commit d8b212014e69 and fixed in 4.19.312 with commit 99740c4791dc Issue introduced in 3.14 with commit d8b212014e69 and fixed in 5.4.274 with commit 86bf75d9158f Issue introduced in 3.14 with commit d8b212014e69 and fixed in 5.10.215 with commit 3ff4a0f6a8f0 Issue introduced in 3.14 with commit d8b212014e69 and fixed in 5.15.154 with commit 8f562f3b2517 Issue introduced in 3.14 with commit d8b212014e69 and fixed in 6.1.84 with commit 537040c257ab Issue introduced in 3.14 with commit d8b212014e69 and fixed in 6.6.24 with commit 7e9926fef71e Issue introduced in 3.14 with commit d8b212014e69 and fixed in 6.7.12 with commit ae99e199037c Issue introduced in 3.14 with commit d8b212014e69 and fixed in 6.8.3 with commit ca2cf98d4674 Issue introduced in 3.14 with commit d8b212014e69 and fixed in 6.9-rc1 with commit e2c02a85bf53 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-26965 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/mmcc-msm8974.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/99740c4791dc8019b0d758c5389ca6d1c0604d95 https://git.kernel.org/stable/c/86bf75d9158f511db7530bc82a84b19a5134d089 https://git.kernel.org/stable/c/3ff4a0f6a8f0ad4b4ee9e908bdfc3cacb7be4060 https://git.kernel.org/stable/c/8f562f3b25177c2055b20fd8cf000496f6fa9194 https://git.kernel.org/stable/c/537040c257ab4cd0673fbae048f3940c8ea2e589 https://git.kernel.org/stable/c/7e9926fef71e514b4a8ea9d11d5a84d52b181362 https://git.kernel.org/stable/c/ae99e199037c580b7350bfa3596f447a53bcf01f https://git.kernel.org/stable/c/ca2cf98d46748373e830a13d85d215d64a2d9bf2 https://git.kernel.org/stable/c/e2c02a85bf53ae86d79b5fccf0a75ac0b78e0c96