+13
−4
Loading
User-controlled indices are used to index into floating-point registers. 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-3-192caab8e0dc@cispa.de Signed-off-by:
Anup Patel <anup@brainfault.org>