summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorBibo Mao <maobibo@loongson.cn>2025-06-27 13:27:44 +0300
committerHuacai Chen <chenhuacai@loongson.cn>2025-06-27 13:27:44 +0300
commitcc8d5b209e09d3b52bca1ffe00045876842d96ae (patch)
tree21eef6f0ed202be0cc1e7380fd9c3cb86e461f53 /tools/perf/scripts/python/exported-sql-viewer.py
parent45515c643d0abb75c2cc760a6bc6b235eadafd66 (diff)
downloadlinux-cc8d5b209e09d3b52bca1ffe00045876842d96ae.tar.xz
LoongArch: KVM: Check validity of "num_cpu" from user space
The maximum supported cpu number is EIOINTC_ROUTE_MAX_VCPUS about irqchip EIOINTC, here add validation about cpu number to avoid array pointer overflow. Cc: stable@vger.kernel.org Fixes: 1ad7efa552fd ("LoongArch: KVM: Add EIOINTC user mode read and write functions") Signed-off-by: Bibo Mao <maobibo@loongson.cn> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions