firmware: arm_scpi: reject DVFS OPP count above MAX_DVFS_OPPS
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel f17865332cc4ceaac846bcd7c28badbaedfabeff, Kernel 0130f9ad3974a5b2ad0fa03d0b300a9fb83ed901, Kernel 1aadbef648e92ca642125f188f99b0a26628e3ba and 12 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=8cb7cf56c9fe5412de238465b27ef35b4d2801aa <f17865332cc4ceaac846bcd7c28badbaedfabeff, >=8cb7cf56c9fe5412de238465b27ef35b4d2801aa <0130f9ad3974a5b2ad0fa03d0b300a9fb83ed901, >=8cb7cf56c9fe5412de238465b27ef35b4d2801aa <1aadbef648e92ca642125f188f99b0a26628e3ba, >=8cb7cf56c9fe5412de238465b27ef35b4d2801aa <32471d84a487c7fd74532bc96be56f8028cf4a3f, >=8cb7cf56c9fe5412de238465b27ef35b4d2801aa <69ec03cd481973e4be44a7158ed6c0fa06a9a5f9, >=8cb7cf56c9fe5412de238465b27ef35b4d2801aa <7daaa684097377b66b98a832de307688a7f3bbc7, >=8cb7cf56c9fe5412de238465b27ef35b4d2801aa <cc563a59aded6f3b02d75dcc3c0bc5e90755d99e, >=8cb7cf56c9fe5412de238465b27ef35b4d2801aa <e9887eeaa138c6b5697af3d2f7c71dc82407b154, =4.4 | f17865332cc4ceaac846bcd7c28badbaedfabeff, 0130f9ad3974a5b2ad0fa03d0b300a9fb83ed901, 1aadbef648e92ca642125f188f99b0a26628e3ba, 32471d84a487c7fd74532bc96be56f8028cf4a3f, 69ec03cd481973e4be44a7158ed6c0fa06a9a5f9, 7daaa684097377b66b98a832de307688a7f3bbc7, cc563a59aded6f3b02d75dcc3c0bc5e90755d99e, e9887eeaa138c6b5697af3d2f7c71dc82407b154 |
| linux-kernel: Kernel | >=5.11.0 <5.15.222, >=5.16.0 <6.1.189, >=6.13.0 <6.18.54, >=6.19.0 <7.2.8, >=6.2.0 <6.6.158, >=6.7.0 <6.12.112, >=4.4.0 <5.10.271 | 5.15.222, 6.1.189, 6.18.54, 7.2.8, 6.6.158, 6.12.112, 5.10.271 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket