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 9D8A13E63AC for ; Tue, 6 Oct 2026 10:30:34 +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=1791282635; cv=none; b=elPaXIkCZYnGOsqeGjxZvZh38Dq+YtZL/gIKjREURBgunBoA+OteoeBEj/odws39CVcHwGw2Ud0PALzZ+zkHx/1+H9eankmS85Fcsdc72UEcXsU/Bh62s8XJZzL+nQycJ80RIU53nnFwi4ie08movPC4vSKIFNbyvTRB94I6UGs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791282635; c=relaxed/simple; bh=VlI8YOPdKlmLjNeCkzt6GABAK5ldR3/9G3BWpy9YHGU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=IqUPwurrAghc8SNP5gFD9oh982z6f+qcoOWu3NEuqd7sOm3aZqBlgtMdjpkeCJDYflx2fUXKaQT3WGPDDViqY2k8OjdaqczcWGdVU6IkALqLif6doKd4z+CqqSbrNybqO/1SsudrW4mcfCZ8WGw3vW4BEWUntjzfK6uI1P4OQlk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=qdZkDKCL; 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="qdZkDKCL" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D5F6D1F000FF; Tue, 6 Oct 2026 10:30:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1791282634; bh=HyuUb6LsyV7jy0ZCkp3xzYlMPitTFZyvsFGEgRsfpSU=; h=From:To:Cc:Subject:Date:Reply-To; b=qdZkDKCLnbdArROwNUnbZeeNfVWj75Z8wZxDba234tnaHGParajvYX99u4ct8RcnV WpEgKiNcBY7mtdZgYjiTY2BA6Pnl73ejKIgnRj1hT1xXiRXmrNR7qD93lSXq4MATro JJmefZMHA5iLCsE2EvX1qdjAmo9e2BnHUDKfmsjc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98363: firmware: arm_scpi: reject DVFS OPP count above MAX_DVFS_OPPS Date: Tue, 6 Oct 2026 10:47:44 +0200 Message-ID: <2026100622-CVE-2026-98363-f028@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=3584; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=iP4zijc+0oImYIgMWRAnDk4Y42IBhhfOw1SU6GRxsDU=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlHtipNX+EWwnL9U95vztt+CkfSnn95eSOMJ4PL+HnUF YlvGk7fO2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiLdIMczidDJ4Fcr5+ssza aJPPCWGTe/ZVexjmZ7geZEvfxXjt1uHMsLZ7RQzO2Z0+AA== 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_scpi: reject DVFS OPP count above MAX_DVFS_OPPS scpi_dvfs_get_info() already rejected a zero opp_count, but still trusted any larger value from the SCP firmware. The shared-memory reply only holds MAX_DVFS_OPPS entries in buf.opps[]; a bigger count over-reads that array and then sizes the allocated OPP table incorrectly (garbage OPPs / OOB). The missing upper bound dates back to the original SCPI DVFS support. Reject zero and out-of-range counts in one check and return -EINVAL. The Linux kernel CVE team has assigned CVE-2026-98363 to this issue. Affected and fixed versions =========================== Issue introduced in 4.4 with commit 8cb7cf56c9fe5412de238465b27ef35b4d2801aa and fixed in 5.10.271 with commit e9887eeaa138c6b5697af3d2f7c71dc82407b154 Issue introduced in 4.4 with commit 8cb7cf56c9fe5412de238465b27ef35b4d2801aa and fixed in 5.15.222 with commit 1aadbef648e92ca642125f188f99b0a26628e3ba Issue introduced in 4.4 with commit 8cb7cf56c9fe5412de238465b27ef35b4d2801aa and fixed in 6.1.189 with commit 7daaa684097377b66b98a832de307688a7f3bbc7 Issue introduced in 4.4 with commit 8cb7cf56c9fe5412de238465b27ef35b4d2801aa and fixed in 6.6.158 with commit f17865332cc4ceaac846bcd7c28badbaedfabeff Issue introduced in 4.4 with commit 8cb7cf56c9fe5412de238465b27ef35b4d2801aa and fixed in 6.12.112 with commit 0130f9ad3974a5b2ad0fa03d0b300a9fb83ed901 Issue introduced in 4.4 with commit 8cb7cf56c9fe5412de238465b27ef35b4d2801aa and fixed in 6.18.54 with commit 69ec03cd481973e4be44a7158ed6c0fa06a9a5f9 Issue introduced in 4.4 with commit 8cb7cf56c9fe5412de238465b27ef35b4d2801aa and fixed in 7.2.8 with commit cc563a59aded6f3b02d75dcc3c0bc5e90755d99e Issue introduced in 4.4 with commit 8cb7cf56c9fe5412de238465b27ef35b4d2801aa and fixed in 7.3-rc4 with commit 32471d84a487c7fd74532bc96be56f8028cf4a3f 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-98363 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_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/e9887eeaa138c6b5697af3d2f7c71dc82407b154 https://git.kernel.org/stable/c/1aadbef648e92ca642125f188f99b0a26628e3ba https://git.kernel.org/stable/c/7daaa684097377b66b98a832de307688a7f3bbc7 https://git.kernel.org/stable/c/f17865332cc4ceaac846bcd7c28badbaedfabeff https://git.kernel.org/stable/c/0130f9ad3974a5b2ad0fa03d0b300a9fb83ed901 https://git.kernel.org/stable/c/69ec03cd481973e4be44a7158ed6c0fa06a9a5f9 https://git.kernel.org/stable/c/cc563a59aded6f3b02d75dcc3c0bc5e90755d99e https://git.kernel.org/stable/c/32471d84a487c7fd74532bc96be56f8028cf4a3f