diff options
| author | James Morse <[email protected]> | 2021-12-09 15:13:24 +0000 |
|---|---|---|
| committer | James Morse <[email protected]> | 2025-05-08 14:28:35 +0000 |
| commit | 0dfefc2ea2f29ced2416017d7e5b1253a54c2735 (patch) | |
| tree | 46fac081ffc5f13e4c0560e4f17a694296d420cf /net/unix/af_unix.c | |
| parent | arm64: proton-pack: Expose whether the branchy loop k value (diff) | |
| download | kernel-0dfefc2ea2f29ced2416017d7e5b1253a54c2735.tar.gz kernel-0dfefc2ea2f29ced2416017d7e5b1253a54c2735.zip | |
arm64: bpf: Add BHB mitigation to the epilogue for cBPF programs
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 <[email protected]>
Reviewed-by: Catalin Marinas <[email protected]>
Acked-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
