aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorCharlie Jenkins <[email protected]>2024-11-14 02:21:20 +0000
committerPalmer Dabbelt <[email protected]>2025-01-18 20:33:39 +0000
commit4bf97069239bcfca9840936313c7ac35a6e04488 (patch)
tree32084ed1af940bb069b25c8bb58c855212cff94c /net/unix/af_unix.c
parentselftests: riscv: Support xtheadvector in vector tests (diff)
downloadkernel-4bf97069239bcfca9840936313c7ac35a6e04488.tar.gz
kernel-4bf97069239bcfca9840936313c7ac35a6e04488.zip
riscv: Add ghostwrite vulnerability
Follow the patterns of the other architectures that use GENERIC_CPU_VULNERABILITIES for riscv to introduce the ghostwrite vulnerability and mitigation. The mitigation is to disable all vector which is accomplished by clearing the bit from the cpufeature field. Ghostwrite only affects thead c9xx CPUs that impelment xtheadvector, so the vulerability will only be mitigated on these CPUs. Signed-off-by: Charlie Jenkins <[email protected]> Tested-by: Yangyu Chen <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions