diff options
| author | James Morse <james.morse@arm.com> | 2021-12-09 15:13:24 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-05-18 08:26:08 +0200 |
| commit | 852b8ae934b5cbdc62496fa56ce9969aa2edda7f (patch) | |
| tree | 38b8c7d4046dcd6bba058fc7dd3ff064f5fa97f6 /include/net/aligned_data.h | |
| parent | 00565e8c0860e99b475fd33c0539aaa8a4e5c066 (diff) | |
arm64: bpf: Add BHB mitigation to the epilogue for cBPF programs
commit 0dfefc2ea2f29ced2416017d7e5b1253a54c2735 upstream.
A malicious BPF program may manipulate the branch history to influence
what the hardware speculates will happen next.
On exit from a BPF program, emit the BHB mititgation sequence.
This is only applied for 'classic' cBPF programs that are loaded by
seccomp.
Signed-off-by: James Morse <james.morse@arm.com>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/net/aligned_data.h')
0 files changed, 0 insertions, 0 deletions
