Linux
clk: microchip: mpfs-ccc: fix out of bounds access during output registration
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- >= d39fb172760e426e0628f16b785c85e16d17bd5e, < 9ed9b580a814773482c0a4f1be045636e68cc109
- >= d39fb172760e426e0628f16b785c85e16d17bd5e, < 47bc7a03449c39805bc2665d3e57c73195d5bcf8
- >= d39fb172760e426e0628f16b785c85e16d17bd5e, < dbfcb09656cb30439577325c9dea2250203c2e3c
- >= d39fb172760e426e0628f16b785c85e16d17bd5e, < a0780aeea166a7cf4706c45af4cadbb2a43a1fc9
- >= d39fb172760e426e0628f16b785c85e16d17bd5e, < f24efd415455b98a1f1cfc6071fe6fde71986706
- >= d39fb172760e426e0628f16b785c85e16d17bd5e, < 2f7ae8ab6aa73daaf080d5332110357c29df9c36
Fixed in 9ed9b580a814773482c0a4f1be045636e68cc109, 47bc7a03449c39805bc2665d3e57c73195d5bcf8, dbfcb09656cb30439577325c9dea2250203c2e3c, a0780aeea166a7cf4706c45af4cadbb2a43a1fc9, f24efd415455b98a1f1cfc6071fe6fde71986706, 2f7ae8ab6aa73daaf080d5332110357c29df9c36
- 6.1
Fixed in 0, 6.1.175, 6.6.140, 6.12.88, 6.18.30, 7.0.7, 7.1
Mitigation
Upgrade Linux to 9ed9b580a814773482c0a4f1be045636e68cc109 or 47bc7a03449c39805bc2665d3e57c73195d5bcf8 or dbfcb09656cb30439577325c9dea2250203c2e3c or a0780aeea166a7cf4706c45af4cadbb2a43a1fc9 or f24efd415455b98a1f1cfc6071fe6fde71986706 or 2f7ae8ab6aa73daaf080d5332110357c29df9c36 or later.
Upgrade Linux to 0 or 6.1.175 or 6.6.140 or 6.12.88 or 6.18.30 or 7.0.7 or 7.1 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.