CVE-2025-37948 arm64: bpf: Add BHB mitigation to the epilogue for cBPF programs
A missing Branch History Buffer mitigation in the Linux kernel's cBPF epilogue allows malicious programs to influence hardware speculation, bypassing Spectre-BHB protections.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-37948?
CVE-2025-37948 is a medium-severity vulnerability in Debian Debian Linux, published on 20 May 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Which versions are affected by CVE-2025-37948?
It affects 2 products.
Products include Debian Debian Linux, Linux kernel.
How do I fix CVE-2025-37948?
Apply the vendor's patch.
Is CVE-2025-37948 being exploited?
There is no known exploitation of CVE-2025-37948 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as BELL-CVE-2025-37948, DEBIAN-CVE-2025-37948, GHSA-3g6h-mcpv-p279, ROOT-OS-DEBIAN-11-CVE-2025-37948, ROOT-OS-DEBIAN-12-CVE-2025-37948, ROOT-OS-UBUNTU-2204-CVE-2025-37948 and 2 more.