CVE-2025-37948

arm64: bpf: Add BHB mitigation to the epilogue for cBPF programs

MEDIUM
5.5
CVSS Score
Published: May 20, 2025 at 04:01 PM UTC
Updated: June 17, 2026 at 09:15 AM UTC
2 products affected across 2 vendorsLinux KernelDebian Linux

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 5.10.2393.7 ≤ v < 5.10.2393.7 ≤ v < 5.15.1863.7 ≤ v < 6.1.1393.7 ≤ v < 6.12.293.7 ≤ v < 6.14.73.7 ≤ v < 6.153.7 ≤ v < 6.6.915.11 ≤ v < 5.15.1865.16 ≤ v < 6.1.1396.13 ≤ v < 6.14.76.2 ≤ v < 6.6.916.7 ≤ v < 6.12.290be7320a635c2e434e8b67e0e9474a85ceb421c43.76.15 rc16.15 rc26.15 rc36.15 rc46.15 rc56.15 rc6
Vendor states this is fixed in 0dfefc2ea2f29ced2416017d7e5b1253a54c2735 (fixed)
Vendor states this is fixed in 38c345fd54afd9d6ed8d3fcddf3f6ea23887bf78 (fixed)
Vendor states this is fixed in 42a20cf51011788f04cf2adbcd7681f02bdb6c27 (fixed)
Vendor states this is fixed in 852b8ae934b5cbdc62496fa56ce9969aa2edda7f (fixed)
Vendor states this is fixed in 8fe5c37b0e08a97cf0210bb75970e945aaaeebab (fixed)
Vendor states this is fixed in 993f63239c219696aef8887a4e7d3a16bf5a8ece (fixed)
Vendor states this is fixed in c6a8735d841bcb7649734bb3a787bb174c67c0d8 (fixed)
Vendor states this is fixed in 3.7 (unaffected)
Vendor states this is fixed in 5.10.239 (unaffected)
Vendor states this is fixed in 5.15.186 (unaffected)
Vendor states this is fixed in 6.1.139 (unaffected)
Vendor states this is fixed in 6.12.29 (unaffected)
Vendor states this is fixed in 6.14.7 (unaffected)
Vendor states this is fixed in 6.15 (unaffected)
Vendor states this is fixed in 6.6.91 (unaffected)

References (9)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0dfefc2ea2f29ced2416017d7e5b1253a54c2735
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/38c345fd54afd9d6ed8d3fcddf3f6ea23887bf78
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/42a20cf51011788f04cf2adbcd7681f02bdb6c27
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/852b8ae934b5cbdc62496fa56ce9969aa2edda7f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8fe5c37b0e08a97cf0210bb75970e945aaaeebab
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/993f63239c219696aef8887a4e7d3a16bf5a8ece
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c6a8735d841bcb7649734bb3a787bb174c67c0d8
Third Party Advisory
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2025/08/msg00010.html

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card