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 E17063EF0AA for ; Tue, 6 Oct 2026 10:30:31 +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=1791282633; cv=none; b=X4VUQerF+w45EYhv+dYkJ9ZgsTQybRFHblrqCg/+M+bgN1tb51ldZstIgrQv+GNd3mnd8s0qZmw3UTGNu+vpCQs8zIy8mXPvhq+uU/s2yNBWgzlvxH9mGu3ecPdyAcIoG1sN9y2mHoweoG54nVaFfHdOw3jJe/jqtRG7uWAg/Dk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791282633; c=relaxed/simple; bh=V0WBVsBE7a4aq8c2u/RJjQMZ6cNUBhtueeS55vxb+wA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Ppqy6PFkNFKPtIzb0U6cpe58OdfrQsWEKUNqfUPDO4z23vw1gjXKqYsmW0227mBxxtPLM6N5ejYvLEVHfuqlLPkjt62f9jGXuu+x8IOOS/ZDqRkbDnfwIoeRa38RQiOVOhNVgPNNaoPr/SKFpAwPRanxa82NdT0X08j3mMqnjwQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=g+7ttYwR; 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="g+7ttYwR" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 010751F000FF; Tue, 6 Oct 2026 10:30:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1791282631; bh=9UzenJJKHuREJf9csNsnIS/Kpl0r7TZHqZ2wRWv8R+w=; h=From:To:Cc:Subject:Date:Reply-To; b=g+7ttYwRpZjtSBPnbPjS11TXTDYd9BMPrdRZMREULMEq8G9BxEtgc83IQcDZZ3/Hm 8zX5rx41CAmQepmj7VfEvhO9m74wz5aTkQI4gxfUJjmTQYk8kyTW9DycABmg/UuP2n 0+U+ai47HKYKCPN7OUUkd8De90mHDMsUmQLnoGYo= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98362: clk: scpi: bound-check DVFS index in scpi_dvfs_recalc_rate Date: Tue, 6 Oct 2026 10:47:43 +0200 Message-ID: <2026100621-CVE-2026-98362-ed1c@gregkh> X-Mailer: git-send-email 2.56.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=3544; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=uoUD9ioAjtfLybmrN6d8C9EztlDpziMaJq/Wd4DSwJk=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlHtioeLJmz+KtNtHXOtuZJ59cu/vB0zZxPgXLT3lWfF df9VHutryOWhUGQiUFWTJHlyzaeo/srDil6GdqehpnDygQyhIGLUwAm8uoJw4KZhyycfadwOpsa sS/bwCrr8/nW5GKGBf3/XP79uPhIcC3DNV8V9baI351ytgA= 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: clk: scpi: bound-check DVFS index in scpi_dvfs_recalc_rate dvfs_get_idx() may return an out-of-range index if the SCP firmware is buggy or returns a stale value. Only negative indexes were rejected, so a large index walked past info->opps and could treat garbage as a clock rate (KASAN OOB / wrong frequency to consumers). The missing upper bound dates back to the original SCPI clock driver. Treat indexes >= opp count as invalid and return 0, same as idx < 0. The Linux kernel CVE team has assigned CVE-2026-98362 to this issue. Affected and fixed versions =========================== Issue introduced in 4.4 with commit cd52c2a4b5c43631e429d06dce12e08b0cab477f and fixed in 5.10.271 with commit 6e3b55823da8ef0d99621efb422cc29f50d7f280 Issue introduced in 4.4 with commit cd52c2a4b5c43631e429d06dce12e08b0cab477f and fixed in 5.15.222 with commit 7204095917aeaac89db7377c29a457351a19b076 Issue introduced in 4.4 with commit cd52c2a4b5c43631e429d06dce12e08b0cab477f and fixed in 6.1.189 with commit 0f89e2ac0e945da2ce798f6a61aebf9d291c2e0a Issue introduced in 4.4 with commit cd52c2a4b5c43631e429d06dce12e08b0cab477f and fixed in 6.6.158 with commit 56b7a9d89c67932bf11b71e3b6d17941fc24a393 Issue introduced in 4.4 with commit cd52c2a4b5c43631e429d06dce12e08b0cab477f and fixed in 6.12.112 with commit a82b274697d0876b478594ca78ad1e6cb062467b Issue introduced in 4.4 with commit cd52c2a4b5c43631e429d06dce12e08b0cab477f and fixed in 6.18.54 with commit e1188332a9110cf3635fe286481ee38305b3c2b6 Issue introduced in 4.4 with commit cd52c2a4b5c43631e429d06dce12e08b0cab477f and fixed in 7.2.8 with commit 108c46e8dacc4a0e472a74f98171115d49cbc079 Issue introduced in 4.4 with commit cd52c2a4b5c43631e429d06dce12e08b0cab477f and fixed in 7.3-rc4 with commit 70f4b78d560e592cbf3325b162424737d032fc1d 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-98362 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/clk-scpi.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/6e3b55823da8ef0d99621efb422cc29f50d7f280 https://git.kernel.org/stable/c/7204095917aeaac89db7377c29a457351a19b076 https://git.kernel.org/stable/c/0f89e2ac0e945da2ce798f6a61aebf9d291c2e0a https://git.kernel.org/stable/c/56b7a9d89c67932bf11b71e3b6d17941fc24a393 https://git.kernel.org/stable/c/a82b274697d0876b478594ca78ad1e6cb062467b https://git.kernel.org/stable/c/e1188332a9110cf3635fe286481ee38305b3c2b6 https://git.kernel.org/stable/c/108c46e8dacc4a0e472a74f98171115d49cbc079 https://git.kernel.org/stable/c/70f4b78d560e592cbf3325b162424737d032fc1d