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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
8cb7cf56c9fe5412de238465b27ef35b4d2801aa to < e9887eeaa138c6b5697af3d2f7c71dc82407b154affected8cb7cf56c9fe5412de238465b27ef35b4d2801aa to < 1aadbef648e92ca642125f188f99b0a26628e3baaffected8cb7cf56c9fe5412de238465b27ef35b4d2801aa to < 7daaa684097377b66b98a832de307688a7f3bbc7affected8cb7cf56c9fe5412de238465b27ef35b4d2801aa to < f17865332cc4ceaac846bcd7c28badbaedfabeffaffected8cb7cf56c9fe5412de238465b27ef35b4d2801aa to < 0130f9ad3974a5b2ad0fa03d0b300a9fb83ed901affected8cb7cf56c9fe5412de238465b27ef35b4d2801aa to < 69ec03cd481973e4be44a7158ed6c0fa06a9a5f9affected8cb7cf56c9fe5412de238465b27ef35b4d2801aa to < cc563a59aded6f3b02d75dcc3c0bc5e90755d99eaffected8cb7cf56c9fe5412de238465b27ef35b4d2801aa to < 32471d84a487c7fd74532bc96be56f8028cf4a3faffected
Linux Linux
Default version status: affected
4.4affected0 to < 4.4unaffected5.10.271 to ≤ 5.10.*unaffected5.15.222 to ≤ 5.15.*unaffected6.1.189 to ≤ 6.1.*unaffected6.6.158 to ≤ 6.6.*unaffected6.12.112 to ≤ 6.12.*unaffected6.18.54 to ≤ 6.18.*unaffected7.2.8 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected
References
- 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 ↗