[PW_SID:1059009] RISC-V: KVM: fix off-by-one array access in SBI PMU#1518
[PW_SID:1059009] RISC-V: KVM: fix off-by-one array access in SBI PMU#1518linux-riscv-bot wants to merge 1 commit into
Conversation
The indexed array only has RISCV_KVM_MAX_COUNTERS elements. The out-of-bound access could have been performed by a guest, but it could only access another guest accessible data. Fixes: 8f0153e ("RISC-V: KVM: Add skeleton support for perf") Signed-off-by: Radim Krčmář <radim.krcmar@oss.qualcomm.com> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
|
Patch 1: "RISC-V: KVM: fix off-by-one array access in SBI PMU" |
|
Patch 1: "RISC-V: KVM: fix off-by-one array access in SBI PMU" |
|
Patch 1: "RISC-V: KVM: fix off-by-one array access in SBI PMU" |
|
Patch 1: "RISC-V: KVM: fix off-by-one array access in SBI PMU" |
|
Patch 1: "RISC-V: KVM: fix off-by-one array access in SBI PMU" |
|
Patch 1: "RISC-V: KVM: fix off-by-one array access in SBI PMU" |
|
Patch 1: "RISC-V: KVM: fix off-by-one array access in SBI PMU" |
|
Patch 1: "RISC-V: KVM: fix off-by-one array access in SBI PMU" |
|
Patch 1: "RISC-V: KVM: fix off-by-one array access in SBI PMU" |
|
Patch 1: "RISC-V: KVM: fix off-by-one array access in SBI PMU" |
|
Patch 1: "RISC-V: KVM: fix off-by-one array access in SBI PMU" |
|
Patch 1: "RISC-V: KVM: fix off-by-one array access in SBI PMU" |
PR for series 1059009 applied to workflow__riscv__fixes
Name: RISC-V: KVM: fix off-by-one array access in SBI PMU
URL: https://patchwork.kernel.org/project/linux-riscv/list/?series=1059009
Version: 1