aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/xarray.c
diff options
context:
space:
mode:
authorRadim Krčmář <[email protected]>2025-04-03 11:25:24 +0000
committerAnup Patel <[email protected]>2025-05-01 12:56:14 +0000
commit87ec7d5249bb8ebf40261420da069fa238c21789 (patch)
tree7cce479079f8b04f8b2bac65b701e29079de5c21 /rust/helpers/xarray.c
parentLinux 6.15-rc4 (diff)
downloadkernel-87ec7d5249bb8ebf40261420da069fa238c21789.tar.gz
kernel-87ec7d5249bb8ebf40261420da069fa238c21789.zip
KVM: RISC-V: reset smstateen CSRs
Not resetting smstateen is a potential security hole, because VU might be able to access state that VS does not properly context-switch. Fixes: 81f0f314fec9 ("RISCV: KVM: Add sstateen0 context save/restore") Signed-off-by: Radim Krčmář <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Anup Patel <[email protected]>
Diffstat (limited to 'rust/helpers/xarray.c')
0 files changed, 0 insertions, 0 deletions