CVE-2025-37948

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

State
Published
Severity
Not scored
Published
May 20, 2025
Updated
May 11, 2026
Reserved
Apr 16, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 0be7320a635c2e434e8b67e0e9474a85ceb421c4 to before c6a8735d841bcb7649734bb3a787bb174c67c0d8Affected
  • 0be7320a635c2e434e8b67e0e9474a85ceb421c4 to before 993f63239c219696aef8887a4e7d3a16bf5a8eceAffected
  • 0be7320a635c2e434e8b67e0e9474a85ceb421c4 to before 8fe5c37b0e08a97cf0210bb75970e945aaaeebabAffected
  • 0be7320a635c2e434e8b67e0e9474a85ceb421c4 to before 42a20cf51011788f04cf2adbcd7681f02bdb6c27Affected
  • 0be7320a635c2e434e8b67e0e9474a85ceb421c4 to before 38c345fd54afd9d6ed8d3fcddf3f6ea23887bf78Affected
  • 0be7320a635c2e434e8b67e0e9474a85ceb421c4 to before 852b8ae934b5cbdc62496fa56ce9969aa2edda7fAffected
  • 0be7320a635c2e434e8b67e0e9474a85ceb421c4 to before 0dfefc2ea2f29ced2416017d7e5b1253a54c2735Affected
LinuxLinux
  • 3.7Affected
  • before 3.7Not affected
  • 5.10.239 through 5.10.*Not affected
  • 5.15.186 through 5.15.*Not affected
  • 6.1.139 through 6.1.*Not affected
  • 6.6.91 through 6.6.*Not affected
  • 6.12.29 through 6.12.*Not affected
  • 6.14.7 through 6.14.*Not affected
  • 6.15 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.