diff options
| author | Aristeu Rozanski <aris@redhat.com> | 2026-11-12 10:11:20 -0800 |
|---|---|---|
| committer | Borislav Petkov (AMD) <bp@alien8.de> | 2026-11-12 15:16:31 -0800 |
| commit | a088b092a8962db62327690ae2d0d68827e81229 (patch) | |
| tree | 14202c6a0db5f0fa82606a3e50b1b4934181c4e6 /tools/perf/scripts/python | |
| parent | 7475ea8b58616b33c04afb976cf0fbaad9dd63fb (diff) | |
EDAC/i5000: Fix slot number passed to determine_mtr()
When the logic mapping branch/slot/channel was reworked back in
64e1fdaf55d6 ("i5000_edac: Fix the logic that retrieves memory information")
i5000_init_csrows() was not updated and kept passing twice the number
of slots to determine_mtr(), which leads to accessing past the end of
i5000_pvt.b1_mtr[]. This was found by KASAN.
Fixes: 64e1fdaf55d6 ("i5000_edac: Fix the logic that retrieves memory information")
Signed-off-by: Aristeu Rozanski <aris@redhat.com>
Signed-off-by: Andrew Luebke <andrew.luebke@gmail.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Tested-by: Andrew Luebke <andrew.luebke@gmail.com>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/all/20220921181009.oxytvicy6sry6it7@redhat.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
