summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/autoload.c
diff options
context:
space:
mode:
authorPawan Gupta <pawan.kumar.gupta@linux.intel.com>2025-08-14 20:20:43 +0300
committerDave Hansen <dave.hansen@linux.intel.com>2025-08-14 20:38:18 +0300
commitb7cc9887231526ca4fa89f3fa4119e47c2dc7b1e (patch)
tree515fb05671f3c725228463ae988c790aa43e1982 /tools/testing/selftests/bpf/prog_tests/autoload.c
parent6449f5baf9c78a7a442d64f4a61378a21c5db113 (diff)
downloadlinux-b7cc9887231526ca4fa89f3fa4119e47c2dc7b1e.tar.xz
x86/vmscape: Warn when STIBP is disabled with SMT
Cross-thread attacks are generally harder as they require the victim to be co-located on a core. However, with VMSCAPE the adversary targets belong to the same guest execution, that are more likely to get co-located. In particular, a thread that is currently executing userspace hypervisor (after the IBPB) may still be targeted by a guest execution from a sibling thread. Issue a warning about the potential risk, except when: - SMT is disabled - STIBP is enabled system-wide - Intel eIBRS is enabled (which implies STIBP protection) Signed-off-by: Pawan Gupta <pawan.kumar.gupta@linux.intel.com> Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions