CVE-2025-37948
kernel: arm64: bpf: Add BHB mitigation to the epilogue for cBPF programs
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · May 20, 2025
Updated · June 30, 2026
Description
In the Linux kernel, the following vulnerability has been resolved:
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.
Statement
Adds missing Spectre-BHB mitigation for cBPF programs on ARM64. The security impact is limited, because this is Low-risk side-channel vector: no direct exploit, but mitigates theoretical data leaks from seccomp-loaded filters.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 2.5CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
CWE not specified