In the Linux kernel, the following vulnerability has been resolved: mailbox: mchp-ipc-sbi: fix out-of-bounds access in mchp_ipc_get_cluster_aggr_irq() The cluster_cfg array is dynamically allocated to hold per-CPU configuration structures, with its size based on the number of online CPUs. Previously, this array was indexed using hartid, which may be non-contiguous or exceed the bounds of the array, leading to out-of-bounds access. Switch to using cpuid as the index, as it is guaranteed to be within the valid range provided by for_each_online_cpu().
https://git.kernel.org/stable/c/f7c330a8c83c9b0332fd524097eaf3e69148164d
https://git.kernel.org/stable/c/95438699c92947155823dcd3918049a07f3cd867
https://git.kernel.org/stable/c/0442b6229e2eedc95a6d3d18ce75dec7f5b5377c