Skip to contentSkip to conversation

CVE-2026-98363: firmware: arm_scpi: reject DVFS OPP count above MAX_DVFS_OPPS

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Oct 6

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

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