diff options
author | Bibo Mao <maobibo@loongson.cn> | 2025-06-26 20:07:27 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-07-06 11:04:11 +0200 |
commit | 2cc84c4b0d70d42e291862ecc848890d18e1004a (patch) | |
tree | 43ccf630605d5d75ad794609c56c1d13813aa9c3 /tools/perf/scripts/python/mem-phys-addr.py | |
parent | 7c89f1865208cdb5ebec1b5b136004db2e247f20 (diff) |
LoongArch: KVM: Avoid overflow with array index
commit 080e8d2ecdfde588897aa8a87a8884061f4dbbbb upstream.
The variable index is modified and reused as array index when modify
register EIOINTC_ENABLE. There will be array index overflow problem.
Cc: stable@vger.kernel.org
Fixes: 3956a52bc05b ("LoongArch: KVM: Add EIOINTC read and write functions")
Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions