# CVE-2025-37948: arm64: bpf: Add BHB mitigation to the epilogue for cBPF programs

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 12% of CVEs (2026-12-01)
- Published: 2025-05-20T16:01:44.452Z
- Modified: 2026-11-05T21:17:59.223Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 0be7320a635c2e434e8b67e0e9474a85ceb421c4 before c6a8735d841bcb7649734bb3a787bb174c67c0d8; from 0be7320a635c2e434e8b67e0e9474a85ceb421c4 before 993f63239c219696aef8887a4e7d3a16bf5a8ece; from 0be7320a635c2e434e8b67e0e9474a85ceb421c4 before 8fe5c37b0e08a97cf0210bb75970e945aaaeebab; from 0be7320a635c2e434e8b67e0e9474a85ceb421c4 before 42a20cf51011788f04cf2adbcd7681f02bdb6c27; from 0be7320a635c2e434e8b67e0e9474a85ceb421c4 before 38c345fd54afd9d6ed8d3fcddf3f6ea23887bf78; from 0be7320a635c2e434e8b67e0e9474a85ceb421c4 before 852b8ae934b5cbdc62496fa56ce9969aa2edda7f; from 0be7320a635c2e434e8b67e0e9474a85ceb421c4 before 0dfefc2ea2f29ced2416017d7e5b1253a54c2735; 3.7 (not affected: before 3.7; from 5.10.239 up to 5.10.*; from 5.15.186 up to 5.15.*; from 6.1.139 up to 6.1.*; from 6.6.91 up to 6.6.*; from 6.12.29 up to 6.12.*; from 6.14.7 up to 6.14.*; from 6.15 up to *)
- linux linux_kernel: before 5.10.239; from 5.11 before 5.15.186; from 5.16 before 6.1.139; from 6.2 before 6.6.91; from 6.7 before 6.12.29; from 6.13 before 6.14.7; 6.15
- debian debian_linux: 11.0

## References

- <https://git.kernel.org/stable/c/c6a8735d841bcb7649734bb3a787bb174c67c0d8> (patch)
- <https://git.kernel.org/stable/c/993f63239c219696aef8887a4e7d3a16bf5a8ece> (patch)
- <https://git.kernel.org/stable/c/8fe5c37b0e08a97cf0210bb75970e945aaaeebab> (patch)
- <https://git.kernel.org/stable/c/42a20cf51011788f04cf2adbcd7681f02bdb6c27> (patch)
- <https://git.kernel.org/stable/c/38c345fd54afd9d6ed8d3fcddf3f6ea23887bf78> (patch)
- <https://git.kernel.org/stable/c/852b8ae934b5cbdc62496fa56ce9969aa2edda7f> (patch)
- <https://git.kernel.org/stable/c/0dfefc2ea2f29ced2416017d7e5b1253a54c2735> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html> (third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2025/08/msg00010.html> (third-party-advisory)

## Sources

- CVE List: [CVE-2025-37948](https://www.cve.org/CVERecord?id=CVE-2025-37948), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2025-37948](https://nvd.nist.gov/vuln/detail/CVE-2025-37948), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2025-37948 · Whole record: https://cve.day/CVE-2025-37948.json · Rebuilt by cve.day 2026-11-25T22:58:58.302Z
