Description
In the Linux kernel, the following vulnerability has been resolved: clk: microchip: mpfs-ccc: fix out of bounds access during output registration UBSAN reported an out of bounds access during registration of the last two outputs. This out of bounds access occurs because space is only allocated in the hws array for two PLLs and the four output dividers that each has, but the defined IDs contain two DLLS and their two outputs each, which are not supported by the driver. The ID order is PLLs -> DLLs -> PLL outputs -> DLL outputs. Decrement the PLL output IDs by two while adding them to the array to avoid the problem.
Product status
d39fb172760e426e0628f16b785c85e16d17bd5e (git) before 9ed9b580a814773482c0a4f1be045636e68cc109
d39fb172760e426e0628f16b785c85e16d17bd5e (git) before 47bc7a03449c39805bc2665d3e57c73195d5bcf8
d39fb172760e426e0628f16b785c85e16d17bd5e (git) before dbfcb09656cb30439577325c9dea2250203c2e3c
d39fb172760e426e0628f16b785c85e16d17bd5e (git) before a0780aeea166a7cf4706c45af4cadbb2a43a1fc9
d39fb172760e426e0628f16b785c85e16d17bd5e (git) before f24efd415455b98a1f1cfc6071fe6fde71986706
d39fb172760e426e0628f16b785c85e16d17bd5e (git) before 2f7ae8ab6aa73daaf080d5332110357c29df9c36
6.1
Any version before 6.1
6.1.175 (semver)
6.6.140 (semver)
6.12.88 (semver)
6.18.30 (semver)
7.0.7 (semver)
7.1-rc1 (original_commit_for_fix)
References
git.kernel.org/...c/9ed9b580a814773482c0a4f1be045636e68cc109
git.kernel.org/...c/47bc7a03449c39805bc2665d3e57c73195d5bcf8
git.kernel.org/...c/dbfcb09656cb30439577325c9dea2250203c2e3c
git.kernel.org/...c/a0780aeea166a7cf4706c45af4cadbb2a43a1fc9
git.kernel.org/...c/f24efd415455b98a1f1cfc6071fe6fde71986706
git.kernel.org/...c/2f7ae8ab6aa73daaf080d5332110357c29df9c36