В ядре Linux была устранена следующая уязвимость: remoteproc: qcom_wcnss: Исправление отсутствия регуляторов PD в v3 Изменения, внесенные для обработки платформ с одним силовым доменом, поменяли приращение указателя информации с num_pd_vregs на num_pds, что сместило бы указатель информации за конец массива для pronto-v3, который не перечисляет регуляторы силового домена в vregs. Это проявилось как разница между ядрами, составленными из GCC и LLVM, на устройствах SDM632, где только с LLVM можно было получить ошибку «запрос регулятора без идентификатора», потому что память out-of-bounds в конечном итоге была обнулена. Исправьте, пропуская приращение, когда есть больше доменов власти, чем регуляторов.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: remoteproc: qcom_wcnss: Fix handling the lack of PD regulators in v3 The changes introduced to handle single power domain platforms have swapped the info pointer increment from num_pd_vregs to num_pds, which would shift the info pointer past the end of the array for pronto-v3, which does not list power domain regulators in vregs. This showed up as a difference between GCC- and LLVM-compiled kernels on SDM632 devices, where only with LLVM one would get the "regulator request with no identifier" error, because the out-of-bounds memory ended up being zeroed. Fix by skipping the increment when there are more power domains than regulators.