arm64: Add cavium_erratum_23154_cpus missing sentinel
PATCH 1/1 arm64: Add cavium_erratum_23154_cpus missing sentinel
Qian Cai reported that playing with CPU hotplug resulted in a out-of-bound access due to cavium_erratum_23154_cpus missing a sentinel indicating the end of the array.
Add it in order to restore peace and harmony in the world of broken HW.
Reported-by Qian Cai <[email protected]>
Signed-off-by Marc Zyngier <[email protected]>
Fixes 24a147bcef8c ("irqchip/gic-v3: Workaround Marvell erratum 38545 when reading IAR")
Cc Linu Cherian <[email protected]>
Cc Will Deacon <[email protected]>
--- arch/arm64/kernel/cpu_errata.c | 1 + 1 file changed, 1 insertion(+)
arch/arm64/kernel/cpu_errata.c +1 -0
@@ -225,6 +225,7 @@ const struct midr_range cavium_erratum_23154_cpus[] = {MIDR_ALL_VERSIONS (MIDR_OCTX2_95XXN ),MIDR_ALL_VERSIONS (MIDR_OCTX2_95XXMM ), MIDR_ALL_VERSIONS(MIDR_OCTX2_95XXO), + {}, };#endif
Signature · 7 lines
2.34.1 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Quoted 8 lines · Marc Zyngier
Qian Cai reported that playing with CPU hotplug resulted in a out-of-bound access due to
cavium_erratum_23154_cpusmissing a sentinel indicating the end of the array.Add it in order to restore peace and harmony in the world of broken HW.
[...]
Applied to arm64 (for-next/errata), thanks!
[1/1] arm64: Add cavium_erratum_23154_cpus missing sentinel
https://git.kernel.org/arm64/c/f90205b95368
Cheers,
Signature · 10 lines
Will https://fixes.arm64.dev https://next.arm64.dev https://will.arm64.dev _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel