Description
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().
Product status
e4b1d67e71419c4af581890ecea84b04920d4116 (git) before 95438699c92947155823dcd3918049a07f3cd867
e4b1d67e71419c4af581890ecea84b04920d4116 (git) before 0442b6229e2eedc95a6d3d18ce75dec7f5b5377c
e4b1d67e71419c4af581890ecea84b04920d4116 (git) before f7c330a8c83c9b0332fd524097eaf3e69148164d
6.14
Any version before 6.14
6.18.16 (semver)
6.19.6 (semver)
7.0 (original_commit_for_fix)
References
git.kernel.org/...c/95438699c92947155823dcd3918049a07f3cd867
git.kernel.org/...c/0442b6229e2eedc95a6d3d18ce75dec7f5b5377c
git.kernel.org/...c/f7c330a8c83c9b0332fd524097eaf3e69148164d