Re: [PATCH] RISC-V: KVM: fix off-by-one array access in SBI PMU
From: patchwork-bot+linux-riscv
Date: Tue Mar 24 2026 - 02:20:07 EST
Hello:
This patch was applied to riscv/linux.git (for-next)
by Anup Patel <anup@xxxxxxxxxxxxxx>:
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@xxxxxxxxxxxxxxxx>
>
> [...]
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