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.
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
d39fb172760e426e0628f16b785c85e16d17bd5e to < 9ed9b580a814773482c0a4f1be045636e68cc109affectedd39fb172760e426e0628f16b785c85e16d17bd5e to < 47bc7a03449c39805bc2665d3e57c73195d5bcf8affectedd39fb172760e426e0628f16b785c85e16d17bd5e to < dbfcb09656cb30439577325c9dea2250203c2e3caffectedd39fb172760e426e0628f16b785c85e16d17bd5e to < a0780aeea166a7cf4706c45af4cadbb2a43a1fc9affectedd39fb172760e426e0628f16b785c85e16d17bd5e to < f24efd415455b98a1f1cfc6071fe6fde71986706affectedd39fb172760e426e0628f16b785c85e16d17bd5e to < 2f7ae8ab6aa73daaf080d5332110357c29df9c36affected
Linux Linux
Default version status: affected
6.1affected0 to < 6.1unaffected6.1.175 to ≤ 6.1.*unaffected6.6.140 to ≤ 6.6.*unaffected6.12.88 to ≤ 6.12.*unaffected6.18.30 to ≤ 6.18.*unaffected7.0.7 to ≤ 7.0.*unaffected7.1 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/9ed9b580a814773482c0a4f1be045636e68cc109 ↗
- https://git.kernel.org/stable/c/47bc7a03449c39805bc2665d3e57c73195d5bcf8 ↗
- https://git.kernel.org/stable/c/dbfcb09656cb30439577325c9dea2250203c2e3c ↗
- https://git.kernel.org/stable/c/a0780aeea166a7cf4706c45af4cadbb2a43a1fc9 ↗
- https://git.kernel.org/stable/c/f24efd415455b98a1f1cfc6071fe6fde71986706 ↗
- https://git.kernel.org/stable/c/2f7ae8ab6aa73daaf080d5332110357c29df9c36 ↗