aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/autoload.c
diff options
context:
space:
mode:
authorJohannes Wikner <[email protected]>2024-09-23 20:49:36 +0200
committerBorislav Petkov (AMD) <[email protected]>2024-10-10 10:35:27 +0200
commit50e4b3b94090babe8d4bb85c95f0d3e6b07ea86e (patch)
tree5bf24bfdf5c982ad990378274a5c8330a3c7a2f8 /tools/testing/selftests/bpf/prog_tests/autoload.c
parent3ea87dfa31a7b0bb0ff1675e67b9e54883013074 (diff)
x86/entry: Have entry_ibpb() invalidate return predictions
entry_ibpb() should invalidate all indirect predictions, including return target predictions. Not all IBPB implementations do this, in which case the fallback is RSB filling. Prevent SRSO-style hijacks of return predictions following IBPB, as the return target predictor can be corrupted before the IBPB completes. [ bp: Massage. ] Signed-off-by: Johannes Wikner <[email protected]> Signed-off-by: Borislav Petkov (AMD) <[email protected]> Cc: <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions