Skip to content

[PW_SID:1059009] RISC-V: KVM: fix off-by-one array access in SBI PMU#1518

Closed
linux-riscv-bot wants to merge 1 commit into
workflow__riscv__fixesfrom
pw1059009
Closed

[PW_SID:1059009] RISC-V: KVM: fix off-by-one array access in SBI PMU#1518
linux-riscv-bot wants to merge 1 commit into
workflow__riscv__fixesfrom
pw1059009

Conversation

@linux-riscv-bot
Copy link
Copy Markdown

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

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>
@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "RISC-V: KVM: fix off-by-one array access in SBI PMU"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 136.18 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "RISC-V: KVM: fix off-by-one array access in SBI PMU"
build-rv64-clang-allmodconfig
Desc: Builds riscv64 allmodconfig with Clang, and checks for errors and added warnings
Duration: 1023.08 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "RISC-V: KVM: fix off-by-one array access in SBI PMU"
build-rv64-gcc-allmodconfig
Desc: Builds riscv64 allmodconfig with GCC, and checks for errors and added warnings
Duration: 1390.20 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "RISC-V: KVM: fix off-by-one array access in SBI PMU"
build-rv64-nommu-k210-defconfig
Desc: Builds riscv64 defconfig with NOMMU for K210
Duration: 26.79 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "RISC-V: KVM: fix off-by-one array access in SBI PMU"
build-rv64-nommu-k210-virt
Desc: Builds riscv64 defconfig with NOMMU for the virt platform
Duration: 27.81 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "RISC-V: KVM: fix off-by-one array access in SBI PMU"
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 0.77 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "RISC-V: KVM: fix off-by-one array access in SBI PMU"
dtb-warn-rv64
Desc: Checks for Device Tree warnings/errors
Duration: 84.92 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "RISC-V: KVM: fix off-by-one array access in SBI PMU"
header-inline
Desc: Detects static functions without inline keyword in header files
Duration: 0.38 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "RISC-V: KVM: fix off-by-one array access in SBI PMU"
kdoc
Desc: Detects for kdoc errors
Duration: 0.90 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "RISC-V: KVM: fix off-by-one array access in SBI PMU"
module-param
Desc: Detect module_param changes
Duration: 0.23 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "RISC-V: KVM: fix off-by-one array access in SBI PMU"
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 0.26 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "RISC-V: KVM: fix off-by-one array access in SBI PMU"
verify-signedoff
Desc: Verifies that Signed-off-by: tags are correct
Duration: 0.29 seconds
Result: PASS

@linux-riscv-bot linux-riscv-bot deleted the pw1059009 branch March 7, 2026 01:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant