[PATCH] RISC-V: KVM: fix off-by-one array access in SBI PMU
patchwork-bot+linux-riscv at kernel.org
patchwork-bot+linux-riscv at kernel.org
Mon Mar 23 23:07:39 PDT 2026
Hello:
This patch was applied to riscv/linux.git (for-next)
by Anup Patel <anup at brainfault.org>:
On Fri, 27 Feb 2026 13:46:16 +0000 you wrote:
> 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: 8f0153ecd3bf ("RISC-V: KVM: Add skeleton support for perf")
> Signed-off-by: Radim Krčmář <radim.krcmar at oss.qualcomm.com>
>
> [...]
Here is the summary with links:
- RISC-V: KVM: fix off-by-one array access in SBI PMU
https://git.kernel.org/riscv/c/5c1bb0787111
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
More information about the linux-riscv
mailing list