summaryrefslogtreecommitdiff
path: root/scripts/rt-tester/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorLukas Gerlach <lukas.gerlach@cispa.de>2026-03-03 15:19:41 +0100
committerAnup Patel <anup@brainfault.org>2026-03-06 11:20:30 +0530
commitf9e26fc325411a34555ad07ddf0a19ff72ea06d4 (patch)
tree500a0d3fd33182bec11e693aeab46ba8ea2ba472 /scripts/rt-tester/git@git.tavy.me:linux.git
parentb342166cbcf96a8c846db96529e75dc2d2420d58 (diff)
KVM: riscv: Fix Spectre-v1 in ONE_REG register access
User-controlled register indices from the ONE_REG ioctl are used to index into arrays of register values. Sanitize them with array_index_nospec() to prevent speculative out-of-bounds access. Reviewed-by: Radim Krčmář <radim.krcmar@oss.qualcomm.com> Signed-off-by: Lukas Gerlach <lukas.gerlach@cispa.de> Link: https://lore.kernel.org/r/20260303-kvm-riscv-spectre-v1-v2-1-192caab8e0dc@cispa.de Signed-off-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'scripts/rt-tester/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions